From d5fd2d8ea781097ef5e2802bed99a7b0ee9b4d85 Mon Sep 17 00:00:00 2001 From: noisysocks Date: Mon, 8 Feb 2021 03:37:09 +0000 Subject: [PATCH] Editor: Update @wordpress npm packages Update @wordpress npm packages to the latest published versions. This includes block editor bug fixes for WordPress 5.7 beta 2. Fixes #52467. Built from https://develop.svn.wordpress.org/trunk@50235 git-svn-id: http://core.svn.wordpress.org/trunk@49896 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/assets/script-loader-packages.php | 2 +- .../css/dist/block-directory/style-rtl.css | 1 + .../css/dist/block-directory/style.css | 1 + .../css/dist/block-editor/style-rtl.css | 1 + wp-includes/css/dist/block-editor/style.css | 1 + .../css/dist/block-library/common-rtl.css | 1 + wp-includes/css/dist/block-library/common.css | 1 + .../css/dist/block-library/editor-rtl.css | 2 + .../css/dist/block-library/editor-rtl.min.css | 2 +- wp-includes/css/dist/block-library/editor.css | 2 + .../css/dist/block-library/editor.min.css | 2 +- .../css/dist/block-library/style-rtl.css | 7 + .../css/dist/block-library/style-rtl.min.css | 2 +- wp-includes/css/dist/block-library/style.css | 8 + .../css/dist/block-library/style.min.css | 2 +- .../css/dist/block-library/theme-rtl.css | 1 + wp-includes/css/dist/block-library/theme.css | 1 + wp-includes/css/dist/components/style-rtl.css | 1 + wp-includes/css/dist/components/style.css | 1 + wp-includes/css/dist/edit-post/style-rtl.css | 1 + wp-includes/css/dist/edit-post/style.css | 1 + .../css/dist/editor/editor-styles-rtl.css | 1 + wp-includes/css/dist/editor/editor-styles.css | 1 + wp-includes/css/dist/editor/style-rtl.css | 1 + wp-includes/css/dist/editor/style.css | 1 + .../css/dist/format-library/style-rtl.css | 1 + wp-includes/css/dist/format-library/style.css | 1 + .../dist/list-reusable-blocks/style-rtl.css | 1 + .../css/dist/list-reusable-blocks/style.css | 1 + wp-includes/css/dist/nux/style-rtl.css | 1 + wp-includes/css/dist/nux/style.css | 1 + wp-includes/js/dist/block-editor.js | 120 +++++---- wp-includes/js/dist/block-editor.min.js | 2 +- wp-includes/js/dist/block-library.js | 5 +- wp-includes/js/dist/block-library.min.js | 2 +- wp-includes/js/dist/blocks.js | 232 ++++++++++++++++++ wp-includes/js/dist/blocks.min.js | 4 +- wp-includes/js/dist/data.js | 11 +- wp-includes/js/dist/data.min.js | 2 +- wp-includes/version.php | 2 +- 40 files changed, 353 insertions(+), 78 deletions(-) diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index f86df76e33..597e50c383 100644 --- a/wp-includes/assets/script-loader-packages.php +++ b/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'e7e97f7c0a0eb49124f7ca0d9294594a'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '78e0fecb08916ea717fa098886de19de'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'dc0ad12a15f885caa01aaa23eca67c67'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cd3c420b4dbe2c6616328f56fef5fbe6'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8b8f9a773357d01a523f9e9eb4f51d14'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'dd8137ea028ef13098ef0359fa64dda7'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => '0db524b20b65f888afd84a2397970f68'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'fcd6925c0599b3297edf86a3296387f0'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5f11041f01403668dc3caa7456ebb879'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => '8c01e1ec649f3c315ecb39677690d583'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '7fe2d0dda8d6ccc59cb7b3e0bee4ae62'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => 'a3062063414b58afa171e6db8d23f8de'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '7c19d2abfc2efe3b27e641157cb60d95'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => 'fc1c64cd90affd17f96ed0f102bbbdca'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'd431705d6cdccbeed386b0dda3cab9a4'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '1850a54beb5b0cb2bfb0ef1ba6f17987'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '1c2b18d12c0f9c4961d2f53775bb7671'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '345e666bc784cb37ab33b2619aca6a8b'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6cdcf6bbc71e357d5994c55cd0e7d41d'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '72720084dacd3f256dac01a49a5f70b8'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '64799f86a49fcd42493ae76bd0ac54c9'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'd75668a068c0d31632dc101d1cd44ced'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '695654572d53787192fb05c3513be31e'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '3f7bf687e5b5969c24d4dc8195e54cc4'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6e88f593b100fa67d5715e83ccb0b980'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a8ab9618c6f1a96ad61217ed0200c6de'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '1d31ffe0ef9571a924bcf414441d68ac'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '3ab3774bfbcaae9fd629d9e1083762a1'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '5bb4e35231bcd4ef01945f4e85439cb5'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '6ee3dce62767a56a86a9ee06020ed7c6'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '8b2f289f2db39d8bd5bb65d3c353b83e'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'f0887e7d0e7beaa9e6edfdfc0997f11e'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'bbcae332505740be5015cb4a9bafe04d'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '32346a1129f494cf5fd7b37c8d34a949'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '78da6e4567f3f33445866d17c9a48f47'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'c7089b39bfea30b0c21a4e95cb43e959'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5efa8ff78ec0584ddd281db1822292de'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'be5b0b16231fe39e3f7510027e737d44'), 'reusable-blocks.js' => array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '0290627871cb959de00bd75573124cbc'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => '7fbf3496d28e49fb8f9d11e29c010950'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '366be3bf8adeaad17e581903a328ac92'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6a5bf809b3db55934f320a776cee8d6e'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'c298503bf06f4c33082bef8c963ae1d1'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '5fd56aed1746e2cad5cb7e9dc5dd6919'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'ad650e71062ec3ea7059504ba84345a8'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6262ab67d78000ed1c0d3693a399921c'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6d090e5d4c16a4aaced7ea310f2a54d3')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'e7e97f7c0a0eb49124f7ca0d9294594a'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '78e0fecb08916ea717fa098886de19de'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'dc0ad12a15f885caa01aaa23eca67c67'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cd3c420b4dbe2c6616328f56fef5fbe6'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8b8f9a773357d01a523f9e9eb4f51d14'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'dd8137ea028ef13098ef0359fa64dda7'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => 'cf6d101389c9620ade6910e0d83148c5'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '32dd2a0cf46f793a062f3f301b063437'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5f11041f01403668dc3caa7456ebb879'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-shortcode'), 'version' => '314ed1934abfadfbe2207481a1cf4439'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '7fe2d0dda8d6ccc59cb7b3e0bee4ae62'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => 'a3062063414b58afa171e6db8d23f8de'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '7c19d2abfc2efe3b27e641157cb60d95'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '5914a2a52646fcc582f3653f01060a3f'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'd431705d6cdccbeed386b0dda3cab9a4'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '1850a54beb5b0cb2bfb0ef1ba6f17987'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '1c2b18d12c0f9c4961d2f53775bb7671'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '345e666bc784cb37ab33b2619aca6a8b'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6cdcf6bbc71e357d5994c55cd0e7d41d'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '72720084dacd3f256dac01a49a5f70b8'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '64799f86a49fcd42493ae76bd0ac54c9'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'd75668a068c0d31632dc101d1cd44ced'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '695654572d53787192fb05c3513be31e'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '3f7bf687e5b5969c24d4dc8195e54cc4'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6e88f593b100fa67d5715e83ccb0b980'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'a8ab9618c6f1a96ad61217ed0200c6de'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '1d31ffe0ef9571a924bcf414441d68ac'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '3ab3774bfbcaae9fd629d9e1083762a1'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '5bb4e35231bcd4ef01945f4e85439cb5'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '6ee3dce62767a56a86a9ee06020ed7c6'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '8b2f289f2db39d8bd5bb65d3c353b83e'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'f0887e7d0e7beaa9e6edfdfc0997f11e'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'bbcae332505740be5015cb4a9bafe04d'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '32346a1129f494cf5fd7b37c8d34a949'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '78da6e4567f3f33445866d17c9a48f47'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'c7089b39bfea30b0c21a4e95cb43e959'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5efa8ff78ec0584ddd281db1822292de'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'be5b0b16231fe39e3f7510027e737d44'), 'reusable-blocks.js' => array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '0290627871cb959de00bd75573124cbc'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => '7fbf3496d28e49fb8f9d11e29c010950'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '366be3bf8adeaad17e581903a328ac92'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6a5bf809b3db55934f320a776cee8d6e'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'c298503bf06f4c33082bef8c963ae1d1'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '5fd56aed1746e2cad5cb7e9dc5dd6919'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'ad650e71062ec3ea7059504ba84345a8'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '6262ab67d78000ed1c0d3693a399921c'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6d090e5d4c16a4aaced7ea310f2a54d3')); \ No newline at end of file diff --git a/wp-includes/css/dist/block-directory/style-rtl.css b/wp-includes/css/dist/block-directory/style-rtl.css index b180c7409d..a8d399ebea 100644 --- a/wp-includes/css/dist/block-directory/style-rtl.css +++ b/wp-includes/css/dist/block-directory/style-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-directory/style.css b/wp-includes/css/dist/block-directory/style.css index a35ba751f1..a91d045795 100644 --- a/wp-includes/css/dist/block-directory/style.css +++ b/wp-includes/css/dist/block-directory/style.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-editor/style-rtl.css b/wp-includes/css/dist/block-editor/style-rtl.css index 0f6ba14520..b30ed0385d 100644 --- a/wp-includes/css/dist/block-editor/style-rtl.css +++ b/wp-includes/css/dist/block-editor/style-rtl.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-editor/style.css b/wp-includes/css/dist/block-editor/style.css index 2cc2b793fa..927dfdfb83 100644 --- a/wp-includes/css/dist/block-editor/style.css +++ b/wp-includes/css/dist/block-editor/style.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-library/common-rtl.css b/wp-includes/css/dist/block-library/common-rtl.css index 2e29b6ff3c..be7079c5f9 100644 --- a/wp-includes/css/dist/block-library/common-rtl.css +++ b/wp-includes/css/dist/block-library/common-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-library/common.css b/wp-includes/css/dist/block-library/common.css index 067bd9d0bf..a03b496ac2 100644 --- a/wp-includes/css/dist/block-library/common.css +++ b/wp-includes/css/dist/block-library/common.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-library/editor-rtl.css b/wp-includes/css/dist/block-library/editor-rtl.css index c809029722..3bd7aa39e3 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.css +++ b/wp-includes/css/dist/block-library/editor-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors @@ -170,6 +171,7 @@ div[data-type="core/button"] { .wp-block-buttons > .wp-block { margin-right: 0; margin-top: 0.5em; + margin-left: 0.5em; } .wp-block-buttons > .block-list-appender { display: inline-flex; diff --git a/wp-includes/css/dist/block-library/editor-rtl.min.css b/wp-includes/css/dist/block-library/editor-rtl.min.css index 00d51ddb1a..0b20aec954 100644 --- a/wp-includes/css/dist/block-library/editor-rtl.min.css +++ b/wp-includes/css/dist/block-library/editor-rtl.min.css @@ -1 +1 @@ -#start-resizable-editor-section{display:none}ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-right:0;margin-top:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{height:100%}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-right:auto;margin-left:auto}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-right:0;padding-left:0}}[data-align=full] .wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}[data-align=full] .wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-right:0;padding-left:0}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}ol.has-background.has-background,ul.has-background.has-background{padding:1.25em 2.375em}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{display:inline-flex;-ms-grid-row-align:center;align-self:center;width:24px;height:24px}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container{min-height:44px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container,.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__container{opacity:1;visibility:visible}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation-placeholder{min-height:44px}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}.wp-block-navigation-placeholder .components-custom-select-control__button{height:auto;padding:.375rem 1.5rem .375rem .75rem;min-width:13.75rem}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option{position:relative;margin-top:20px}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option:before{content:"";position:absolute;top:-10px;right:25px;left:25px;height:15px;border-top:1px solid #757575}.wp-block-navigation-placeholder .components-custom-select-control__label{margin-bottom:1rem;font-size:13px;font-weight:400}.wp-block-navigation-placeholder .components-custom-select-control__menu{margin:0;max-height:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.wp-block-navigation-placeholder__preview{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;flex-direction:row;align-items:center;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-navigation-placeholder__preview{transition-duration:0s}}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{border-radius:2px;background:currentColor;min-width:72px;height:16px;margin:12px 0 12px 24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.is-selected .wp-block-navigation-placeholder__preview{opacity:.2}.wp-block-navigation-placeholder__controls{padding:4px 8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1}.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 10px 16px 16px}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #ddd}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content>div{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-right:auto;margin-left:auto;text-align:center}.wp-block-site-logo.is-resized{display:table}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-social-links__social-placeholder{transition-duration:0s}}.is-selected .wp-block-social-links__social-placeholder{opacity:.1}.wp-block-social-links__social-placeholder>.wp-social-link{padding-right:0!important;margin-right:0!important;padding-left:0!important;margin-left:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex;position:absolute}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .block-list-appender{display:flex;align-items:center;justify-content:center;margin:0}.wp-block-social-links .block-list-appender:before{content:"";display:block;width:1em;height:1em}.wp-block-social-links .block-list-appender .block-editor-inserter{position:absolute}.wp-block-social-links .block-list-appender .block-editor-button-block-appender.block-list-appender__toggle{margin:0}.wp-block-social-links.is-style-logos-only .block-list-appender{padding:4px}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#555;font-size:1.1em;font-style:italic}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:right}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__block-control-group{display:flex}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel{outline:1px solid transparent;padding:8px 12px 8px 0}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__label{margin-bottom:0;margin-left:8px}.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel,.is-navigate-mode .is-selected .wp-block-template-part__name-panel{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after,.block-editor-block-list__block[data-type="core/template-part"].is-selected:after{top:1px;bottom:1px;right:1px;left:1px;border-radius:1px;box-shadow:0 0 0 1px #1e1e1e}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}pre.wp-block-verse{color:#1e1e1e;padding:1em}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-right:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-left:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div{padding:0}.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-right:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block.wp-block-query-loop{max-width:100%;padding-right:0;list-style:none}.editor-styles-wrapper .wp-block.wp-block-query{max-width:100%}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 56px 16px 16px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin-top:.5em;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-left:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none} \ No newline at end of file +#start-resizable-editor-section{display:none}ul.wp-block-archives{padding-right:2.5em}.wp-block-audio{margin-right:0;margin-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-right:0;margin-top:.5em;margin-left:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{height:100%}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-right:2.5em;margin-right:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-right:4px solid #000;padding-right:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-right:auto;margin-left:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:right;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-left:0;margin-right:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-right:auto;margin-left:auto}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-right:0;padding-left:0}}[data-align=full] .wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}[data-align=full] .wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;right:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;right:0;left:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=right]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=center]>.wp-block-image{margin-right:auto;margin-left:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-right:0;padding-left:0}.wp-block-latest-comments.has-avatars .avatar{margin-left:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.wp-block-latest-posts{padding-right:2.5em}.wp-block-latest-posts.is-grid{padding-right:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}ol.has-background.has-background,ul.has-background.has-background{padding:1.25em 2.375em}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-right:0;padding-right:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{display:inline-flex;-ms-grid-row-align:center;align-self:center;width:24px;height:24px}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container{min-height:44px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container,.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__container{opacity:1;visibility:visible}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-right:auto;margin-left:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:left;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation-placeholder{min-height:44px}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-right:4px;vertical-align:middle;margin-left:7px}.wp-block-navigation-placeholder .components-custom-select-control__button{height:auto;padding:.375rem 1.5rem .375rem .75rem;min-width:13.75rem}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option{position:relative;margin-top:20px}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option:before{content:"";position:absolute;top:-10px;right:25px;left:25px;height:15px;border-top:1px solid #757575}.wp-block-navigation-placeholder .components-custom-select-control__label{margin-bottom:1rem;font-size:13px;font-weight:400}.wp-block-navigation-placeholder .components-custom-select-control__menu{margin:0;max-height:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.wp-block-navigation-placeholder__preview{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;flex-direction:row;align-items:center;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-navigation-placeholder__preview{transition-duration:0s}}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{border-radius:2px;background:currentColor;min-width:72px;height:16px;margin:12px 0 12px 24px}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.is-selected .wp-block-navigation-placeholder__preview{opacity:.2}.wp-block-navigation-placeholder__controls{padding:4px 8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1}.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-left:12px;height:36px}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 10px 16px 16px}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #ddd}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-right:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content>div{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:3px dashed #ccc}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 0 0 8px}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-right:auto;margin-left:auto;text-align:center}.wp-block-site-logo.is-resized{display:table}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-right:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-social-links__social-placeholder{transition-duration:0s}}.is-selected .wp-block-social-links__social-placeholder{opacity:.1}.wp-block-social-links__social-placeholder>.wp-social-link{padding-right:0!important;margin-right:0!important;padding-left:0!important;margin-left:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex;position:absolute}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-right:.66667em;padding-left:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .block-list-appender{display:flex;align-items:center;justify-content:center;margin:0}.wp-block-social-links .block-list-appender:before{content:"";display:block;width:1em;height:1em}.wp-block-social-links .block-list-appender .block-editor-inserter{position:absolute}.wp-block-social-links .block-list-appender .block-editor-button-block-appender.block-list-appender__toggle{margin:0}.wp-block-social-links.is-style-logos-only .block-list-appender{padding:4px}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#555;font-size:1.1em;font-style:italic}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-left:5px}.wp-block-tag-cloud span{display:inline-block;margin-right:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:right}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__block-control-group{display:flex}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel{outline:1px solid transparent;padding:8px 12px 8px 0}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__label{margin-bottom:0;margin-left:8px}.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel,.is-navigate-mode .is-selected .wp-block-template-part__name-panel{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after,.block-editor-block-list__block[data-type="core/template-part"].is-selected:after{top:1px;bottom:1px;right:1px;left:1px;border-radius:1px;box-shadow:0 0 0 1px #1e1e1e}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}pre.wp-block-verse{color:#1e1e1e;padding:1em}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-left:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-right:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-left:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div{padding:0}.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-right:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block.wp-block-query-loop{max-width:100%;padding-right:0;list-style:none}.editor-styles-wrapper .wp-block.wp-block-query{max-width:100%}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 56px 16px 16px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin-top:.5em;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-left:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-left:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/editor.css b/wp-includes/css/dist/block-library/editor.css index 209ec913de..61fd82d54d 100644 --- a/wp-includes/css/dist/block-library/editor.css +++ b/wp-includes/css/dist/block-library/editor.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors @@ -171,6 +172,7 @@ div[data-type="core/button"] { .wp-block-buttons > .wp-block { margin-left: 0; margin-top: 0.5em; + margin-right: 0.5em; } .wp-block-buttons > .block-list-appender { display: inline-flex; diff --git a/wp-includes/css/dist/block-library/editor.min.css b/wp-includes/css/dist/block-library/editor.min.css index 0243840565..d3767181e8 100644 --- a/wp-includes/css/dist/block-library/editor.min.css +++ b/wp-includes/css/dist/block-library/editor.min.css @@ -1,2 +1,2 @@ #start-resizable-editor-section{display:none}ul.wp-block-archives{padding-left:2.5em}.wp-block-audio{margin-left:0;margin-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-left:auto;margin-right:auto}.wp-block[data-align=right]>.wp-block-button{ - /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-left:0;margin-top:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{height:100%}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}[data-align=full] .wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-left:0;padding-right:0}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}ol.has-background.has-background,ul.has-background.has-background{padding:1.25em 2.375em}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{display:inline-flex;-ms-grid-row-align:center;align-self:center;width:24px;height:24px}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container{min-height:44px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container,.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__container{opacity:1;visibility:visible}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation-placeholder{min-height:44px}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}.wp-block-navigation-placeholder .components-custom-select-control__button{height:auto;padding:.375rem .75rem .375rem 1.5rem;min-width:13.75rem}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option{position:relative;margin-top:20px}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option:before{content:"";position:absolute;top:-10px;left:25px;right:25px;height:15px;border-top:1px solid #757575}.wp-block-navigation-placeholder .components-custom-select-control__label{margin-bottom:1rem;font-size:13px;font-weight:400}.wp-block-navigation-placeholder .components-custom-select-control__menu{margin:0;max-height:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.wp-block-navigation-placeholder__preview{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;align-items:center;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-navigation-placeholder__preview{transition-duration:0s}}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{border-radius:2px;background:currentColor;min-width:72px;height:16px;margin:12px 24px 12px 0}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.is-selected .wp-block-navigation-placeholder__preview{opacity:.2}.wp-block-navigation-placeholder__controls{padding:4px 8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1}.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 16px 16px 10px}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #ddd}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content>div{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo.is-resized{display:table}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-social-links__social-placeholder{transition-duration:0s}}.is-selected .wp-block-social-links__social-placeholder{opacity:.1}.wp-block-social-links__social-placeholder>.wp-social-link{padding-left:0!important;margin-left:0!important;padding-right:0!important;margin-right:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex;position:absolute}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .block-list-appender{display:flex;align-items:center;justify-content:center;margin:0}.wp-block-social-links .block-list-appender:before{content:"";display:block;width:1em;height:1em}.wp-block-social-links .block-list-appender .block-editor-inserter{position:absolute}.wp-block-social-links .block-list-appender .block-editor-button-block-appender.block-list-appender__toggle{margin:0}.wp-block-social-links.is-style-logos-only .block-list-appender{padding:4px}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#555;font-size:1.1em;font-style:italic}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:left}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__block-control-group{display:flex}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel{outline:1px solid transparent;padding:8px 0 8px 12px}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__label{margin-bottom:0;margin-right:8px}.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel,.is-navigate-mode .is-selected .wp-block-template-part__name-panel{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after,.block-editor-block-list__block[data-type="core/template-part"].is-selected:after{top:1px;bottom:1px;left:1px;right:1px;border-radius:1px;box-shadow:0 0 0 1px #1e1e1e}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}pre.wp-block-verse{color:#1e1e1e;padding:1em}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-left:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div{padding:0}.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block.wp-block-query-loop{max-width:100%;padding-left:0;list-style:none}.editor-styles-wrapper .wp-block.wp-block-query{max-width:100%}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 56px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-right:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none} \ No newline at end of file + /*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-left:0;margin-top:.5em;margin-right:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}.wp-block-columns .wp-block{max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}.wp-block-cover{height:100%}.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}.wp-block-file{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file .wp-block-file__textlink{display:inline-block;min-width:1em}.wp-block-file .wp-block-file__textlink:focus{box-shadow:none}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}.wp-block-freeform.block-library-rich-text__tinymce{height:auto}.wp-block-freeform.block-library-rich-text__tinymce li,.wp-block-freeform.block-library-rich-text__tinymce p{line-height:1.8}.wp-block-freeform.block-library-rich-text__tinymce ol,.wp-block-freeform.block-library-rich-text__tinymce ul{padding-left:2.5em;margin-left:0}.wp-block-freeform.block-library-rich-text__tinymce blockquote{margin:0;box-shadow:inset 0 0 0 0 #ddd;border-left:4px solid #000;padding-left:1em}.wp-block-freeform.block-library-rich-text__tinymce pre{white-space:pre-wrap;font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e}.wp-block-freeform.block-library-rich-text__tinymce>:first-child{margin-top:0}.wp-block-freeform.block-library-rich-text__tinymce>:last-child{margin-bottom:0}.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce a{color:var(--wp-admin-theme-color)}.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected]{padding:0 2px;margin:0 -2px;border-radius:2px;box-shadow:0 0 0 1px #e5f5fa;background:#e5f5fa}.wp-block-freeform.block-library-rich-text__tinymce code{padding:2px;border-radius:2px;color:#1e1e1e;background:#f0f0f0;font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected]{background:#ddd}.wp-block-freeform.block-library-rich-text__tinymce .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-freeform.block-library-rich-text__tinymce .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-freeform.block-library-rich-text__tinymce .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag{width:96%;height:20px;display:block;margin:15px auto;outline:0;cursor:default;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);background-size:1900px 20px;background-repeat:no-repeat;background-position:50%}.wp-block-freeform.block-library-rich-text__tinymce img::selection{background-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp{-ms-user-select:element}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption{margin:0;max-width:100%}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img{display:block}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption,.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption *{-webkit-user-drag:none}.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd{padding-top:.5em;margin:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview{width:99.99%;position:relative;clear:both;margin-bottom:16px;border:1px solid transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe{display:block;max-width:100%;background:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim{display:none}.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder{border:1px dashed #ddd;padding:10px}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error{border:1px solid #ddd;padding:1em 0;margin:0;word-wrap:break-word}.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p{margin:0;text-align:center}.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder,.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error{border-color:transparent}.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons{display:block;margin:0 auto;width:32px;height:32px;font-size:32px}.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery:after{content:"";display:table;clear:both}.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus{outline:none}.wp-block-freeform.block-library-rich-text__tinymce .gallery a{cursor:default}.wp-block-freeform.block-library-rich-text__tinymce .gallery{margin:auto -6px;padding:6px 0;line-height:1;overflow-x:hidden}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item{float:left;margin:0;text-align:center;padding:6px;box-sizing:border-box}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon{margin:0}.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption{font-size:13px;margin:4px 0}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item{width:100%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item{width:50%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item{width:33.3333333333%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item{width:25%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item{width:20%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item{width:16.6666666667%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item{width:14.2857142857%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item{width:12.5%}.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item{width:11.1111111111%}.wp-block-freeform.block-library-rich-text__tinymce .gallery img{max-width:100%;height:auto;border:none;padding:0}div[data-type="core/freeform"]:before{transition:border-color .1s linear,box-shadow .1s linear;border:1px solid #ddd;outline:1px solid transparent}@media (prefers-reduced-motion:reduce){div[data-type="core/freeform"]:before{transition-duration:0s}}div[data-type="core/freeform"].is-selected:before{border-color:#1e1e1e}div[data-type="core/freeform"] .block-editor-block-contextual-toolbar+div{margin-top:0;padding-top:0}div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce:after{content:"";display:table;clear:both}.mce-toolbar-grp .mce-btn.mce-active:hover button,.mce-toolbar-grp .mce-btn.mce-active:hover i,.mce-toolbar-grp .mce-btn.mce-active button,.mce-toolbar-grp .mce-btn.mce-active i{color:#1e1e1e}.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last{margin-right:0;margin-left:8px}.mce-toolbar-grp .mce-btn i{font-style:normal}.block-library-classic__toolbar{display:none;width:auto;position:-webkit-sticky;position:sticky;z-index:31;top:0;border:1px solid #ddd;border-bottom:none;border-radius:2px;margin:0 0 8px;padding:0}div[data-type="core/freeform"].is-selected .block-library-classic__toolbar,div[data-type="core/freeform"].is-typing .block-library-classic__toolbar{display:block;border-color:#1e1e1e}.block-library-classic__toolbar .mce-tinymce{box-shadow:none}@media (min-width:600px){.block-library-classic__toolbar{padding:0}}.block-library-classic__toolbar:empty{display:block;background:#f5f5f5;border-bottom:1px solid #e2e4e7}.block-library-classic__toolbar:empty:before{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;content:attr(data-placeholder);color:#555d66;line-height:37px;padding:14px}.block-library-classic__toolbar div.mce-toolbar-grp{border-bottom:1px solid #1e1e1e}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar .mce-menubar>div,.block-library-classic__toolbar .mce-tinymce-inline,.block-library-classic__toolbar .mce-tinymce-inline>div,.block-library-classic__toolbar div.mce-toolbar-grp,.block-library-classic__toolbar div.mce-toolbar-grp>div{height:auto!important;width:100%!important}.block-library-classic__toolbar .mce-container-body.mce-abs-layout{overflow:visible}.block-library-classic__toolbar .mce-menubar,.block-library-classic__toolbar div.mce-toolbar-grp{position:static}.block-library-classic__toolbar .mce-toolbar-grp>div{padding:1px 3px}.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child){display:none}.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar{display:block}.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}.wp-block-group>.wp-block-group__inner-container>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block-group__inner-container>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>.wp-block-group__inner-container>[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}[data-align=full] .wp-block-group.has-background>.wp-block-group__inner-container>[data-align=full]{width:calc(100% + 60px)}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}.block-library-heading-level-dropdown .components-popover__content{min-width:230px}.block-library-heading-level-dropdown .components-popover__content>div{padding:0}.block-library-heading-level-toolbar{border:none}.block-library-html__edit{margin-bottom:28px}.block-library-html__edit .block-library-html__preview-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.block-library-html__edit .block-editor-plain-text{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px;max-height:250px;font-size:16px}@media (min-width:600px){.block-library-html__edit .block-editor-plain-text{font-size:13px}}.block-library-html__edit .block-editor-plain-text:focus{box-shadow:none}figure.wp-block-image:not(.wp-block){margin:0}.wp-block-image{position:relative}.wp-block-image .is-applying img,.wp-block-image.is-transient img{opacity:.3}.wp-block-image figcaption img{display:inline}.wp-block-image .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-image:not(.is-style-rounded)>div{border-radius:inherit}.wp-block-image .components-resizable-box__container{display:inline-block}.wp-block-image .components-resizable-box__container img{display:block;width:inherit;height:inherit}.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{position:absolute;left:0;right:0;margin:-1px 0}@media (min-width:600px){.block-editor-block-list__block[data-type="core/image"] .block-editor-block-toolbar .block-editor-url-input__button-modal{margin:-1px}}[data-align=full]>.wp-block-image img,[data-align=wide]>.wp-block-image img{width:100%}.wp-block[data-align=center]>.wp-block-image,.wp-block[data-align=left]>.wp-block-image,.wp-block[data-align=right]>.wp-block-image{display:table}.wp-block[data-align=center]>.wp-block-image>figcaption,.wp-block[data-align=left]>.wp-block-image>figcaption,.wp-block[data-align=right]>.wp-block-image>figcaption{display:table-caption;caption-side:bottom}.wp-block[data-align=left]>.wp-block-image{margin:.5em 1em .5em 0}.wp-block[data-align=right]>.wp-block-image{margin:.5em 0 .5em 1em}.wp-block[data-align=center]>.wp-block-image{margin-left:auto;margin-right:auto;text-align:center}.wp-block-image__crop-area{position:relative;max-width:100%;width:100%}.wp-block-image__crop-icon{padding:0 8px;min-width:48px;display:flex;justify-content:center;align-items:center}.wp-block-image__crop-icon svg{fill:currentColor}.wp-block-image__zoom .components-popover__content{overflow:visible;min-width:260px}.wp-block-image__zoom .components-range-control{flex:1}.wp-block-image__zoom .components-base-control__field{display:flex;margin-bottom:0;flex-direction:column;align-items:flex-start}.wp-block-image__aspect-ratio{height:46px;margin-bottom:-8px;display:flex;align-items:center}.wp-block-image__aspect-ratio .components-button{width:36px;padding-left:0;padding-right:0}.wp-block-latest-comments.has-avatars .avatar{margin-right:10px}.wp-block-latest-comments__comment-excerpt p{font-size:14px;line-height:1.8;margin:5px 0 20px;padding-top:0}.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment{min-height:36px}.wp-block-latest-posts{padding-left:2.5em}.wp-block-latest-posts.is-grid{padding-left:0}.wp-block-latest-posts li a>div{display:inline}.edit-post-visual-editor .wp-block-latest-posts.is-grid li{margin-bottom:20px}ol.has-background.has-background,ul.has-background.has-background{padding:1.25em 2.375em}.wp-block-media-text .__resizable_base__{-ms-grid-column:1;-ms-grid-column-span:2;grid-column:1/span 2;-ms-grid-row:2;grid-row:2}.wp-block-media-text .editor-media-container__resizer{width:100%!important}.wp-block-media-text.is-image-fill .editor-media-container__resizer{height:100%!important}.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{max-width:unset}.block-editor-block-list__block[data-type="core/more"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-more{display:block;text-align:center;white-space:nowrap}.wp-block-more input[type=text]{position:relative;font-size:13px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border:none;box-shadow:none;white-space:nowrap;text-align:center;margin:0;border-radius:4px;background:#fff;padding:6px 8px;height:24px;max-width:100%}.wp-block-more input[type=text]:focus{box-shadow:none}.wp-block-more:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.editor-styles-wrapper .wp-block-navigation ol,.editor-styles-wrapper .wp-block-navigation ul{margin-bottom:0;margin-left:0;padding-left:0}.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block{margin:0}.wp-block-navigation .block-list-appender{display:inline-flex;-ms-grid-row-align:center;align-self:center;width:24px;height:24px}.wp-block-navigation.is-vertical .block-list-appender{margin:8px}.wp-block-navigation__inserter-content{padding:16px}.wp-block-navigation__container{min-height:44px}.wp-block-navigation__container.is-parent-of-selected-block{visibility:visible;opacity:1}.has-child:hover>.wp-block-navigation__container,.has-child>.wp-block-navigation__container{opacity:0;visibility:hidden}.has-child.has-child-selected>.wp-block-navigation__container,.has-child.is-selected>.wp-block-navigation__container,.is-dragging-components-draggable .has-child.is-dragging-within>.wp-block-navigation__container{opacity:1;visibility:visible}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container{opacity:1;visibility:hidden}.is-dragging-components-draggable .wp-block-navigation-link>.wp-block-navigation__container .block-editor-block-draggable-chip-wrapper{visibility:visible}.block-library-colors-selector{width:auto}.block-library-colors-selector .block-library-colors-selector__toggle{display:block;margin:0 auto;padding:3px;width:auto}.block-library-colors-selector .block-library-colors-selector__icon-container{height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;border-radius:4px}.block-library-colors-selector .block-library-colors-selector__state-selection{margin-left:auto;margin-right:auto;border-radius:11px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);width:22px;min-width:22px;height:22px;min-height:22px;line-height:20px;padding:2px}.block-library-colors-selector .block-library-colors-selector__state-selection>svg{min-width:auto!important}.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg,.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color>svg path{color:inherit}.block-library-colors-selector__popover .color-palette-controller-container{padding:16px}.block-library-colors-selector__popover .components-base-control__label{height:20px;line-height:20px}.block-library-colors-selector__popover .component-color-indicator{float:right;margin-top:2px}.block-library-colors-selector__popover .components-panel__body-title{display:none}.is-editing>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation-placeholder{min-height:44px}.wp-block-navigation-placeholder .components-spinner{margin-top:-4px;margin-left:4px;vertical-align:middle;margin-right:7px}.wp-block-navigation-placeholder .components-custom-select-control__button{height:auto;padding:.375rem .75rem .375rem 1.5rem;min-width:13.75rem}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option{position:relative;margin-top:20px}.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option:before{content:"";position:absolute;top:-10px;left:25px;right:25px;height:15px;border-top:1px solid #757575}.wp-block-navigation-placeholder .components-custom-select-control__label{margin-bottom:1rem;font-size:13px;font-weight:400}.wp-block-navigation-placeholder .components-custom-select-control__menu{margin:0;max-height:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-navigation .block-editor-button-block-appender{justify-content:flex-start}.wp-block-navigation-placeholder__preview{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:row;align-items:center;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-navigation-placeholder__preview{transition-duration:0s}}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link{border-radius:2px;background:currentColor;min-width:72px;height:16px;margin:12px 24px 12px 0}.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,.wp-block-navigation-placeholder__preview svg{opacity:.3}.is-selected .wp-block-navigation-placeholder__preview{opacity:.2}.wp-block-navigation-placeholder__controls{padding:4px 8px;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;flex-direction:row;align-items:center;display:none;position:relative;z-index:1}.is-selected .wp-block-navigation-placeholder__controls{display:flex}.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions{flex-direction:column}.is-selected.is-vertical .wp-block-navigation-placeholder__controls{display:inline-flex}.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__icon{margin-right:12px;height:36px}.is-vertical .wp-block-navigation-placeholder,.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{min-height:156px}.is-vertical .wp-block-navigation-placeholder__controls,.is-vertical .wp-block-navigation-placeholder__preview{flex-direction:column;align-items:flex-start}.wp-block-navigation-placeholder__actions{display:flex;font-size:13px}.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon{padding:6px 12px;display:flex;flex-direction:row-reverse}.wp-block-navigation-link__container,.wp-block-navigation-link__field .components-text-control__input.components-text-control__input{border-radius:0;line-height:36px;min-height:36px}.wp-block-navigation-link .block-editor-block-list__layout{display:block}.wp-block-navigation-link.is-editing,.wp-block-navigation-link.is-selected{min-width:20px}.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]:after{display:inline-block}.wp-block-navigation-link .block-list-appender{margin:10px 16px 16px 10px}.wp-block-navigation-link__separator{margin:8px 0;border-top:1px solid #ddd}.components-popover.wp-block-navigation-link__dropdown-content{margin-top:-1px;margin-left:-4px}.wp-block-navigation-link__dropdown-content .components-popover__content>div{padding:8px 0}.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"]>.block-editor-block-list__insertion-point{display:none}.block-editor-block-list__block[data-type="core/nextpage"]{max-width:100%;text-align:center;margin-top:28px;margin-bottom:28px}.wp-block-nextpage{display:block;text-align:center;white-space:nowrap}.wp-block-nextpage>span{font-size:13px;position:relative;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.wp-block-nextpage:before{content:"";position:absolute;top:50%;left:0;right:0;border-top:3px dashed #ccc}.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus{min-height:auto!important}.wp-block-post-content__placeholder{height:100px;border:1px dashed;display:flex;justify-content:center;align-items:center}.wp-block-post-content__placeholder span{font-style:italic}.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline{display:inline-block}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author .wp-block-post-author__byline{font-size:.5em;margin-top:0;position:relative;font-style:normal}.wp-block-post-author .wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author .wp-block-post-author__avatar img{margin:0}.wp-block-post-author .wp-block-post-author__avatar{margin-bottom:-8px}.wp-block-post-author .wp-block-post-author__name{margin:0;font-weight:700}.wp-block-post-author .wp-block-post-author__bio{margin:0 0 8px;font-size:.7em}.wp-block[data-align=left]>.wp-block-pullquote p,.wp-block[data-align=right]>.wp-block-pullquote p{font-size:20px}.wp-block-pullquote blockquote p{font-size:28px;line-height:1.6}.wp-block-pullquote.is-style-solid-color blockquote p{font-size:32px}.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation{text-transform:none;font-style:normal}.wp-block-pullquote .wp-block-pullquote__citation{color:inherit}.wp-block-quote__citation{font-size:13px}.wp-block-rss li a>div{display:inline}.wp-block-rss__placeholder-form{display:flex;align-items:stretch}.wp-block-rss__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.wp-block-rss__placeholder-form>*{margin-bottom:0}}.wp-block-rss__placeholder-input{display:flex;align-items:stretch;flex-grow:1}.wp-block-rss__placeholder-input .components-base-control__field{display:flex;align-items:stretch;flex-grow:1;margin:0 8px 0 0}.wp-block-search .wp-block-search__input{padding:8px}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px}.wp-block-search .wp-block-search__button{height:auto;border-radius:initial}.wp-block-search .wp-block-search__button.wp-block-search__button.wp-block-search__button{padding:6px 10px}.wp-block-search__components-button-group{margin-top:10px}.block-editor-block-list__block[data-type="core/separator"]{padding-top:.1px;padding-bottom:.1px}[data-type="core/shortcode"] .block-editor-plain-text{max-height:250px}[data-type="core/shortcode"].components-placeholder{min-height:0}.blocks-shortcode__textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:6px 8px;box-shadow:0 0 0 transparent;transition:box-shadow .1s linear;border-radius:2px;border:1px solid #757575;font-size:16px;line-height:normal}@media (prefers-reduced-motion:reduce){.blocks-shortcode__textarea{transition-duration:0s}}@media (min-width:600px){.blocks-shortcode__textarea{font-size:13px;line-height:normal}}.blocks-shortcode__textarea:focus{border-color:var(--wp-admin-theme-color);box-shadow:0 0 0 1px var(--wp-admin-theme-color);outline:2px solid transparent}.blocks-shortcode__textarea::-webkit-input-placeholder{color:rgba(30,30,30,.62)}.blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:rgba(30,30,30,.62)}.blocks-shortcode__textarea:-ms-input-placeholder{color:rgba(30,30,30,.62)}.is-dark-theme .blocks-shortcode__textarea::-webkit-input-placeholder{color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea::-moz-placeholder{opacity:1;color:hsla(0,0%,100%,.65)}.is-dark-theme .blocks-shortcode__textarea:-ms-input-placeholder{color:hsla(0,0%,100%,.65)}.wp-block[data-align=center]>.wp-block-site-logo{margin-left:auto;margin-right:auto;text-align:center}.wp-block-site-logo.is-resized{display:table}.wp-block-site-logo .custom-logo-link{cursor:inherit}.wp-block-site-logo .custom-logo-link:focus{box-shadow:none}.wp-block-site-logo .custom-logo-link.is-transient img{opacity:.3}.wp-block-site-logo img{display:block;max-width:100%}.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{font-size:inherit;color:currentColor;height:auto;line-height:0;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links div.block-editor-url-input{display:inline-block;margin-left:8px}.wp-social-link:hover{transform:none}.editor-styles-wrapper .wp-block-social-links{padding:0}.wp-block-social-links__social-placeholder{display:flex;opacity:.8;transition:all .1s ease-in-out}@media (prefers-reduced-motion:reduce){.wp-block-social-links__social-placeholder{transition-duration:0s}}.is-selected .wp-block-social-links__social-placeholder{opacity:.1}.wp-block-social-links__social-placeholder>.wp-social-link{padding-left:0!important;margin-left:0!important;padding-right:0!important;margin-right:0!important;width:0!important;visibility:hidden}.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{display:flex;position:absolute}.wp-block-social-links__social-placeholder+.block-list-appender,.wp-block-social-links__social-placeholder .wp-social-link{padding:.25em}.is-style-pill-shape .wp-block-social-links__social-placeholder+.block-list-appender,.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links__social-placeholder .wp-social-link:before{content:"";display:block;width:1em;height:1em;border-radius:50%}.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link:before{background:currentColor}.wp-block-social-links .block-list-appender{display:flex;align-items:center;justify-content:center;margin:0}.wp-block-social-links .block-list-appender:before{content:"";display:block;width:1em;height:1em}.wp-block-social-links .block-list-appender .block-editor-inserter{position:absolute}.wp-block-social-links .block-list-appender .block-editor-button-block-appender.block-list-appender__toggle{margin:0}.wp-block-social-links.is-style-logos-only .block-list-appender{padding:4px}.wp-block[data-align=center]>.wp-block-social-links{justify-content:center}.block-editor-block-preview__content .components-button:disabled{opacity:1}.wp-social-link.wp-social-link__is-incomplete{opacity:.5}@media (prefers-reduced-motion:reduce){.wp-social-link.wp-social-link__is-incomplete{transition-duration:0s}}.wp-block-social-links .is-selected .wp-social-link__is-incomplete,.wp-social-link.wp-social-link__is-incomplete:focus,.wp-social-link.wp-social-link__is-incomplete:hover{opacity:1}[data-type="core/social-links"] .wp-social-link:focus{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--wp-admin-theme-color);outline:2px solid transparent}.block-editor-block-list__block[data-type="core/spacer"]:before{content:"";display:block;position:absolute;width:100%;height:24px;transform:translateY(-12px)}.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:rgba(0,0,0,.1)}.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container{background:hsla(0,0%,100%,.15)}.block-library-spacer__resize-container{clear:both;margin-bottom:28px}.block-library-spacer__resize-container .components-resizable-box__handle:before{content:none}.edit-post-visual-editor p.wp-block-subhead{color:#555;font-size:1.1em;font-style:italic}.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table table{border-collapse:collapse}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-tag-cloud a{display:inline-block;margin-right:5px}.wp-block-tag-cloud span{display:inline-block;margin-left:5px;color:#757575;text-decoration:none}.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content,.wp-block-template-part__preview-dropdown-content .components-popover__content{min-width:320px;padding:0}.wp-block-template-part__selection-preview-search-form{border-bottom:1px solid #ddd}.wp-block-template-part__selection-preview-container{background:#fff;padding-bottom:16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item{border-radius:2px;cursor:pointer;margin-top:16px;transition:all .05s ease-in-out;border:1px solid transparent;width:100%;background-color:#fff}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:hover{border:1px solid var(--wp-admin-theme-color)}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item:focus{box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item.is-placeholder{min-height:100px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-preview-item-title{padding:4px;font-size:12px;text-align:left}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-header{padding:16px 16px 0}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-content{padding:0 16px}.wp-block-template-part__selection-preview-container .wp-block-template-part__selection-panel-group-title{color:var(--wp-admin-theme-color);text-transform:uppercase;font-size:11px;font-weight:500}.wp-block-template-part__block-control-group{display:flex}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel{outline:1px solid transparent;padding:8px 0 8px 12px}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__field{align-items:center;display:flex;margin-bottom:0}.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__label{margin-bottom:0;margin-right:8px}.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel,.is-navigate-mode .is-selected .wp-block-template-part__name-panel{box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.block-editor-block-list__block[data-type="core/template-part"].has-child-selected:after,.block-editor-block-list__block[data-type="core/template-part"].is-selected:after{top:1px;bottom:1px;left:1px;right:1px;border-radius:1px;box-shadow:0 0 0 1px #1e1e1e}.wp-block-text-columns .block-editor-rich-text__editable:focus{outline:1px solid #ddd}pre.wp-block-verse{color:#1e1e1e;padding:1em}.wp-block[data-align=center]>.wp-block-video{text-align:center}.editor-video-poster-control .components-base-control__label{display:block}.editor-video-poster-control .components-button{margin-right:8px}.block-library-video-tracks-editor{z-index:159990}.block-library-video-tracks-editor>.components-popover__content{width:360px}.block-library-video-tracks-editor__track-list-track{display:flex;place-content:space-between;align-items:baseline;padding-left:12px}.block-library-video-tracks-editor__single-track-editor-label-language{display:flex;margin-top:12px}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control{width:50%}.block-library-video-tracks-editor__single-track-editor-label-language>.components-base-control:first-child{margin-right:16px}.block-library-video-tracks-editor__single-track-editor-kind-select{max-width:240px}.block-library-video-tracks-editor__single-track-editor-buttons-container{display:flex;place-content:space-between;margin-top:32px}.block-library-video-tracks-editor__single-track-editor-edit-track-label{margin-top:4px;margin-bottom:12px;color:#757575;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.block-library-video-tracks-editor>.components-popover__content>div{padding:0}.block-library-video-tracks-editor__add-tracks-container .components-menu-group__label,.block-library-video-tracks-editor__track-list .components-menu-group__label{padding:0}.block-library-video-tracks-editor__add-tracks-container,.block-library-video-tracks-editor__single-track-editor,.block-library-video-tracks-editor__track-list{padding:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__label{margin-bottom:4px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-base-control__field{margin-bottom:12px}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-text-control__input{margin-left:0}.block-library-video-tracks-editor__single-track-editor .components-base-control .components-input-control__label{margin-bottom:4px}.wp-block.wp-block-query-loop{max-width:100%;padding-left:0;list-style:none}.editor-styles-wrapper .wp-block.wp-block-query{max-width:100%}.block-library-query-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query__create-new-link{padding:0 16px 16px 56px}.wp-block>.wp-block-query-pagination{display:flex;flex-wrap:wrap;flex-direction:row}.editor-styles-wrapper .wp-block-query-pagination{max-width:100%}.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{margin:0}.block-library-query-pagination-toolbar__popover .components-popover__content{min-width:230px}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin:.5em .5em .5em 0}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-query-pagination-numbers a{text-decoration:underline}.wp-block-query-pagination-numbers .page-numbers{margin-right:2px}.wp-block-query-pagination-numbers .page-numbers:last-child{margin-right:0}div[data-type="core/post-featured-image"] img{max-width:100%;height:auto;display:block}.editor-styles-wrapper .post-featured-image_placeholder{display:flex;flex-direction:row;align-items:flex-start;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e;padding:12px}.editor-styles-wrapper .post-featured-image_placeholder svg{margin-right:12px}.editor-styles-wrapper .post-featured-image_placeholder p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:0}:root .editor-styles-wrapper .has-pale-pink-background-color{background-color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-background-color{background-color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-background-color{background-color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-background-color{background-color:#9b51e0}:root .editor-styles-wrapper .has-white-background-color{background-color:#fff}:root .editor-styles-wrapper .has-very-light-gray-background-color{background-color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-background-color{background-color:#313131}:root .editor-styles-wrapper .has-black-background-color{background-color:#000}:root .editor-styles-wrapper .has-pale-pink-color{color:#f78da7}:root .editor-styles-wrapper .has-vivid-red-color{color:#cf2e2e}:root .editor-styles-wrapper .has-luminous-vivid-orange-color{color:#ff6900}:root .editor-styles-wrapper .has-luminous-vivid-amber-color{color:#fcb900}:root .editor-styles-wrapper .has-light-green-cyan-color{color:#7bdcb5}:root .editor-styles-wrapper .has-vivid-green-cyan-color{color:#00d084}:root .editor-styles-wrapper .has-pale-cyan-blue-color{color:#8ed1fc}:root .editor-styles-wrapper .has-vivid-cyan-blue-color{color:#0693e3}:root .editor-styles-wrapper .has-vivid-purple-color{color:#9b51e0}:root .editor-styles-wrapper .has-white-color{color:#fff}:root .editor-styles-wrapper .has-very-light-gray-color{color:#eee}:root .editor-styles-wrapper .has-cyan-bluish-gray-color{color:#abb8c3}:root .editor-styles-wrapper .has-very-dark-gray-color{color:#313131}:root .editor-styles-wrapper .has-black-color{color:#000}:root .editor-styles-wrapper .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .editor-styles-wrapper .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .editor-styles-wrapper .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .editor-styles-wrapper .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .editor-styles-wrapper .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .editor-styles-wrapper .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .editor-styles-wrapper .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .editor-styles-wrapper .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .editor-styles-wrapper .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .editor-styles-wrapper .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .editor-styles-wrapper .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .editor-styles-wrapper .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .editor-styles-wrapper .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .editor-styles-wrapper .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .editor-styles-wrapper .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .editor-styles-wrapper .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .editor-styles-wrapper .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}.editor-styles-wrapper .has-small-font-size{font-size:13px}.editor-styles-wrapper .has-normal-font-size,.editor-styles-wrapper .has-regular-font-size{font-size:16px}.editor-styles-wrapper .has-medium-font-size{font-size:20px}.editor-styles-wrapper .has-large-font-size{font-size:36px}.editor-styles-wrapper .has-huge-font-size,.editor-styles-wrapper .has-larger-font-size{font-size:42px}.block-editor-block-list__block{margin-top:28px;margin-bottom:28px}#end-resizable-editor-section{display:none} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style-rtl.css b/wp-includes/css/dist/block-library/style-rtl.css index b8ce7b5b12..bdbf12d89b 100644 --- a/wp-includes/css/dist/block-library/style-rtl.css +++ b/wp-includes/css/dist/block-library/style-rtl.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors @@ -169,6 +170,7 @@ } .wp-block-buttons > .wp-block-button { display: inline-block; + margin-left: 0; margin-right: 0.5em; margin-bottom: 0.5em; } @@ -654,6 +656,11 @@ section.wp-block-cover-image > h2, min-width: 280px; } +.wp-block-cover .wp-block-embed { + min-width: 320px; + min-height: 240px; +} + .wp-block-embed { margin-bottom: 1em; } diff --git a/wp-includes/css/dist/block-library/style-rtl.min.css b/wp-includes/css/dist/block-library/style-rtl.min.css index 5c77126da8..3d6c22118f 100644 --- a/wp-includes/css/dist/block-library/style-rtl.min.css +++ b/wp-includes/css/dist/block-library/style-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";#start-resizable-editor-section{display:none}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{color:#fff;background-color:#32373c;border:none;border-radius:1.55em;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:.667em 1.333em;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{margin-left:0;width:100%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>.wp-block-button__link,.wp-block-button__link.is-style-outline{border:2px solid}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:#32373c}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button{margin-right:0}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin-right:.5em;margin-bottom:.5em}.wp-block-buttons>.wp-block-button:last-child{margin-right:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right>.wp-block-button{margin-left:.5em;margin-right:0}.wp-block-buttons.is-content-justification-right>.wp-block-button:first-child{margin-left:0}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons.alignleft .wp-block-button{margin-left:0;margin-right:.5em}.wp-block-buttons.alignleft .wp-block-button:last-child{margin-right:0}.wp-block-buttons.alignright .wp-block-button{margin-right:0;margin-left:.5em}.wp-block-buttons.alignright .wp-block-button:first-child{margin-left:0}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}.wp-block-columns{display:flex;margin-bottom:1.75em;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column:not(:only-child){flex-basis:calc(50% - 1em)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-right:2em}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-column:not(:first-child){margin-right:2em}}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;display:flex;justify-content:center;align-items:center;padding:1em;box-sizing:border-box}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:100%;z-index:1;color:#fff}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover;outline:none;border:none;box-shadow:none}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:840px;padding:.44em;text-align:center}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;left:0;bottom:0;right:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 1em 1em;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:3em .77em .7em;color:#fff;text-align:center;font-size:.8em;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);box-sizing:border-box;margin:0}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-left:1em}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-left:1em}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-left:1em}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-left:1em}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-left:1em}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-left:1em}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-group{box-sizing:border-box}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-left:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .alignright{float:right;margin-right:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:2.25em;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;color:#555;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-top:.5em;margin-bottom:1em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill .wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation__container{color:#1e1e1e;background-color:#fff;min-width:200px}.items-justified-left>ul{justify-content:flex-start}.items-justified-center>ul{justify-content:center}.items-justified-right>ul{justify-content:flex-end}.items-justified-space-between>ul{justify-content:space-between}.wp-block-navigation-link{display:flex;align-items:center;position:relative;margin:0}.wp-block-navigation-link .wp-block-navigation__container:empty{display:none}.wp-block-navigation__container{list-style:none;margin:0;padding-right:0;display:flex;flex-wrap:wrap}.is-vertical .wp-block-navigation__container{display:block}.has-child>.wp-block-navigation-link__content{padding-left:.5em}.has-child .wp-block-navigation__container{border:1px solid rgba(0,0,0,.15);background-color:inherit;color:inherit;position:absolute;right:0;top:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:2;opacity:0;transition:opacity .1s linear;visibility:hidden}.has-child .wp-block-navigation__container>.wp-block-navigation-link>.wp-block-navigation-link__content{flex-grow:1}.has-child .wp-block-navigation__container>.wp-block-navigation-link>.wp-block-navigation-link__submenu-icon{padding-left:.5em}@media (min-width:782px){.has-child .wp-block-navigation__container{right:1.5em}.has-child .wp-block-navigation__container .wp-block-navigation__container{right:100%;top:-1px}.has-child .wp-block-navigation__container .wp-block-navigation__container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}.has-child .wp-block-navigation__container .wp-block-navigation-link__submenu-icon svg{transform:rotate(0)}}.has-child:hover{cursor:pointer}.has-child:hover>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.has-child:focus-within{cursor:pointer}.has-child:focus-within>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__container{text-decoration:inherit}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content{text-decoration:inherit}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content{text-decoration:none}.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:focus{text-decoration:none}.wp-block-navigation-link__content{color:inherit;padding:.5em 1em}.wp-block-navigation-link__content+.wp-block-navigation-link__content{padding-top:0}.has-text-color .wp-block-navigation-link__content{color:inherit}.wp-block-navigation-link__label{word-break:normal;overflow-wrap:break-word}.wp-block-navigation-link__submenu-icon{height:inherit;padding:.375em 0 .375em 1em}.wp-block-navigation-link__submenu-icon svg{fill:currentColor}@media (min-width:782px){.wp-block-navigation-link__submenu-icon svg{transform:rotate(-90deg)}}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:1.25em 2.375em}p.has-text-color a{color:inherit}p:empty:before{content:"​"}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{width:100%;margin-top:0;margin-bottom:0;font-size:.5em}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{margin-bottom:.7em;font-size:.7em}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author__name{font-weight:700;margin:0}.wp-block-post-comments-form input[type=submit]{color:#fff;background-color:#32373c;border:none;border-radius:1.55em;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:.667em 1.333em;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-post-comments-form input[type=submit]:active,.wp-block-post-comments-form input[type=submit]:focus,.wp-block-post-comments-form input[type=submit]:hover,.wp-block-post-comments-form input[type=submit]:visited{color:#fff}.wp-block-preformatted{white-space:pre-wrap}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:2em}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-query-loop{max-width:100%;list-style:none;padding:0}.wp-block-query-loop li{clear:both}.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap}.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-query-loop.is-flex-container li{margin-left:1.25em}.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-left:0}}.wp-block-query-pagination{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:left}.wp-block-rss.wp-block-rss{box-sizing:border-box}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 1em)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}.wp-block-rss.columns-4 li{width:calc(25% - 1em)}.wp-block-rss.columns-5 li{width:calc(20% - 1em)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#555;font-size:.8125em}.wp-block-search .wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;padding:.375em .625em;color:#32373c;margin-right:.625em;word-break:normal}.wp-block-search .wp-block-search__button.has-icon{line-height:0}.wp-block-search .wp-block-search__button svg{min-width:1.5em;min-height:1.5em}.wp-block-search .wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;min-width:3em;border:1px solid #949494}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px;border:1px solid #949494}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:0;border:none;padding:0 .25em 0 0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-custom-logo{line-height:0}.wp-block-custom-logo .aligncenter{display:table}.wp-block-custom-logo.is-style-rounded img{border-radius:9999px}.wp-block-social-links{display:flex;flex-wrap:wrap;justify-content:flex-start;padding-right:0;padding-left:0;text-indent:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-block-social-links .wp-social-link.wp-social-link.wp-social-link{margin:4px 0 4px 8px}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{width:1em;height:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-links.has-icon-color.has-icon-color>.wp-social-link{color:var(--wp--social-links--icon-color)}.wp-block-social-links.has-icon-background-color.has-icon-background-color>.wp-social-link{background-color:var(--wp--social-links--icon-background-color)}.wp-social-link{display:block;border-radius:9999px;transition:transform .1s ease;height:auto}@media (prefers-reduced-motion:reduce){.wp-social-link{transition-duration:0s}}.wp-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:.66667em;padding-left:.66667em}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-right:1em;padding-left:1em}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{max-width:100%;height:auto}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-white-background-color{background-color:#fff}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-black-background-color{background-color:#000}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-white-color{color:#fff}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-black-color{color:#000}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}:root .has-link-color a{color:#00e;color:var(--wp--style--color--link,#00e)}.has-small-font-size{font-size:.8125em}.has-normal-font-size,.has-regular-font-size{font-size:1em}.has-medium-font-size{font-size:1.25em}.has-large-font-size{font-size:2.25em}.has-huge-font-size,.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both} \ No newline at end of file +@charset "UTF-8";#start-resizable-editor-section{display:none}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{color:#fff;background-color:#32373c;border:none;border-radius:1.55em;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:.667em 1.333em;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{margin-left:0;width:100%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>.wp-block-button__link,.wp-block-button__link.is-style-outline{border:2px solid}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:#32373c}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button{margin-right:0}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin-left:0;margin-right:.5em;margin-bottom:.5em}.wp-block-buttons>.wp-block-button:last-child{margin-right:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right>.wp-block-button{margin-left:.5em;margin-right:0}.wp-block-buttons.is-content-justification-right>.wp-block-button:first-child{margin-left:0}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons.alignleft .wp-block-button{margin-left:0;margin-right:.5em}.wp-block-buttons.alignleft .wp-block-button:last-child{margin-right:0}.wp-block-buttons.alignright .wp-block-button{margin-right:0;margin-left:.5em}.wp-block-buttons.alignright .wp-block-button:first-child{margin-left:0}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}.wp-block-columns{display:flex;margin-bottom:1.75em;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column:not(:only-child){flex-basis:calc(50% - 1em)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-right:2em}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-column:not(:first-child){margin-right:2em}}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;display:flex;justify-content:center;align-items:center;padding:1em;box-sizing:border-box}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:100%;z-index:1;color:#fff}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{position:absolute;top:0;right:0;left:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover;outline:none;border:none;box-shadow:none}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-right:0;text-align:right}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-left:0;text-align:left}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:840px;padding:.44em;text-align:center}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-width:320px;min-height:240px}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;left:0;bottom:0;right:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 0 1em 1em;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:3em .77em .7em;color:#fff;text-align:center;font-size:.8em;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);box-sizing:border-box;margin:0}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-left:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-left:1em}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-left:1em}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-left:1em}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-left:1em}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-left:1em}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-left:1em}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-left:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-left:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-left:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-left:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-left:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-left:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-left:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-left:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-left:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-group{box-sizing:border-box}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin-left:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .alignright{float:right;margin-right:1em;margin-top:.5em;margin-bottom:.5em}.wp-block-image .aligncenter{margin-right:auto;margin-left:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:2.25em;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-right:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:right;height:2.5em;margin-left:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 0 1.25em 1.25em;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-left:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-left:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-left:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-left:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-left:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;color:#555;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-top:.5em;margin-bottom:1em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{direction:ltr;display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1;margin:0}.wp-block-media-text .wp-block-media-text__content{direction:rtl;padding:0 8%;word-break:break-word}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content{-ms-grid-column:2;grid-column:2;-ms-grid-row:1;grid-row:1}.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text__media img,.wp-block-media-text__media video{max-width:unset;width:100%;vertical-align:middle}.wp-block-media-text.is-image-fill .wp-block-media-text__media{height:100%;min-height:250px;background-size:cover}.wp-block-media-text.is-image-fill .wp-block-media-text__media>a{display:block;height:100%}.wp-block-media-text.is-image-fill .wp-block-media-text__media img{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media (max-width:600px){.wp-block-media-text.is-stacked-on-mobile{-ms-grid-columns:100%!important;grid-template-columns:100%!important}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{-ms-grid-column:1;grid-column:1;-ms-grid-row:2;grid-row:2}}.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation__container{color:#1e1e1e;background-color:#fff;min-width:200px}.items-justified-left>ul{justify-content:flex-start}.items-justified-center>ul{justify-content:center}.items-justified-right>ul{justify-content:flex-end}.items-justified-space-between>ul{justify-content:space-between}.wp-block-navigation-link{display:flex;align-items:center;position:relative;margin:0}.wp-block-navigation-link .wp-block-navigation__container:empty{display:none}.wp-block-navigation__container{list-style:none;margin:0;padding-right:0;display:flex;flex-wrap:wrap}.is-vertical .wp-block-navigation__container{display:block}.has-child>.wp-block-navigation-link__content{padding-left:.5em}.has-child .wp-block-navigation__container{border:1px solid rgba(0,0,0,.15);background-color:inherit;color:inherit;position:absolute;right:0;top:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;z-index:2;opacity:0;transition:opacity .1s linear;visibility:hidden}.has-child .wp-block-navigation__container>.wp-block-navigation-link>.wp-block-navigation-link__content{flex-grow:1}.has-child .wp-block-navigation__container>.wp-block-navigation-link>.wp-block-navigation-link__submenu-icon{padding-left:.5em}@media (min-width:782px){.has-child .wp-block-navigation__container{right:1.5em}.has-child .wp-block-navigation__container .wp-block-navigation__container{right:100%;top:-1px}.has-child .wp-block-navigation__container .wp-block-navigation__container:before{content:"";position:absolute;left:100%;height:100%;display:block;width:.5em;background:transparent}.has-child .wp-block-navigation__container .wp-block-navigation-link__submenu-icon svg{transform:rotate(0)}}.has-child:hover{cursor:pointer}.has-child:hover>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.has-child:focus-within{cursor:pointer}.has-child:focus-within>.wp-block-navigation__container{visibility:visible;opacity:1;display:flex;flex-direction:column}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link,.wp-block-navigation[style*=text-decoration] .wp-block-navigation__container{text-decoration:inherit}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content{text-decoration:inherit}.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:active,.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:focus{text-decoration:inherit}.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content{text-decoration:none}.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:active,.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:focus{text-decoration:none}.wp-block-navigation-link__content{color:inherit;padding:.5em 1em}.wp-block-navigation-link__content+.wp-block-navigation-link__content{padding-top:0}.has-text-color .wp-block-navigation-link__content{color:inherit}.wp-block-navigation-link__label{word-break:normal;overflow-wrap:break-word}.wp-block-navigation-link__submenu-icon{height:inherit;padding:.375em 0 .375em 1em}.wp-block-navigation-link__submenu-icon svg{fill:currentColor}@media (min-width:782px){.wp-block-navigation-link__submenu-icon svg{transform:rotate(-90deg)}}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:right;font-size:8.4em;line-height:.68;font-weight:100;margin:.05em 0 0 .1em;text-transform:uppercase;font-style:normal}p.has-background{padding:1.25em 2.375em}p.has-text-color a{color:inherit}p:empty:before{content:"​"}.wp-block-post-author{display:flex;flex-wrap:wrap}.wp-block-post-author__byline{width:100%;margin-top:0;margin-bottom:0;font-size:.5em}.wp-block-post-author__avatar{margin-left:1em}.wp-block-post-author__bio{margin-bottom:.7em;font-size:.7em}.wp-block-post-author__content{flex-grow:1;flex-basis:0}.wp-block-post-author__name{font-weight:700;margin:0}.wp-block-post-comments-form input[type=submit]{color:#fff;background-color:#32373c;border:none;border-radius:1.55em;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:.667em 1.333em;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-post-comments-form input[type=submit]:active,.wp-block-post-comments-form input[type=submit]:focus,.wp-block-post-comments-form input[type=submit]:hover,.wp-block-post-comments-form input[type=submit]:visited{color:#fff}.wp-block-preformatted{white-space:pre-wrap}.wp-block-pullquote{padding:3em 0;margin-right:0;margin-left:0;text-align:center}.wp-block-pullquote.alignleft,.wp-block-pullquote.alignright{max-width:420px}.wp-block-pullquote.alignleft p,.wp-block-pullquote.alignright p{font-size:1.25em}.wp-block-pullquote p{font-size:1.75em;line-height:1.6}.wp-block-pullquote cite,.wp-block-pullquote footer{position:relative}.wp-block-pullquote .has-text-color a{color:inherit}.wp-block-pullquote:not(.is-style-solid-color){background:none}.wp-block-pullquote.is-style-solid-color{border:none}.wp-block-pullquote.is-style-solid-color blockquote{margin-right:auto;margin-left:auto;text-align:right;max-width:60%}.wp-block-pullquote.is-style-solid-color blockquote p{margin-top:0;margin-bottom:0;font-size:2em}.wp-block-pullquote.is-style-solid-color blockquote cite{text-transform:none;font-style:normal}.wp-block-pullquote cite{color:inherit}.wp-block-query-loop{max-width:100%;list-style:none;padding:0}.wp-block-query-loop li{clear:both}.wp-block-query-loop.is-flex-container{flex-direction:row;display:flex;flex-wrap:wrap}.wp-block-query-loop.is-flex-container li{margin:0 0 1.25em;width:100%}@media (min-width:600px){.wp-block-query-loop.is-flex-container li{margin-left:1.25em}.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li{width:calc(50% - .625em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-2>li:nth-child(2n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li{width:calc(33.33333% - .83333em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-3>li:nth-child(3n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li{width:calc(25% - .9375em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-4>li:nth-child(4n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li{width:calc(20% - 1em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-5>li:nth-child(5n){margin-left:0}.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li{width:calc(16.66667% - 1.04167em)}.wp-block-query-loop.is-flex-container.is-flex-container.columns-6>li:nth-child(6n){margin-left:0}}.wp-block-query-pagination{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{display:inline-block;margin-right:.5em;margin-bottom:.5em}.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{margin-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{margin-bottom:1em;padding:0 1em}.wp-block-quote.is-large p,.wp-block-quote.is-style-large p{font-size:1.5em;font-style:italic;line-height:1.6}.wp-block-quote.is-large cite,.wp-block-quote.is-large footer,.wp-block-quote.is-style-large cite,.wp-block-quote.is-style-large footer{font-size:1.125em;text-align:left}.wp-block-rss.wp-block-rss{box-sizing:border-box}.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 0 1em 1em;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 1em)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}.wp-block-rss.columns-4 li{width:calc(25% - 1em)}.wp-block-rss.columns-5 li{width:calc(20% - 1em)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#555;font-size:.8125em}.wp-block-search .wp-block-search__button{background:#f7f7f7;border:1px solid #ccc;padding:.375em .625em;color:#32373c;margin-right:.625em;word-break:normal}.wp-block-search .wp-block-search__button.has-icon{line-height:0}.wp-block-search .wp-block-search__button svg{min-width:1.5em;min-height:1.5em}.wp-block-search .wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search .wp-block-search__label{width:100%}.wp-block-search .wp-block-search__input{flex-grow:1;min-width:3em;border:1px solid #949494}.wp-block-search.wp-block-search__button-only .wp-block-search__button{margin-right:0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper{padding:4px;border:1px solid #949494}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input{border-radius:0;border:none;padding:0 .25em 0 0}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input:focus{outline:none}.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button{padding:.125em .5em}.wp-block-separator.is-style-wide{border-bottom-width:1px}.wp-block-separator.is-style-dots{background:none!important;border:none;text-align:center;max-width:none;line-height:1;height:auto}.wp-block-separator.is-style-dots:before{content:"···";color:currentColor;font-size:1.5em;letter-spacing:2em;padding-left:2em;font-family:serif}.wp-block-custom-logo{line-height:0}.wp-block-custom-logo .aligncenter{display:table}.wp-block-custom-logo.is-style-rounded img{border-radius:9999px}.wp-block-social-links{display:flex;flex-wrap:wrap;justify-content:flex-start;padding-right:0;padding-left:0;text-indent:0;margin-right:0}.wp-block-social-links .wp-social-link a,.wp-block-social-links .wp-social-link a:hover{text-decoration:none;border-bottom:0;box-shadow:none}.wp-block-social-links .wp-social-link.wp-social-link.wp-social-link{margin:4px 0 4px 8px}.wp-block-social-links .wp-social-link a{padding:.25em}.wp-block-social-links .wp-social-link svg{width:1em;height:1em}.wp-block-social-links.has-small-icon-size{font-size:16px}.wp-block-social-links,.wp-block-social-links.has-normal-icon-size{font-size:24px}.wp-block-social-links.has-large-icon-size{font-size:36px}.wp-block-social-links.has-huge-icon-size{font-size:48px}.wp-block-social-links.aligncenter{justify-content:center;display:flex}.wp-block-social-links.alignright{justify-content:flex-end}.wp-block-social-links.has-icon-color.has-icon-color>.wp-social-link{color:var(--wp--social-links--icon-color)}.wp-block-social-links.has-icon-background-color.has-icon-background-color>.wp-social-link{background-color:var(--wp--social-links--icon-background-color)}.wp-social-link{display:block;border-radius:9999px;transition:transform .1s ease;height:auto}@media (prefers-reduced-motion:reduce){.wp-social-link{transition-duration:0s}}.wp-social-link a{display:block;line-height:0;transition:transform .1s ease}.wp-social-link a,.wp-social-link a:active,.wp-social-link a:hover,.wp-social-link a:visited,.wp-social-link svg{color:currentColor;fill:currentColor}.wp-social-link:hover{transform:scale(1.1)}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link{background-color:#f0f0f0;color:#444}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon{background-color:#f90;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp{background-color:#1ea0c3;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance{background-color:#0757fe;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen{background-color:#1e1f26;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart{background-color:#02e49b;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble{background-color:#e94c89;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox{background-color:#4280ff;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy{background-color:#f45800;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook{background-color:#1778f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr{background-color:#0461dd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare{background-color:#e65678;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github{background-color:#24292d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads{background-color:#eceadd;color:#382110}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google{background-color:#ea4434;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram{background-color:#f00075;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm{background-color:#e21b24;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin{background-color:#0d66c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon{background-color:#3288d4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium{background-color:#02ab6c;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup{background-color:#f6405f;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon{background-color:#ff424d;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest{background-color:#e60122;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket{background-color:#ef4155;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit{background-color:#fe4500;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype{background-color:#0478d7;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat{background-color:#fefc00;color:#fff;stroke:#000}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud{background-color:#ff5600;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify{background-color:#1bd760;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram{background-color:#2aabee;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok{background-color:#000;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr{background-color:#011835;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch{background-color:#6440a4;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter{background-color:#1da1f2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo{background-color:#1eb7ea;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk{background-color:#4680c2;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress{background-color:#3499cd;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube{background-color:red;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link{background:none;padding:4px}.wp-block-social-links.is-style-logos-only .wp-social-link-amazon{color:#f90}.wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp{color:#1ea0c3}.wp-block-social-links.is-style-logos-only .wp-social-link-behance{color:#0757fe}.wp-block-social-links.is-style-logos-only .wp-social-link-codepen{color:#1e1f26}.wp-block-social-links.is-style-logos-only .wp-social-link-deviantart{color:#02e49b}.wp-block-social-links.is-style-logos-only .wp-social-link-dribbble{color:#e94c89}.wp-block-social-links.is-style-logos-only .wp-social-link-dropbox{color:#4280ff}.wp-block-social-links.is-style-logos-only .wp-social-link-etsy{color:#f45800}.wp-block-social-links.is-style-logos-only .wp-social-link-facebook{color:#1778f2}.wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-flickr{color:#0461dd}.wp-block-social-links.is-style-logos-only .wp-social-link-foursquare{color:#e65678}.wp-block-social-links.is-style-logos-only .wp-social-link-github{color:#24292d}.wp-block-social-links.is-style-logos-only .wp-social-link-goodreads{color:#382110}.wp-block-social-links.is-style-logos-only .wp-social-link-google{color:#ea4434}.wp-block-social-links.is-style-logos-only .wp-social-link-instagram{color:#f00075}.wp-block-social-links.is-style-logos-only .wp-social-link-lastfm{color:#e21b24}.wp-block-social-links.is-style-logos-only .wp-social-link-linkedin{color:#0d66c2}.wp-block-social-links.is-style-logos-only .wp-social-link-mastodon{color:#3288d4}.wp-block-social-links.is-style-logos-only .wp-social-link-medium{color:#02ab6c}.wp-block-social-links.is-style-logos-only .wp-social-link-meetup{color:#f6405f}.wp-block-social-links.is-style-logos-only .wp-social-link-patreon{color:#ff424d}.wp-block-social-links.is-style-logos-only .wp-social-link-pinterest{color:#e60122}.wp-block-social-links.is-style-logos-only .wp-social-link-pocket{color:#ef4155}.wp-block-social-links.is-style-logos-only .wp-social-link-reddit{color:#fe4500}.wp-block-social-links.is-style-logos-only .wp-social-link-skype{color:#0478d7}.wp-block-social-links.is-style-logos-only .wp-social-link-snapchat{color:#fff;stroke:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud{color:#ff5600}.wp-block-social-links.is-style-logos-only .wp-social-link-spotify{color:#1bd760}.wp-block-social-links.is-style-logos-only .wp-social-link-telegram{color:#2aabee}.wp-block-social-links.is-style-logos-only .wp-social-link-tiktok{color:#000}.wp-block-social-links.is-style-logos-only .wp-social-link-tumblr{color:#011835}.wp-block-social-links.is-style-logos-only .wp-social-link-twitch{color:#6440a4}.wp-block-social-links.is-style-logos-only .wp-social-link-twitter{color:#1da1f2}.wp-block-social-links.is-style-logos-only .wp-social-link-vimeo{color:#1eb7ea}.wp-block-social-links.is-style-logos-only .wp-social-link-vk{color:#4680c2}.wp-block-social-links.is-style-logos-only .wp-social-link-wordpress{color:#3499cd}.wp-block-social-links.is-style-logos-only .wp-social-link-yelp{background-color:#d32422;color:#fff}.wp-block-social-links.is-style-logos-only .wp-social-link-youtube{color:red}.wp-block-social-links.is-style-pill-shape .wp-social-link{width:auto}.wp-block-social-links.is-style-pill-shape .wp-social-link a{padding-right:.66667em;padding-left:.66667em}.wp-block-spacer{clear:both}p.wp-block-subhead{font-size:1.1em;font-style:italic;opacity:.75}.wp-block-tag-cloud.aligncenter{text-align:center}.wp-block-tag-cloud.alignfull{padding-right:1em;padding-left:1em}.wp-block-table{overflow-x:auto}.wp-block-table table{width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-text-columns,.wp-block-text-columns.aligncenter{display:flex}.wp-block-text-columns .wp-block-column{margin:0 1em;padding:0}.wp-block-text-columns .wp-block-column:first-child{margin-right:0}.wp-block-text-columns .wp-block-column:last-child{margin-left:0}.wp-block-text-columns.columns-2 .wp-block-column{width:50%}.wp-block-text-columns.columns-3 .wp-block-column{width:33.33333%}.wp-block-text-columns.columns-4 .wp-block-column{width:25%}pre.wp-block-verse{font-family:inherit;overflow:auto;white-space:pre-wrap}.wp-block-video{margin-right:0;margin-left:0}.wp-block-video video{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-video [poster]{-o-object-fit:cover;object-fit:cover}}.wp-block-video.aligncenter{text-align:center}.wp-block-video figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-post-featured-image a{display:inline-block}.wp-block-post-featured-image img{max-width:100%;height:auto}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-white-background-color{background-color:#fff}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-black-background-color{background-color:#000}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-white-color{color:#fff}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-black-color{color:#000}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(-135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(-135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(-135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(-135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(-135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(-135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(-135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(-135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(-135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(-135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(-135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(-135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(-135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(-135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(-135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(-135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(-135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(-135deg,#020381,#2874fc)}:root .has-link-color a{color:#00e;color:var(--wp--style--color--link,#00e)}.has-small-font-size{font-size:.8125em}.has-normal-font-size,.has-regular-font-size{font-size:1em}.has-medium-font-size{font-size:1.25em}.has-large-font-size{font-size:2.25em}.has-huge-font-size,.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both} \ No newline at end of file diff --git a/wp-includes/css/dist/block-library/style.css b/wp-includes/css/dist/block-library/style.css index 1fd19c4542..2a45c452b4 100644 --- a/wp-includes/css/dist/block-library/style.css +++ b/wp-includes/css/dist/block-library/style.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors @@ -172,6 +173,8 @@ .wp-block-buttons > .wp-block-button { display: inline-block; /*rtl:ignore*/ + margin-left: 0; + /*rtl:ignore*/ margin-right: 0.5em; margin-bottom: 0.5em; } @@ -669,6 +672,11 @@ section.wp-block-cover-image > h2, min-width: 280px; } +.wp-block-cover .wp-block-embed { + min-width: 320px; + min-height: 240px; +} + .wp-block-embed { margin-bottom: 1em; } diff --git a/wp-includes/css/dist/block-library/style.min.css b/wp-includes/css/dist/block-library/style.min.css index bd66a6c131..d988f71c3e 100644 --- a/wp-includes/css/dist/block-library/style.min.css +++ b/wp-includes/css/dist/block-library/style.min.css @@ -1,4 +1,4 @@ -@charset "UTF-8";#start-resizable-editor-section{display:none}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{color:#fff;background-color:#32373c;border:none;border-radius:1.55em;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:.667em 1.333em;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{margin-right:0;width:100%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>.wp-block-button__link,.wp-block-button__link.is-style-outline{border:2px solid}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:#32373c}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button{margin-right:0}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin-right:.5em;margin-bottom:.5em}.wp-block-buttons>.wp-block-button:last-child{margin-right:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right>.wp-block-button{margin-left:.5em;margin-right:0}.wp-block-buttons.is-content-justification-right>.wp-block-button:first-child{margin-left:0}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons.alignleft .wp-block-button{margin-left:0;margin-right:.5em}.wp-block-buttons.alignleft .wp-block-button:last-child{margin-right:0}.wp-block-buttons.alignright .wp-block-button{margin-right:0;margin-left:.5em}.wp-block-buttons.alignright .wp-block-button:first-child{margin-left:0}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}.wp-block-columns{display:flex;margin-bottom:1.75em;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column:not(:only-child){flex-basis:calc(50% - 1em)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-left:2em}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-column:not(:first-child){margin-left:2em}}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;display:flex;justify-content:center;align-items:center;padding:1em;box-sizing:border-box}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:100%;z-index:1;color:#fff}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover;outline:none;border:none;box-shadow:none}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:840px;padding:.44em;text-align:center}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 1em 1em 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:3em .77em .7em;color:#fff;text-align:center;font-size:.8em;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);box-sizing:border-box;margin:0}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-right:1em}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-right:1em}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-right:1em}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-right:1em}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-right:1em}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-right:1em}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-group{box-sizing:border-box}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:2.25em;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 1.25em 1.25em 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-right:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-right:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-right:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-right:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-right:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;color:#555;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-top:.5em;margin-bottom:1em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{ +@charset "UTF-8";#start-resizable-editor-section{display:none}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}.wp-block-button__link{color:#fff;background-color:#32373c;border:none;border-radius:1.55em;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:.667em 1.333em;text-align:center;text-decoration:none;overflow-wrap:break-word}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{margin-right:0;width:100%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>.wp-block-button__link,.wp-block-button__link.is-style-outline{border:2px solid}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:#32373c}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}.wp-block-buttons{display:flex;flex-direction:row;flex-wrap:wrap}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button{margin-right:0}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin-left:0;margin-right:.5em;margin-bottom:.5em}.wp-block-buttons>.wp-block-button:last-child{margin-right:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right>.wp-block-button{margin-left:.5em;margin-right:0}.wp-block-buttons.is-content-justification-right>.wp-block-button:first-child{margin-left:0}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons.alignleft .wp-block-button{margin-left:0;margin-right:.5em}.wp-block-buttons.alignleft .wp-block-button:last-child{margin-right:0}.wp-block-buttons.alignright .wp-block-button{margin-right:0;margin-left:.5em}.wp-block-buttons.alignright .wp-block-button:first-child{margin-left:0}.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}.wp-block-columns{display:flex;margin-bottom:1.75em;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column:not(:only-child){flex-basis:calc(50% - 1em)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-left:2em}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-column:not(:first-child){margin-left:2em}}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{-ms-grid-row-align:center;align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}.wp-block-cover,.wp-block-cover-image{position:relative;background-size:cover;background-position:50%;min-height:430px;width:100%;display:flex;justify-content:center;align-items:center;padding:1em;box-sizing:border-box}.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:fixed}@supports (-webkit-overflow-scrolling:touch){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}@media (prefers-reduced-motion:reduce){.wp-block-cover-image.has-parallax,.wp-block-cover.has-parallax{background-attachment:scroll}}.wp-block-cover-image.is-repeated,.wp-block-cover.is-repeated{background-repeat:repeat;background-size:auto}.wp-block-cover-image.has-background-dim:not([class*=-background-color]),.wp-block-cover.has-background-dim:not([class*=-background-color]){background-color:#000}.wp-block-cover-image.has-background-dim:before,.wp-block-cover.has-background-dim:before{content:"";background-color:inherit}.wp-block-cover-image.has-background-dim:not(.has-background-gradient):before,.wp-block-cover-image .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim:not(.has-background-gradient):before,.wp-block-cover .wp-block-cover__gradient-background{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient):before{opacity:.1}.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient):before{opacity:.2}.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient):before{opacity:.3}.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient):before{opacity:.4}.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient):before{opacity:.5}.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient):before{opacity:.6}.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient):before{opacity:.7}.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient):before{opacity:.8}.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient):before{opacity:.9}.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient):before,.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient):before{opacity:1}.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.alignleft,.wp-block-cover.alignright{max-width:420px;width:100%}.wp-block-cover-image:after,.wp-block-cover:after{display:block;content:"";font-size:0;min-height:inherit}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-cover-image:after,.wp-block-cover:after{content:none}}.wp-block-cover-image.aligncenter,.wp-block-cover-image.alignleft,.wp-block-cover-image.alignright,.wp-block-cover.aligncenter,.wp-block-cover.alignleft,.wp-block-cover.alignright{display:flex}.wp-block-cover-image .wp-block-cover__inner-container,.wp-block-cover .wp-block-cover__inner-container{width:100%;z-index:1;color:#fff}.wp-block-cover-image .wp-block-subhead:not(.has-text-color),.wp-block-cover-image h1:not(.has-text-color),.wp-block-cover-image h2:not(.has-text-color),.wp-block-cover-image h3:not(.has-text-color),.wp-block-cover-image h4:not(.has-text-color),.wp-block-cover-image h5:not(.has-text-color),.wp-block-cover-image h6:not(.has-text-color),.wp-block-cover-image p:not(.has-text-color),.wp-block-cover .wp-block-subhead:not(.has-text-color),.wp-block-cover h1:not(.has-text-color),.wp-block-cover h2:not(.has-text-color),.wp-block-cover h3:not(.has-text-color),.wp-block-cover h4:not(.has-text-color),.wp-block-cover h5:not(.has-text-color),.wp-block-cover h6:not(.has-text-color),.wp-block-cover p:not(.has-text-color){color:inherit}.wp-block-cover-image.is-position-top-left,.wp-block-cover.is-position-top-left{align-items:flex-start;justify-content:flex-start}.wp-block-cover-image.is-position-top-center,.wp-block-cover.is-position-top-center{align-items:flex-start;justify-content:center}.wp-block-cover-image.is-position-top-right,.wp-block-cover.is-position-top-right{align-items:flex-start;justify-content:flex-end}.wp-block-cover-image.is-position-center-left,.wp-block-cover.is-position-center-left{align-items:center;justify-content:flex-start}.wp-block-cover-image.is-position-center-center,.wp-block-cover.is-position-center-center{align-items:center;justify-content:center}.wp-block-cover-image.is-position-center-right,.wp-block-cover.is-position-center-right{align-items:center;justify-content:flex-end}.wp-block-cover-image.is-position-bottom-left,.wp-block-cover.is-position-bottom-left{align-items:flex-end;justify-content:flex-start}.wp-block-cover-image.is-position-bottom-center,.wp-block-cover.is-position-bottom-center{align-items:flex-end;justify-content:center}.wp-block-cover-image.is-position-bottom-right,.wp-block-cover.is-position-bottom-right{align-items:flex-end;justify-content:flex-end}.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container{margin:0;width:auto}.wp-block-cover-image img.wp-block-cover__image-background,.wp-block-cover-image video.wp-block-cover__video-background,.wp-block-cover img.wp-block-cover__image-background,.wp-block-cover video.wp-block-cover__video-background{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover;outline:none;border:none;box-shadow:none}.wp-block-cover__image-background,.wp-block-cover__video-background{z-index:0}.wp-block-cover-image-text,.wp-block-cover-text,section.wp-block-cover-image h2{color:#fff}.wp-block-cover-image-text a,.wp-block-cover-image-text a:active,.wp-block-cover-image-text a:focus,.wp-block-cover-image-text a:hover,.wp-block-cover-text a,.wp-block-cover-text a:active,.wp-block-cover-text a:focus,.wp-block-cover-text a:hover,section.wp-block-cover-image h2 a,section.wp-block-cover-image h2 a:active,section.wp-block-cover-image h2 a:focus,section.wp-block-cover-image h2 a:hover{color:#fff}.wp-block-cover-image .wp-block-cover.has-left-content{justify-content:flex-start}.wp-block-cover-image .wp-block-cover.has-right-content{justify-content:flex-end}.wp-block-cover-image.has-left-content .wp-block-cover-image-text,.wp-block-cover.has-left-content .wp-block-cover-text,section.wp-block-cover-image.has-left-content>h2{margin-left:0;text-align:left}.wp-block-cover-image.has-right-content .wp-block-cover-image-text,.wp-block-cover.has-right-content .wp-block-cover-text,section.wp-block-cover-image.has-right-content>h2{margin-right:0;text-align:right}.wp-block-cover-image .wp-block-cover-image-text,.wp-block-cover .wp-block-cover-text,section.wp-block-cover-image>h2{font-size:2em;line-height:1.25;z-index:1;margin-bottom:0;max-width:840px;padding:.44em;text-align:center}.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-width:320px;min-height:240px}.wp-block-embed{margin-bottom:1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}.blocks-gallery-grid,.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0;margin:0}.blocks-gallery-grid .blocks-gallery-image,.blocks-gallery-grid .blocks-gallery-item,.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 1em 1em 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image figure,.blocks-gallery-grid .blocks-gallery-item figure,.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto;width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid .blocks-gallery-image img,.blocks-gallery-grid .blocks-gallery-item img,.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.blocks-gallery-grid .blocks-gallery-image figcaption,.blocks-gallery-grid .blocks-gallery-item figcaption,.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:3em .77em .7em;color:#fff;text-align:center;font-size:.8em;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 70%,transparent);box-sizing:border-box;margin:0}.blocks-gallery-grid .blocks-gallery-image figcaption img,.blocks-gallery-grid .blocks-gallery-item figcaption img,.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid figcaption,.wp-block-gallery figcaption{flex-grow:1}.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.blocks-gallery-grid.is-cropped .blocks-gallery-image a,.blocks-gallery-grid.is-cropped .blocks-gallery-image img,.blocks-gallery-grid.is-cropped .blocks-gallery-item a,.blocks-gallery-grid.is-cropped .blocks-gallery-item img,.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.blocks-gallery-grid.columns-1 .blocks-gallery-image,.blocks-gallery-grid.columns-1 .blocks-gallery-item,.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.blocks-gallery-grid.columns-3 .blocks-gallery-image,.blocks-gallery-grid.columns-3 .blocks-gallery-item,.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-right:1em}.blocks-gallery-grid.columns-4 .blocks-gallery-image,.blocks-gallery-grid.columns-4 .blocks-gallery-item,.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-right:1em}.blocks-gallery-grid.columns-5 .blocks-gallery-image,.blocks-gallery-grid.columns-5 .blocks-gallery-item,.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-right:1em}.blocks-gallery-grid.columns-6 .blocks-gallery-image,.blocks-gallery-grid.columns-6 .blocks-gallery-item,.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-right:1em}.blocks-gallery-grid.columns-7 .blocks-gallery-image,.blocks-gallery-grid.columns-7 .blocks-gallery-item,.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-right:1em}.blocks-gallery-grid.columns-8 .blocks-gallery-image,.blocks-gallery-grid.columns-8 .blocks-gallery-item,.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-right:1em}.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid .blocks-gallery-image:last-child,.blocks-gallery-grid .blocks-gallery-item:last-child,.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid.alignleft,.blocks-gallery-grid.alignright,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:420px;width:100%}.blocks-gallery-grid.aligncenter .blocks-gallery-item figure,.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-group{box-sizing:border-box}h1.has-background,h2.has-background,h3.has-background,h4.has-background,h5.has-background,h6.has-background{padding:1.25em 2.375em}.wp-block-image{margin-bottom:1em}.wp-block-image img{max-width:100%}.wp-block-image:not(.is-style-rounded) img{border-radius:inherit}.wp-block-image.aligncenter{text-align:center}.wp-block-image.alignfull img,.wp-block-image.alignwide img{width:100%}.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:table}.wp-block-image .aligncenter>figcaption,.wp-block-image .alignleft>figcaption,.wp-block-image .alignright>figcaption{display:table-caption;caption-side:bottom}.wp-block-image .alignleft{float:left;margin:.5em 1em .5em 0}.wp-block-image .alignright{float:right;margin:.5em 0 .5em 1em}.wp-block-image .aligncenter{margin-left:auto;margin-right:auto}.wp-block-image figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-image.is-style-circle-mask img,.wp-block-image.is-style-rounded img{border-radius:9999px}@supports ((-webkit-mask-image:none) or (mask-image:none)) or (-webkit-mask-image:none){.wp-block-image.is-style-circle-mask img{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-latest-comments__comment{line-height:1.1;list-style:none;margin-bottom:1em}.has-avatars .wp-block-latest-comments__comment{min-height:2.25em;list-style:none}.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta{margin-left:3.25em}.has-dates .wp-block-latest-comments__comment,.has-excerpts .wp-block-latest-comments__comment{line-height:1.5}.wp-block-latest-comments__comment-excerpt p{font-size:.875em;line-height:1.8;margin:.36em 0 1.4em}.wp-block-latest-comments__comment-date{display:block;font-size:.75em}.wp-block-latest-comments .avatar,.wp-block-latest-comments__comment-avatar{border-radius:1.5em;display:block;float:left;height:2.5em;margin-right:.75em;width:2.5em}.wp-block-latest-posts.alignleft{margin-right:2em}.wp-block-latest-posts.alignright{margin-left:2em}.wp-block-latest-posts.wp-block-latest-posts__list{list-style:none}.wp-block-latest-posts.wp-block-latest-posts__list li{clear:both}.wp-block-latest-posts.is-grid{display:flex;flex-wrap:wrap;padding:0}.wp-block-latest-posts.is-grid li{margin:0 1.25em 1.25em 0;width:100%}@media (min-width:600px){.wp-block-latest-posts.columns-2 li{width:calc(50% - .625em)}.wp-block-latest-posts.columns-2 li:nth-child(2n){margin-right:0}.wp-block-latest-posts.columns-3 li{width:calc(33.33333% - .83333em)}.wp-block-latest-posts.columns-3 li:nth-child(3n){margin-right:0}.wp-block-latest-posts.columns-4 li{width:calc(25% - .9375em)}.wp-block-latest-posts.columns-4 li:nth-child(4n){margin-right:0}.wp-block-latest-posts.columns-5 li{width:calc(20% - 1em)}.wp-block-latest-posts.columns-5 li:nth-child(5n){margin-right:0}.wp-block-latest-posts.columns-6 li{width:calc(16.66667% - 1.04167em)}.wp-block-latest-posts.columns-6 li:nth-child(6n){margin-right:0}}.wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date{display:block;color:#555;font-size:.8125em}.wp-block-latest-posts__post-excerpt{margin-top:.5em;margin-bottom:1em}.wp-block-latest-posts__featured-image a{display:inline-block}.wp-block-latest-posts__featured-image img{height:auto;width:auto}.wp-block-latest-posts__featured-image.alignleft{margin-right:1em}.wp-block-latest-posts__featured-image.alignright{margin-left:1em}.wp-block-latest-posts__featured-image.aligncenter{margin-bottom:1em;text-align:center}.block-editor-image-alignment-control__row .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label{margin-bottom:0}ol.has-background,ul.has-background{padding:1.25em 2.375em}.wp-block-media-text{ /*!rtl:begin:ignore*/direction:ltr; /*!rtl:end:ignore*/display:-ms-grid;display:grid;-ms-grid-columns:50% 1fr;grid-template-columns:50% 1fr;-ms-grid-rows:auto;grid-template-rows:auto}.wp-block-media-text.has-media-on-the-right{-ms-grid-columns:1fr 50%;grid-template-columns:1fr 50%}.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media{-ms-grid-row-align:start;align-self:start}.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media,.wp-block-media-text .wp-block-media-text__content,.wp-block-media-text .wp-block-media-text__media{-ms-grid-row-align:center;align-self:center}.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content,.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media{-ms-grid-row-align:end;align-self:end}.wp-block-media-text .wp-block-media-text__media{ /*!rtl:begin:ignore*/-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1; diff --git a/wp-includes/css/dist/block-library/theme-rtl.css b/wp-includes/css/dist/block-library/theme-rtl.css index be8d91059c..95db5359a4 100644 --- a/wp-includes/css/dist/block-library/theme-rtl.css +++ b/wp-includes/css/dist/block-library/theme-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/block-library/theme.css b/wp-includes/css/dist/block-library/theme.css index d66790c894..095844f99a 100644 --- a/wp-includes/css/dist/block-library/theme.css +++ b/wp-includes/css/dist/block-library/theme.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/components/style-rtl.css b/wp-includes/css/dist/components/style-rtl.css index e38fbe6785..5855d06cca 100644 --- a/wp-includes/css/dist/components/style-rtl.css +++ b/wp-includes/css/dist/components/style-rtl.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/components/style.css b/wp-includes/css/dist/components/style.css index 08e9c9355d..a67bd466d0 100644 --- a/wp-includes/css/dist/components/style.css +++ b/wp-includes/css/dist/components/style.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/edit-post/style-rtl.css b/wp-includes/css/dist/edit-post/style-rtl.css index c976d50a42..fe9e429129 100644 --- a/wp-includes/css/dist/edit-post/style-rtl.css +++ b/wp-includes/css/dist/edit-post/style-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/edit-post/style.css b/wp-includes/css/dist/edit-post/style.css index 5fdf31c52f..35e36e28e1 100644 --- a/wp-includes/css/dist/edit-post/style.css +++ b/wp-includes/css/dist/edit-post/style.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/editor/editor-styles-rtl.css b/wp-includes/css/dist/editor/editor-styles-rtl.css index b3811c7f5d..f832625dcb 100644 --- a/wp-includes/css/dist/editor/editor-styles-rtl.css +++ b/wp-includes/css/dist/editor/editor-styles-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/editor/editor-styles.css b/wp-includes/css/dist/editor/editor-styles.css index 1280b4e96d..19829febb1 100644 --- a/wp-includes/css/dist/editor/editor-styles.css +++ b/wp-includes/css/dist/editor/editor-styles.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/editor/style-rtl.css b/wp-includes/css/dist/editor/style-rtl.css index 4f3eb4f5cd..a5dca32ce6 100644 --- a/wp-includes/css/dist/editor/style-rtl.css +++ b/wp-includes/css/dist/editor/style-rtl.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/editor/style.css b/wp-includes/css/dist/editor/style.css index 3515ffead6..e735dd77c4 100644 --- a/wp-includes/css/dist/editor/style.css +++ b/wp-includes/css/dist/editor/style.css @@ -10,6 +10,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/format-library/style-rtl.css b/wp-includes/css/dist/format-library/style-rtl.css index 432424768d..784fb45ac7 100644 --- a/wp-includes/css/dist/format-library/style-rtl.css +++ b/wp-includes/css/dist/format-library/style-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/format-library/style.css b/wp-includes/css/dist/format-library/style.css index 46ee27bd19..b71159b612 100644 --- a/wp-includes/css/dist/format-library/style.css +++ b/wp-includes/css/dist/format-library/style.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css index 7ca330d8f1..d70e8e1128 100644 --- a/wp-includes/css/dist/list-reusable-blocks/style-rtl.css +++ b/wp-includes/css/dist/list-reusable-blocks/style-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/list-reusable-blocks/style.css b/wp-includes/css/dist/list-reusable-blocks/style.css index bacf038cb9..ad21981b2c 100644 --- a/wp-includes/css/dist/list-reusable-blocks/style.css +++ b/wp-includes/css/dist/list-reusable-blocks/style.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/nux/style-rtl.css b/wp-includes/css/dist/nux/style-rtl.css index 53a02091ce..de2f410b4e 100644 --- a/wp-includes/css/dist/nux/style-rtl.css +++ b/wp-includes/css/dist/nux/style-rtl.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/css/dist/nux/style.css b/wp-includes/css/dist/nux/style.css index 3a24a6820f..8d07d58cf8 100644 --- a/wp-includes/css/dist/nux/style.css +++ b/wp-includes/css/dist/nux/style.css @@ -9,6 +9,7 @@ * * Please use variables from this sheet to ensure consistency across the UI. * Don't add to this sheet unless you're pretty sure the value will be reused in many places. + * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. */ /** * Colors diff --git a/wp-includes/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index 55b277b0a3..b1b919f0eb 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -10009,6 +10009,60 @@ function useIsTypographyDisabled() { return configs.filter(Boolean).length === configs.length; } +// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/unit-control/index.js + + + + +/** + * WordPress dependencies + */ + +/** + * Internal dependencies + */ + + +function UnitControl(_ref) { + var unitsProp = _ref.units, + props = Object(objectWithoutProperties["a" /* default */])(_ref, ["units"]); + + var units = useCustomUnits(unitsProp); + return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], Object(esm_extends["a" /* default */])({ + units: units + }, props)); +} +/** + * Filters available units based on values defined by settings. + * + * @param {Array} settings Collection of preferred units. + * @param {Array} units Collection of available units. + * + * @return {Array} Filtered units based on settings. + */ + +function filterUnitsWithSettings() { + var settings = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var units = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + return units.filter(function (unit) { + return settings.includes(unit.value); + }); +} +/** + * Custom hook to retrieve and consolidate units setting from add_theme_support(). + * + * @param {Array} units Collection of available units. + * + * @return {Array} Filtered units based on settings. + */ + + +function useCustomUnits(units) { + var availableUnits = useEditorFeature('spacing.units'); + var usedUnits = filterUnitsWithSettings(!availableUnits ? [] : availableUnits, units); + return usedUnits.length === 0 ? false : usedUnits; +} + // CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/hooks/padding.js @@ -10037,11 +10091,11 @@ var padding_hasPaddingSupport = function hasPaddingSupport(blockName) { return spacingSupport && spacingSupport.padding !== false; }; /** - * Inspector control panel containing the line height related configuration + * Inspector control panel containing the padding related configuration * * @param {Object} props * - * @return {WPElement} Line height edit element. + * @return {WPElement} Padding edit element. */ @@ -10051,13 +10105,7 @@ function PaddingEdit(props) { var blockName = props.name, style = props.attributes.style, setAttributes = props.setAttributes; - var customUnits = useEditorFeature('spacing.units'); - var units = customUnits === null || customUnits === void 0 ? void 0 : customUnits.map(function (unit) { - return { - value: unit, - label: unit - }; - }); + var units = useCustomUnits(); if (!padding_hasPaddingSupport(blockName)) { return null; @@ -33148,60 +33196,6 @@ function ToolSelector(props, ref) { /* harmony default export */ var tool_selector = (Object(external_wp_element_["forwardRef"])(ToolSelector)); -// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/unit-control/index.js - - - - -/** - * WordPress dependencies - */ - -/** - * Internal dependencies - */ - - -function UnitControl(_ref) { - var unitsProp = _ref.units, - props = Object(objectWithoutProperties["a" /* default */])(_ref, ["units"]); - - var units = useCustomUnits(unitsProp); - return Object(external_wp_element_["createElement"])(external_wp_components_["__experimentalUnitControl"], Object(esm_extends["a" /* default */])({ - units: units - }, props)); -} -/** - * Filters available units based on values defined by settings. - * - * @param {Array} settings Collection of preferred units. - * @param {Array} units Collection of available units. - * - * @return {Array} Filtered units based on settings. - */ - -function filterUnitsWithSettings() { - var settings = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; - var units = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - return units.filter(function (unit) { - return settings.includes(unit.value); - }); -} -/** - * Custom hook to retrieve and consolidate units setting from add_theme_support(). - * - * @param {Array} units Collection of available units. - * - * @return {Array} Filtered units based on settings. - */ - - -function useCustomUnits(units) { - var availableUnits = useEditorFeature('spacing.units'); - var usedUnits = filterUnitsWithSettings(!availableUnits ? [] : availableUnits, units); - return usedUnits.length === 0 ? false : usedUnits; -} - // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/link.js var library_link = __webpack_require__(192); diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index a66d8d27f1..55621af529 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -9,4 +9,4 @@ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[ autosize 4.0.2 license: MIT http://www.jacklmoore.com/autosize -*/o=[e,t],void 0===(c="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,i=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r0?!0===i?r.scrollTop(t,h.top+j.top):!1===i?r.scrollTop(t,h.top+k.top):j.top<0?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top):c||((i=void 0===i||!!i)?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,h.left+j.left):!1===a?r.scrollLeft(t,h.left+k.left):j.left<0?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left):c||((a=void 0===a||!!a)?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left)))}},191:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=o;case"max":return c<=o;default:return c===o}}));return o&&!n||!o&&n}))},t.parse=l;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],i=t[2],a=t[3]||"",l={};return l.inverse=!!n&&"not"===n.toLowerCase(),l.type=i?i.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],l.expressions=a.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),l}))}function s(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function d(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},281:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var b=n?c(d):d,f={},p=!0,m={node:b,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(p=!1)},delete:function(e){delete m.parent.node[m.key],e&&(p=!1)},remove:function(e){l(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(p=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=i(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;ee.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var b=t[i-1];return i>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[i-2].value+=b.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,b=[{newPos:-1,components:[]}],f=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=l&&f+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,d=b[n-1],f=b[n+1],p=(f?f.newPos:0)-n;d&&(b[n-1]=void 0);var m=d&&d.newPos+1=l&&p+1>=s)return a(o(i,r.components,t,e,i.useLongestToken));b[n]=r}else b[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>d)return r();p()||e()}),0)}();else for(;u<=d;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,c=n.length,i=e.newPos,a=i-r,l=0;i+1=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},456:function(e,t,n){"use strict";n.r(t),n.d(t,"getColorClassName",(function(){return Pe})),n.d(t,"getColorObjectByAttributeValues",(function(){return Ie})),n.d(t,"getColorObjectByColorValue",(function(){return xe})),n.d(t,"createCustomColorsHOC",(function(){return qn})),n.d(t,"withColors",(function(){return $n})),n.d(t,"__experimentalUseColors",(function(){return ur})),n.d(t,"__experimentalGetGradientClass",(function(){return Ne})),n.d(t,"getGradientValueBySlug",(function(){return De})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Ae})),n.d(t,"getGradientSlugByValue",(function(){return Re})),n.d(t,"__experimentalUseGradient",(function(){return Le})),n.d(t,"getFontSize",(function(){return un})),n.d(t,"getFontSizeClass",(function(){return bn})),n.d(t,"getFontSizeObjectByValue",(function(){return dn})),n.d(t,"FontSizePicker",(function(){return fn})),n.d(t,"withFontSizes",(function(){return mr})),n.d(t,"AlignmentToolbar",(function(){return _r})),n.d(t,"Autocomplete",(function(){return Hr})),n.d(t,"BlockAlignmentToolbar",(function(){return z})),n.d(t,"__experimentalBlockFullHeightAligmentToolbar",(function(){return Gr})),n.d(t,"__experimentalBlockAlignmentMatrixToolbar",(function(){return Ur})),n.d(t,"BlockBreadcrumb",(function(){return Da})),n.d(t,"BlockContextProvider",(function(){return Ma})),n.d(t,"BlockControls",(function(){return C})),n.d(t,"BlockColorsStyleSelector",(function(){return za})),n.d(t,"BlockEdit",(function(){return Wa})),n.d(t,"useBlockEditContext",(function(){return h})),n.d(t,"BlockFormatControls",(function(){return Xa})),n.d(t,"BlockIcon",(function(){return Mr})),n.d(t,"BlockNavigationDropdown",(function(){return qd})),n.d(t,"__experimentalBlockNavigationBlockFill",(function(){return xd})),n.d(t,"__experimentalBlockNavigationEditor",(function(){return lb})),n.d(t,"__experimentalBlockNavigationTree",(function(){return Gd})),n.d(t,"__experimentalBlockVariationPicker",(function(){return ub})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return fb})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return kb})),n.d(t,"ButtonBlockerAppender",(function(){return Rs})),n.d(t,"ColorPalette",(function(){return Cb})),n.d(t,"ColorPaletteControl",(function(){return wb})),n.d(t,"ContrastChecker",(function(){return it})),n.d(t,"__experimentalGradientPicker",(function(){return Ib})),n.d(t,"__experimentalGradientPickerControl",(function(){return xb})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Pb})),n.d(t,"__experimentalFontAppearanceControl",(function(){return Yt})),n.d(t,"__experimentalFontFamilyControl",(function(){return nn})),n.d(t,"__experimentalColorGradientControl",(function(){return $e})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return rt})),n.d(t,"__experimentalImageSizeControl",(function(){return Nb})),n.d(t,"InnerBlocks",(function(){return Kb})),n.d(t,"__experimentalUseInnerBlocksProps",(function(){return Wb})),n.d(t,"InspectorAdvancedControls",(function(){return ee})),n.d(t,"InspectorControls",(function(){return ce})),n.d(t,"__experimentalLinkControl",(function(){return Cf})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return Of})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return af})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return cf})),n.d(t,"LineHeightControl",(function(){return zt})),n.d(t,"MediaReplaceFlow",(function(){return xf})),n.d(t,"MediaPlaceholder",(function(){return Rf})),n.d(t,"MediaUpload",(function(){return Bf})),n.d(t,"MediaUploadCheck",(function(){return If})),n.d(t,"PanelColorSettings",(function(){return Jn})),n.d(t,"PlainText",(function(){return Ff})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Hf})),n.d(t,"RichText",(function(){return ab})),n.d(t,"RichTextShortcut",(function(){return zf})),n.d(t,"RichTextToolbarButton",(function(){return Gf})),n.d(t,"__unstableRichTextInputEvent",(function(){return Wf})),n.d(t,"ToolSelector",(function(){return qf})),n.d(t,"__experimentalUnitControl",(function(){return $f})),n.d(t,"URLInput",(function(){return nf})),n.d(t,"URLInputButton",(function(){return Zf})),n.d(t,"URLPopover",(function(){return Df})),n.d(t,"__experimentalImageURLInputUI",(function(){return np})),n.d(t,"withColorContext",(function(){return Eb})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return Iu})),n.d(t,"__experimentalInserterMenuExtension",(function(){return ys})),n.d(t,"__experimentalPreviewOptions",(function(){return op})),n.d(t,"__experimentalUseResizeCanvas",(function(){return dp})),n.d(t,"BlockInspector",(function(){return Op})),n.d(t,"BlockList",(function(){return Zu})),n.d(t,"useBlockProps",(function(){return md})),n.d(t,"__experimentalBlock",(function(){return _p})),n.d(t,"BlockMover",(function(){return tu})),n.d(t,"BlockPreview",(function(){return Yl})),n.d(t,"BlockSelectionClearer",(function(){return Cp})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return Ep})),n.d(t,"BlockSettingsMenu",(function(){return Fu})),n.d(t,"BlockSettingsMenuControls",(function(){return Ru})),n.d(t,"BlockTitle",(function(){return Na})),n.d(t,"BlockToolbar",(function(){return Uu})),n.d(t,"CopyHandler",(function(){return yu})),n.d(t,"__unstableUseClipboardHandler",(function(){return ku})),n.d(t,"DefaultBlockAppender",(function(){return As})),n.d(t,"__unstableUseEditorStyles",(function(){return Xp})),n.d(t,"Inserter",(function(){return Ds})),n.d(t,"__experimentalLibrary",(function(){return Qp})),n.d(t,"__experimentalSearchForm",(function(){return Vl})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Jp})),n.d(t,"MultiSelectScrollIntoView",(function(){return tm})),n.d(t,"__unstableUseScrollMultiSelectionIntoView",(function(){return em})),n.d(t,"NavigableToolbar",(function(){return Js})),n.d(t,"ObserveTyping",(function(){return cm})),n.d(t,"__unstableUseTypingObserver",(function(){return om})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return rm})),n.d(t,"PreserveScrollInReorder",(function(){return im})),n.d(t,"SkipToSelectedBlock",(function(){return bp})),n.d(t,"Typewriter",(function(){return um})),n.d(t,"__unstableUseTypewriter",(function(){return sm})),n.d(t,"Warning",(function(){return jl})),n.d(t,"WritingFlow",(function(){return dd})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return bm})),n.d(t,"useBlockDisplayInformation",(function(){return Ta})),n.d(t,"__unstableIframe",(function(){return gm})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return hm})),n.d(t,"BlockEditorProvider",(function(){return Kl})),n.d(t,"__experimentalUseSimulatedMediaQuery",(function(){return up})),n.d(t,"__experimentalUseEditorFeature",(function(){return ge})),n.d(t,"transformStyles",(function(){return Yp})),n.d(t,"validateThemeColors",(function(){return jm})),n.d(t,"validateThemeGradients",(function(){return km})),n.d(t,"__experimentalGetMatchingVariation",(function(){return db})),n.d(t,"storeConfig",(function(){return xa})),n.d(t,"store",(function(){return Pa})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Kr}));var r={};n.r(r),n.d(r,"getBlockName",(function(){return Oo})),n.d(r,"isBlockValid",(function(){return ho})),n.d(r,"getBlockAttributes",(function(){return jo})),n.d(r,"getBlock",(function(){return ko})),n.d(r,"__unstableGetBlockWithoutInnerBlocks",(function(){return yo})),n.d(r,"getBlocks",(function(){return _o})),n.d(r,"__unstableGetBlockWithBlockTree",(function(){return Eo})),n.d(r,"__unstableGetBlockTree",(function(){return Co})),n.d(r,"getClientIdsOfDescendants",(function(){return wo})),n.d(r,"getClientIdsWithDescendants",(function(){return So})),n.d(r,"getGlobalBlockCount",(function(){return Bo})),n.d(r,"getBlocksByClientId",(function(){return Io})),n.d(r,"getBlockCount",(function(){return xo})),n.d(r,"getSelectionStart",(function(){return Po})),n.d(r,"getSelectionEnd",(function(){return To})),n.d(r,"getBlockSelectionStart",(function(){return No})),n.d(r,"getBlockSelectionEnd",(function(){return Do})),n.d(r,"getSelectedBlockCount",(function(){return Ao})),n.d(r,"hasSelectedBlock",(function(){return Ro})),n.d(r,"getSelectedBlockClientId",(function(){return Lo})),n.d(r,"getSelectedBlock",(function(){return Mo})),n.d(r,"getBlockRootClientId",(function(){return Fo})),n.d(r,"getBlockParents",(function(){return Vo})),n.d(r,"getBlockParentsByBlockName",(function(){return Ho})),n.d(r,"getBlockHierarchyRootClientId",(function(){return zo})),n.d(r,"getLowestCommonAncestorWithSelectedBlock",(function(){return Go})),n.d(r,"getAdjacentBlockClientId",(function(){return Uo})),n.d(r,"getPreviousBlockClientId",(function(){return Wo})),n.d(r,"getNextBlockClientId",(function(){return Ko})),n.d(r,"getSelectedBlocksInitialCaretPosition",(function(){return qo})),n.d(r,"getSelectedBlockClientIds",(function(){return $o})),n.d(r,"getMultiSelectedBlockClientIds",(function(){return Yo})),n.d(r,"getMultiSelectedBlocks",(function(){return Xo})),n.d(r,"getFirstMultiSelectedBlockClientId",(function(){return Qo})),n.d(r,"getLastMultiSelectedBlockClientId",(function(){return Zo})),n.d(r,"isFirstMultiSelectedBlock",(function(){return Jo})),n.d(r,"isBlockMultiSelected",(function(){return ec})),n.d(r,"isAncestorMultiSelected",(function(){return tc})),n.d(r,"getMultiSelectedBlocksStartClientId",(function(){return nc})),n.d(r,"getMultiSelectedBlocksEndClientId",(function(){return rc})),n.d(r,"getBlockOrder",(function(){return oc})),n.d(r,"getBlockIndex",(function(){return cc})),n.d(r,"isBlockSelected",(function(){return ic})),n.d(r,"hasSelectedInnerBlock",(function(){return ac})),n.d(r,"isBlockWithinSelection",(function(){return lc})),n.d(r,"hasMultiSelection",(function(){return sc})),n.d(r,"isMultiSelecting",(function(){return uc})),n.d(r,"isSelectionEnabled",(function(){return dc})),n.d(r,"getBlockMode",(function(){return bc})),n.d(r,"isTyping",(function(){return fc})),n.d(r,"isDraggingBlocks",(function(){return pc})),n.d(r,"getDraggedBlockClientIds",(function(){return mc})),n.d(r,"isBlockBeingDragged",(function(){return vc})),n.d(r,"isAncestorBeingDragged",(function(){return gc})),n.d(r,"isCaretWithinFormattedText",(function(){return Oc})),n.d(r,"getBlockInsertionPoint",(function(){return hc})),n.d(r,"isBlockInsertionPointVisible",(function(){return jc})),n.d(r,"isValidTemplate",(function(){return kc})),n.d(r,"getTemplate",(function(){return yc})),n.d(r,"getTemplateLock",(function(){return _c})),n.d(r,"canInsertBlockType",(function(){return Cc})),n.d(r,"canInsertBlocks",(function(){return wc})),n.d(r,"getInserterItems",(function(){return Tc})),n.d(r,"getBlockTransformItems",(function(){return Nc})),n.d(r,"hasInserterItems",(function(){return Dc})),n.d(r,"__experimentalGetAllowedBlocks",(function(){return Ac})),n.d(r,"getBlockListSettings",(function(){return Rc})),n.d(r,"getSettings",(function(){return Lc})),n.d(r,"isLastBlockChangePersistent",(function(){return Mc})),n.d(r,"__experimentalGetBlockListSettingsForBlocks",(function(){return Fc})),n.d(r,"__experimentalGetParsedReusableBlock",(function(){return Vc})),n.d(r,"__experimentalGetReusableBlockTitle",(function(){return Hc})),n.d(r,"__unstableIsLastBlockChangeIgnored",(function(){return zc})),n.d(r,"__experimentalGetLastBlockAttributeChanges",(function(){return Gc})),n.d(r,"isNavigationMode",(function(){return Wc})),n.d(r,"hasBlockMovingClientId",(function(){return Kc})),n.d(r,"didAutomaticChange",(function(){return qc})),n.d(r,"isBlockHighlighted",(function(){return $c})),n.d(r,"areInnerBlocksControlled",(function(){return Yc})),n.d(r,"__experimentalGetActiveBlockIdByBlockNames",(function(){return Xc}));var o={};n.r(o),n.d(o,"resetBlocks",(function(){return Ci})),n.d(o,"validateBlocksToTemplate",(function(){return wi})),n.d(o,"resetSelection",(function(){return Si})),n.d(o,"receiveBlocks",(function(){return Bi})),n.d(o,"updateBlockAttributes",(function(){return Ii})),n.d(o,"updateBlock",(function(){return xi})),n.d(o,"selectBlock",(function(){return Pi})),n.d(o,"selectPreviousBlock",(function(){return Ti})),n.d(o,"selectNextBlock",(function(){return Ni})),n.d(o,"startMultiSelect",(function(){return Di})),n.d(o,"stopMultiSelect",(function(){return Ai})),n.d(o,"multiSelect",(function(){return Ri})),n.d(o,"clearSelectedBlock",(function(){return Li})),n.d(o,"toggleSelection",(function(){return Mi})),n.d(o,"replaceBlocks",(function(){return Vi})),n.d(o,"replaceBlock",(function(){return Hi})),n.d(o,"moveBlocksDown",(function(){return Gi})),n.d(o,"moveBlocksUp",(function(){return Ui})),n.d(o,"moveBlocksToPosition",(function(){return Wi})),n.d(o,"moveBlockToPosition",(function(){return Ki})),n.d(o,"insertBlock",(function(){return qi})),n.d(o,"insertBlocks",(function(){return $i})),n.d(o,"__unstableSetInsertionPoint",(function(){return Yi})),n.d(o,"showInsertionPoint",(function(){return Xi})),n.d(o,"hideInsertionPoint",(function(){return Qi})),n.d(o,"setTemplateValidity",(function(){return Zi})),n.d(o,"synchronizeTemplate",(function(){return Ji})),n.d(o,"mergeBlocks",(function(){return ea})),n.d(o,"removeBlocks",(function(){return ta})),n.d(o,"removeBlock",(function(){return na})),n.d(o,"replaceInnerBlocks",(function(){return ra})),n.d(o,"toggleBlockMode",(function(){return oa})),n.d(o,"startTyping",(function(){return ca})),n.d(o,"stopTyping",(function(){return ia})),n.d(o,"startDraggingBlocks",(function(){return aa})),n.d(o,"stopDraggingBlocks",(function(){return la})),n.d(o,"enterFormattedText",(function(){return sa})),n.d(o,"exitFormattedText",(function(){return ua})),n.d(o,"selectionChange",(function(){return da})),n.d(o,"insertDefaultBlock",(function(){return ba})),n.d(o,"updateBlockListSettings",(function(){return fa})),n.d(o,"updateSettings",(function(){return pa})),n.d(o,"__unstableSaveReusableBlock",(function(){return ma})),n.d(o,"__unstableMarkLastChangeAsPersistent",(function(){return va})),n.d(o,"__unstableMarkNextChangeAsNotPersistent",(function(){return ga})),n.d(o,"__unstableMarkAutomaticChange",(function(){return Oa})),n.d(o,"__unstableMarkAutomaticChangeFinal",(function(){return ha})),n.d(o,"setNavigationMode",(function(){return ja})),n.d(o,"setBlockMovingClientId",(function(){return ka})),n.d(o,"duplicateBlocks",(function(){return ya})),n.d(o,"insertBeforeBlock",(function(){return _a})),n.d(o,"insertAfterBlock",(function(){return Ea})),n.d(o,"toggleBlockHighlight",(function(){return Ca})),n.d(o,"flashBlock",(function(){return wa})),n.d(o,"setHasControlledInnerBlocks",(function(){return Sa}));var c=n(21),i=n(8),a=n(5),l=n(0),s=n(10),u=n.n(s),d=n(2),b=n(12),f=n(33),p=n(9),m=n(4),v=n(3),g=Object(l.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:d.noop,clientId:null}),O=g.Provider;function h(){return Object(l.useContext)(g)}function j(){var e=h(),t=e.isSelected,n=e.clientId,r=e.name,o=Object(m.useSelect)((function(e){if(!t){var o=e("core/block-editor"),c=o.getBlockName,i=o.isFirstMultiSelectedBlock,a=o.getMultiSelectedBlockClientIds;return!!i(n)&&a().every((function(e){return c(e)===r}))}}),[n,t,r]);return t||o}var k=Object(v.createSlotFill)("BlockControls"),y=k.Fill,_=k.Slot;var E=function(e){var t=e.controls,n=e.children;return j()?Object(l.createElement)(y,null,(function(e){var r=Object(d.isEmpty)(e)?null:e;return Object(l.createElement)(v.__experimentalToolbarContext.Provider,{value:r},Object(l.createElement)(v.ToolbarGroup,{controls:t}),n)})):null};E.Slot=function(e){var t=Object(l.useContext)(v.__experimentalToolbarContext);return Object(l.createElement)(_,Object(i.a)({},e,{fillProps:t}))};var C=E,w=n(1),S=n(7),B=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"})),I=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"})),x=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"})),P=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"})),T=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"})),N={type:"default"},D=Object(l.createContext)(N),A=D.Provider;function R(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 L(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?W.filter((function(t){return e.includes(t)})):!0===e?W:[],!r||!0===e&&!n?d.without.apply(void 0,[t].concat(K)):t}var $=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(l.createElement)(C,{key:"align-controls"},Object(l.createElement)(z,{value:t.attributes.align,onChange:function(e){var n,r;e||(null===(n=Object(p.getBlockType)(t.name).attributes)||void 0===n||null===(r=n.align)||void 0===r?void 0:r.default)&&(e="");t.setAttributes({align:e})},controls:r})),Object(l.createElement)(e,Object(i.a)({key:"edit"},t))]}}),"withToolbarControls"),Y=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(m.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(l.createElement)(e,t);var c=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return c.includes(r)&&(a=U(U({},a),{},{"data-align":r})),Object(l.createElement)(e,Object(i.a)({},t,{wrapperProps:a}))}}));Object(f.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(d.has)(e.attributes,["align","type"])||Object(p.hasBlockSupport)(e,"align")&&(e.attributes=U(U({},e.attributes),{},{align:{type:"string",enum:[].concat(W,[""])}})),e})),Object(f.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Y),Object(f.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align;return q(Object(p.getBlockSupport)(t,"align"),Object(p.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=u()("align".concat(r),e.className)),e}));var X=Object(v.createSlotFill)("InspectorAdvancedControls"),Q=X.Fill,Z=X.Slot;function J(e){var t=e.children;return h().isSelected?Object(l.createElement)(Q,null,t):null}J.slotName="InspectorAdvancedControls",J.Slot=Z;var ee=J,te=Object(v.createSlotFill)("InspectorControls"),ne=te.Fill,re=te.Slot;function oe(e){var t=e.children;return j()?Object(l.createElement)(ne,null,t):null}oe.Slot=re;var ce=oe;function ie(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 ae(e){for(var t=1;t");var t=Object(p.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(f.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(p.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=de(de({},e.attributes),{},{className:{type:"string"}})),e})),Object(f.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",be),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(p.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e})),Object(f.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(p.hasBlockSupport)(t,"customClassName",!0)){var r=Object(d.omit)(e,["className"]),o=Object(p.getSaveContent)(t,r),c=fe(o),i=fe(n),a=Object(d.difference)(i,c);a.length?e.className=a.join(" "):o&&delete e.className}return e}));var pe=n(15);Object(f.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(p.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(d.uniq)([Object(p.getBlockDefaultClassName)(t.name)].concat(Object(pe.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(p.getBlockDefaultClassName)(t.name)),e}));var me={"color.palette":function(e){return void 0===e.colors?void 0:e.colors},"color.gradients":function(e){return void 0===e.gradients?void 0:e.gradients},"color.custom":function(e){return void 0===e.disableCustomColors?void 0:!e.disableCustomColors},"color.customGradient":function(e){return void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients},"typography.fontSizes":function(e){return void 0===e.fontSizes?void 0:e.fontSizes},"typography.customFontSize":function(e){return void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes},"typography.customLineHeight":function(e){return e.enableCustomLineHeight},"spacing.units":function(e){if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw"]:e.enableCustomUnits},"spacing.customPadding":function(e){return e.enableCustomSpacing}};function ve(e,t){for(var n in t)if(t[n]!==e[n])return!1;return!0}function ge(e){var t=h(),n=t.name,r=t.clientId;return Object(m.useSelect)((function(t){var o,c=t("core/block-editor"),i=c.getBlockAttributes,a=(0,c.getSettings)(),l=t(p.store).getBlockType(n),s=n,u=Object(d.get)(l,["supports","__experimentalSelector"]);if(Object(d.isObject)(u)){var b=i(r)||{};for(var f in u){if(ve(b,u[f].attributes)){s=f;break}}}var m="__experimentalFeatures.defaults.".concat(e),v="__experimentalFeatures.".concat(s,".").concat(e),g=null!==(o=Object(d.get)(a,v))&&void 0!==o?o:Object(d.get)(a,m);if(void 0!==g)return g;var O=me[e]?me[e](a):void 0;return void 0!==O?O:"typography.dropCap"===e||void 0}),[n,r,e])}var Oe=function e(t){if(!Object(d.isObject)(t))return t;var n=Object(d.pickBy)(Object(d.mapValues)(t,e),d.identity);return Object(d.isEqual)(n,{})?void 0:n};function he(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 je(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!ge("border.customRadius");return!ye(t)||n}var Ee="__experimentalBorder";function Ce(e){var t=we(e),n=function(e){if("web"!==l.Platform.OS)return!1;var t=Object(p.getBlockSupport)(e,Ee);return!!(!0===t||null!=t&&t.radius)}(e.name);return t||!n?null:Object(l.createElement)(ce,null,Object(l.createElement)(v.PanelBody,{title:Object(w.__)("Border settings")},Object(l.createElement)(ke,e)))}var we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[_e(e)];return t.every(Boolean)},Se=n(60),Be=n.n(Se),Ie=function(e,t,n){if(t){var r=Object(d.find)(e,{slug:t});if(r)return r}return{color:n}},xe=function(e,t){return Object(d.find)(e,{color:t})};function Pe(e,t){if(e&&t)return"has-".concat(Object(d.kebabCase)(t),"-").concat(e)}var Te=[];function Ne(e){if(e)return"has-".concat(e,"-gradient-background")}function De(e,t){var n=Object(d.find)(e,["slug",t]);return n&&n.gradient}function Ae(e,t){return Object(d.find)(e,["gradient",t])}function Re(e,t){var n=Ae(e,t);return n&&n.slug}function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,c=h(),i=c.clientId,s=ge("color.gradients")||Te,u=Object(m.useSelect)((function(e){var t=(0,e("core/block-editor").getBlockAttributes)(i)||{};return{customGradient:t[o],gradient:t[n]}}),[i,n,o]),d=u.gradient,b=u.customGradient,f=Object(m.useDispatch)("core/block-editor"),p=f.updateBlockAttributes,v=Object(l.useCallback)((function(e){var t,r,c=Re(s,e);c?p(i,(r={},Object(a.a)(r,n,c),Object(a.a)(r,o,void 0),r)):p(i,(t={},Object(a.a)(t,n,void 0),Object(a.a)(t,o,e),t))}),[s,i,p]),g=Ne(d);return{gradientClass:g,gradientValue:d?De(s,d):b,setGradient:v}}var Me=n(11),Fe=n(13);function Ve(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 He(e){for(var t=1;t=24?"large":"small"})?null:Object(l.createElement)(ct,{backgroundColor:t,textColor:i,tinyBackgroundColor:a,tinyTextColor:s})};function at(e,t){return t.getElementById("block-"+e)}function lt(e,t){return t.closest(".block-editor-block-list__block")===e}function st(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(e){var t=e.closest(".block-editor-block-list__block");if(t)return t.id.slice("block-".length)}}function ut(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function dt(e){var t=e.settings,n=e.clientId,r=e.enableContrastChecking,o=void 0===r||r,c=Object(l.useState)(),i=Object(Me.a)(c,2),a=i[0],s=i[1],u=Object(l.useState)(),d=Object(Me.a)(u,2),b=d[0],f=d[1];return Object(l.useEffect)((function(){if(o){var e=at(n,document);if(e){f(ut(e).color);for(var t=e,r=ut(t).backgroundColor;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===t.parentNode.ELEMENT_NODE;)r=ut(t=t.parentNode).backgroundColor;s(r)}}})),Object(l.createElement)(ce,null,Object(l.createElement)(rt,{title:Object(w.__)("Color settings"),initialOpen:!1,settings:t},o&&Object(l.createElement)(it,{backgroundColor:a,textColor:b})))}function bt(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 ft(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!Object(p.hasBlockSupport)(t,"__experimentalTextDecoration"),r=ge("typography.customTextDecorations");return n||!r}var Pt=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})),Tt=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M10.8 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.1-.4-.3-.9-.4-1.6-.4-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.3 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.5.1-.7 0-.8-.1zM9.1 16c-.2.3-.5.6-.9.8-.4.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.5-3.9c-.3-.6-.7-1.1-1.2-1.5-.5-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1 0-.6-.2-1.3-.5-1.9zm-1.6 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.5-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})),Nt=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})),Dt=[{name:Object(w.__)("Uppercase"),value:"uppercase",icon:Pt},{name:Object(w.__)("Lowercase"),value:"lowercase",icon:Tt},{name:Object(w.__)("Capitalize"),value:"capitalize",icon:Nt}];function At(e){var t=e.value,n=e.onChange;return Object(l.createElement)("fieldset",{className:"block-editor-text-transform-control"},Object(l.createElement)("legend",null,Object(w.__)("Letter case")),Object(l.createElement)("div",{className:"block-editor-text-transform-control__buttons"},Dt.map((function(e){return Object(l.createElement)(v.Button,{key:e.value,icon:e.icon,isSmall:!0,isPressed:t===e.value,"aria-label":e.name,onClick:function(){return n(t===e.value?void 0:e.value)}})}))))}function Rt(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 Lt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!Object(p.hasBlockSupport)(t,"__experimentalTextTransform"),r=ge("typography.customTextTransforms");return n||!r}function Vt(e){var t=!xt(e),n=!Ft(e);return t||n?Object(l.createElement)("div",{className:"block-editor-text-decoration-and-transform"},t&&Object(l.createElement)(It,e),n&&Object(l.createElement)(Mt,e)):null}var Ht=n(17);function zt(e){var t=e.value,n=e.onChange,r=function(e){return void 0!==e&&""!==e}(t),o=r?t:"";return Object(l.createElement)("div",{className:"block-editor-line-height-control"},Object(l.createElement)(v.TextControl,{autoComplete:"off",onKeyDown:function(e){e.keyCode!==Ht.ZERO||r||(e.preventDefault(),n("0"))},onChange:function(e){if(r)n(e);else{var t=e;switch(e){case"".concat(.1):t=1.6;break;case"0":t=1.4}n(t)}},label:Object(w.__)("Line height"),placeholder:1.5,step:.1,type:"number",value:o,min:0}))}function Gt(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 Ut(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!ge("typography.customLineHeight");return!Object(p.hasBlockSupport)(t,"lineHeight")||n}var qt=[{name:Object(w.__)("Regular"),value:"normal"},{name:Object(w.__)("Italic"),value:"italic"}],$t=[{name:Object(w.__)("Thin"),value:"100"},{name:Object(w.__)("Extra Light"),value:"200"},{name:Object(w.__)("Light"),value:"300"},{name:Object(w.__)("Regular"),value:"400"},{name:Object(w.__)("Medium"),value:"500"},{name:Object(w.__)("Semi Bold"),value:"600"},{name:Object(w.__)("Bold"),value:"700"},{name:Object(w.__)("Extra Bold"),value:"800"},{name:Object(w.__)("Black"),value:"900"}];function Yt(e){var t=e.onChange,n=e.hasFontStyles,r=void 0===n||n,o=e.hasFontWeights,c=void 0===o||o,i=e.value,a=i.fontStyle,s=i.fontWeight,u=r||c,d={key:"default",name:Object(w.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},b=Object(l.useMemo)((function(){return r&&c?(e=[d],qt.forEach((function(t){var n=t.name,r=t.value;$t.forEach((function(t){var o=t.name,c=t.value,i="normal"===r?o:Object(w.sprintf)(Object(w.__)("%1$s %2$s"),o,n);e.push({key:"".concat(r,"-").concat(c),name:i,style:{fontStyle:r,fontWeight:c}})}))})),e):r?function(){var e=[d];return qt.forEach((function(t){var n=t.name,r=t.value;e.push({key:r,name:n,style:{fontStyle:r,fontWeight:void 0}})})),e}():function(){var e=[d];return $t.forEach((function(t){var n=t.name,r=t.value;e.push({key:r,name:n,style:{fontStyle:void 0,fontWeight:r}})})),e}();var e}),[e.options]),f=b.find((function(e){return e.style.fontStyle===a&&e.style.fontWeight===s}));return Object(l.createElement)("fieldset",{className:"components-font-appearance-control"},u&&Object(l.createElement)(v.CustomSelectControl,{className:"components-font-appearance-control__select",label:r?c?Object(w.__)("Appearance"):Object(w.__)("Font style"):Object(w.__)("Font weight"),options:b,value:f,onChange:function(e){var n=e.selectedItem;return t(n.style)}}))}function Xt(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 Qt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=Object(p.hasBlockSupport)(t,"__experimentalFontStyle"),r=ge("typography.customFontStyle");return!n||!r}function en(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=Object(p.hasBlockSupport)(t,"__experimentalFontWeight"),r=ge("typography.customFontWeight");return!n||!r}function tn(e){var t=Jt(e),n=en(e);return t&&n}function nn(e){var t=e.value,n=void 0===t?"":t,r=e.onChange,o=e.fontFamilies,c=Object(Fe.a)(e,["value","onChange","fontFamilies"]),a=ge("typography.fontFamilies");if(o||(o=a),Object(d.isEmpty)(o))return null;var s=[{value:"",label:Object(w.__)("Default")}].concat(Object(pe.a)(o.map((function(e){var t=e.fontFamily;return{value:t,label:e.name||t}}))));return Object(l.createElement)(v.SelectControl,Object(i.a)({label:Object(w.__)("Font family"),options:s,value:n,onChange:r,labelPosition:"top"},c))}function rn(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 on(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=ge("typography.fontSizes"),r=!(null==n||!n.length);return!Object(p.hasBlockSupport)(t,"fontSize")||!r}var hn=Object(b.createHigherOrderComponent)((function(e){return function(t){var n,r=ge("typography.fontSizes"),o=t.name,c=t.attributes,i=c.fontSize,a=c.style,s=t.wrapperProps,u=mn({},t);if(Object(p.hasBlockSupport)(o,"fontSize")&&i&&(null==a||null===(n=a.typography)||void 0===n||!n.fontSize)){var d,b=un(r,i,null==a||null===(d=a.typography)||void 0===d?void 0:d.fontSize).size;u.wrapperProps=mn(mn({},s),{},{style:mn({fontSize:b},null==s?void 0:s.style)})}return Object(l.createElement)(e,u)}}),"withFontSizeInlineStyles");Object(f.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(p.hasBlockSupport)(e,"fontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",vn),Object(f.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(p.hasBlockSupport)(e,"fontSize"))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),vn(r,e,n)},e})),Object(f.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",hn);var jn=["lineHeight","fontSize","__experimentalFontStyle","__experimentalFontWeight","__experimentalFontFamily","__experimentalTextDecoration","__experimentalTextTransform"];function kn(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[tn(e),On(e),Kt(e),an(e),xt(e),Ft(e)];return t.filter(Boolean).length===t.length}(e),n=yn(e.name);return t||!n?null:Object(l.createElement)(ce,null,Object(l.createElement)(v.PanelBody,{title:Object(w.__)("Typography")},Object(l.createElement)(v.__unstableComponentSystemProvider,{__unstableNextInclude:["WPComponentsFontSizePicker"]},Object(l.createElement)(cn,e),Object(l.createElement)(gn,e),Object(l.createElement)(Zt,e),Object(l.createElement)(Wt,e),Object(l.createElement)(Vt,e))))}var yn=function(e){return"web"===l.Platform.OS&&jn.some((function(t){return Object(p.hasBlockSupport)(e,t)}))};function _n(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 En(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={};return Object.keys(p.__EXPERIMENTAL_STYLE_PROPERTY).forEach((function(n){var r=p.__EXPERIMENTAL_STYLE_PROPERTY[n].value,o=p.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;Object(d.has)(e,r)&&(o?o.forEach((function(o){t[n+Object(d.capitalize)(o)]=Pn(Object(d.get)(e,[].concat(Object(pe.a)(r),[o])))})):t[n]=Pn(Object(d.get)(e,r)))})),t}(r)),e.style),e}var Nn=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=Object(p.hasBlockSupport)(n,"spacing");return[Object(l.createElement)(kn,Object(i.a)({key:"typography"},t)),Object(l.createElement)(Ce,Object(i.a)({key:"border"},t)),Object(l.createElement)(kt,Object(i.a)({key:"colors"},t)),Object(l.createElement)(e,Object(i.a)({key:"edit"},t)),r&&Object(l.createElement)(wn,{key:"spacing"},Object(l.createElement)(Cn,t))]}}),"withToolbarControls");Object(f.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return xn(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",Tn),Object(f.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!xn(e))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),Tn(r,e,n)},e})),Object(f.addFilter)("editor.BlockEdit","core/style/with-block-controls",Nn);var Dn=n(25),An=n(26),Rn=n(18),Ln=n(28),Mn=n(29),Fn=n(19);function Vn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Fn.a)(e);if(t){var o=Object(Fn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Mn.a)(this,n)}}function Hn(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 zn(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function rr(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]:{panelTitle:Object(w.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(w.__)("Color settings"):n,o=t.colorPanelProps,c=t.contrastCheckers,i=t.panelChildren,s=t.colorDetector,b=(s=void 0===s?{}:s).targetRef,f=s.backgroundColorTargetRef,p=void 0===f?b:f,v=s.textColorTargetRef,g=void 0===v?b:v,O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],j=h(),k=j.clientId,y=ge("color.palette")||ar,_=Object(m.useSelect)((function(e){return{attributes:(0,e("core/block-editor").getBlockAttributes)(k)}}),[k]),E=_.attributes,C=Object(m.useDispatch)("core/block-editor"),S=C.updateBlockAttributes,B=Object(l.useCallback)((function(e){return S(k,e)}),[S,k]),I=Object(l.useMemo)((function(){return Xn()((function(e,t,n,r,o,c){return function(i){var s,b=i.children,f=i.className,p=void 0===f?"":f,m=i.style,v=void 0===m?{}:m,g={};r?g=Object(a.a)({},t,o):c&&(g=Object(a.a)({},t,c));var O={className:u()(p,(s={},Object(a.a)(s,"has-".concat(Object(d.kebabCase)(r),"-").concat(Object(d.kebabCase)(t)),r),Object(a.a)(s,n||"has-".concat(Object(d.kebabCase)(e)),r||c),s)),style:cr(cr({},g),v)};return Object(d.isFunction)(b)?b(O):l.Children.map(b,(function(e){return Object(l.cloneElement)(e,{className:u()(e.props.className,O.className),style:cr(cr({},O.style),e.props.style||{})})}))}}),{maxSize:e.length})}),[e.length]),x=Object(l.useMemo)((function(){return Xn()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));B(Object(a.a)({},r?Object(d.camelCase)("custom ".concat(e)):e,void 0)),B(Object(a.a)({},r?e:Object(d.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[B,e.length]),P=Object(l.useState)(),T=Object(Me.a)(P,2),N=T[0],D=T[1],A=Object(l.useState)(),R=Object(Me.a)(A,2),L=R[0],M=R[1];return Object(l.useEffect)((function(){if(c){var e,t=!1,n=!1,r=nr(Object(d.castArray)(c));try{for(r.s();!(e=r.n()).done;){var o=e.value,i=o.backgroundColor,a=o.textColor;if(t||(t=!0===i),n||(n=!0===a),t&&n)break}}catch(e){r.e(e)}finally{r.f()}if(n&&M(ir(g.current).color),t){for(var l=p.current,s=ir(l).backgroundColor;"rgba(0, 0, 0, 0)"===s&&l.parentNode&&l.parentNode.nodeType===l.parentNode.ELEMENT_NODE;)s=ir(l=l.parentNode).backgroundColor;D(s)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(E[t.name]," | ").concat(E[Object(d.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(pe.a)(O))),Object(l.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=cr(cr({},n),{},{color:E[n.name]}),o=r.name,c=r.property,i=void 0===c?o:c,a=r.className,l=r.panelLabel,s=void 0===l?n.label||lr[o]||Object(d.startCase)(o):l,u=r.componentName,b=void 0===u?Object(d.startCase)(o).replace(/\s/g,""):u,f=r.color,p=void 0===f?n.color:f,m=r.colors,v=void 0===m?y:m,g=E[Object(d.camelCase)("custom ".concat(o))],O=g?void 0:v.find((function(e){return e.slug===p}));return e[b]=I(o,i,a,p,O&&O.color,g),e[b].displayName=b,e[b].color=g||O&&O.color,e[b].slug=p,e[b].setColor=x(o,v),t[b]={value:O?O.color:E[Object(d.camelCase)("custom ".concat(o))],onChange:e[b].setColor,label:s,colors:v},v||delete t[b].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:c,detectedBackgroundColor:N,detectedColor:L,panelChildren:i};return cr(cr({},n),{},{ColorPanel:Object(l.createElement)(tr,a),InspectorControlsColorPanel:Object(l.createElement)(sr,a)})}),[E,B,L,N].concat(Object(pe.a)(O)))}function dr(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 br(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(d.deburr)(e)).replace(/^\//,"")).toLowerCase()}var Pr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(d.words)(xr(e))},Tr=function(e,t){return Object(d.differenceWith)(e,Pr(t),(function(e,t){return t.includes(e)}))},Nr=function(e,t,n,r){return 0===Pr(r).length?e:Dr(e,r,{getCategory:function(e){var n;return null===(n=Object(d.find)(t,{slug:e.category}))||void 0===n?void 0:n.title},getCollection:function(e){var t;return null===(t=n[e.name.split("/")[0]])||void 0===t?void 0:t.title}})},Dr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Pr(t);if(0===r.length)return e;var o=e.map((function(e){return[e,Ar(e,t,n)]})).filter((function(e){return Object(Me.a)(e,2)[1]>0}));return o.sort((function(e,t){var n=Object(Me.a)(e,2)[1];return Object(Me.a)(t,2)[1]-n})),o.map((function(e){return Object(Me.a)(e,1)[0]}))};function Ar(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getName,o=void 0===r?Er:r,c=n.getTitle,i=void 0===c?Cr:c,a=n.getDescription,l=void 0===a?wr:a,s=n.getKeywords,u=void 0===s?Sr:s,b=n.getCategory,f=void 0===b?Br:b,p=n.getCollection,m=void 0===p?Ir:p,v=o(e),g=i(e),O=l(e),h=u(e),j=f(e),k=m(e),y=xr(t),_=xr(g),E=0;if(y===_)E+=30;else if(_.startsWith(y))E+=20;else{var C=[v,g,O].concat(Object(pe.a)(h),[j,k]).join(" "),w=Object(d.words)(y),S=Tr(w,C);0===S.length&&(E+=10)}return 0!==E&&v.startsWith("core/")&&E++,E}var Rr=function(e,t){var n=Object(m.useSelect)((function(t){var n=t("core/block-editor").getInserterItems,r=t(p.store),o=r.getCategories,c=r.getCollections;return{categories:o(),collections:c(),items:n(e)}}),[e]),r=n.categories,o=n.collections;return[n.items,r,o,Object(l.useCallback)((function(e){var n=e.name,r=e.initialAttributes,o=e.innerBlocks,c=Object(p.createBlock)(n,r,Object(p.createBlocksFromInnerBlocksTemplate)(o));t(c)}),[t])]},Lr=n(215);function Mr(e){var t,n=e.icon,r=e.showColors,o=void 0!==r&&r,c=e.className;"block-default"===(null===(t=n)||void 0===t?void 0:t.src)&&(n={src:Lr.a});var i=Object(l.createElement)(v.Icon,{icon:n&&n.src?n.src:n}),a=o?{backgroundColor:n&&n.background,color:n&&n.foreground}:{};return Object(l.createElement)("span",{style:a,className:u()("block-editor-block-icon",c,{"has-colors":o})},i)}var Fr={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems:function(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockName,o=t.getBlockInsertionPoint,c=n();return{selectedBlockName:c?r(c):null,rootClientId:o().rootClientId}}),[]),n=t.rootClientId,r=t.selectedBlockName,o=Rr(n,d.noop),c=Object(Me.a)(o,3),i=c[0],a=c[1],s=c[2],u=Object(l.useMemo)((function(){return(e.trim()?Nr(i,a,s,e):Object(d.orderBy)(i,["frecency"],["desc"])).filter((function(e){return e.name!==r})).slice(0,9)}),[e,r,i,a,s]);return[Object(l.useMemo)((function(){return u.map((function(e){var t=e.title,n=e.icon,r=e.isDisabled;return{key:"block-".concat(e.id),value:e,label:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Mr,{key:"icon",icon:n,showColors:!0}),t),isDisabled:r}}))}),[u])]},allowContext:function(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion:function(e){var t=e.name,n=e.initialAttributes,r=e.innerBlocks;return{action:"replace",value:Object(p.createBlock)(t,n,Object(p.createBlocksFromInnerBlocksTemplate)(r))}}},Vr=[];var Hr=function(e){var t=h().name,n=e.completers,r=void 0===n?Vr:n;return r=Object(l.useMemo)((function(){var e=r;return t===Object(p.getDefaultBlockName)()&&(e=e.concat([Fr])),Object(f.hasFilter)("editor.Autocomplete.completers")&&(e===r&&(e=e.map(d.clone)),e=Object(f.applyFilters)("editor.Autocomplete.completers",e,t)),e}),[r,t]),Object(l.createElement)(v.Autocomplete,Object(i.a)({},e,{completers:r}))},zr=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M4.2 9h1.5V5.8H9V4.2H4.2V9zm14 9.2H15v1.5h4.8V15h-1.5v3.2zM15 4.2v1.5h3.2V9h1.5V4.2H15zM5.8 15H4.2v4.8H9v-1.5H5.8V15z"}));var Gr=function(e){var t=e.isActive,n=e.label,r=void 0===n?Object(w.__)("Toggle full height"):n,o=e.onToggle,c=e.isDisabled;return Object(l.createElement)(v.ToolbarGroup,null,Object(l.createElement)(v.ToolbarButton,{isActive:t,icon:zr,label:r,onClick:function(){return o(!t)},disabled:c}))};var Ur=function(e){var t=e.label,n=void 0===t?Object(w.__)("Change matrix alignment"):t,r=e.onChange,o=void 0===r?d.noop:r,c=e.value,i=void 0===c?"center":c,a=e.isDisabled,s=Object(l.createElement)(v.__experimentalAlignmentMatrixControl.Icon,{value:i}),u="block-editor-block-alignment-matrix-toolbar",b="".concat(u,"__popover");return Object(l.createElement)(v.Dropdown,{position:"bottom right",className:u,popoverProps:{className:b,isAlternate:!0},renderToggle:function(e){var t=e.onToggle,r=e.isOpen;return Object(l.createElement)(v.ToolbarGroup,null,Object(l.createElement)(v.ToolbarButton,{onClick:t,"aria-haspopup":"true","aria-expanded":r,onKeyDown:function(e){r||e.keyCode!==Ht.DOWN||(e.preventDefault(),e.stopPropagation(),t())},label:n,icon:s,showTooltip:!0,disabled:a}))},renderContent:function(){return Object(l.createElement)(v.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:o,value:i})}})},Wr={insertUsage:{}},Kr={alignWide:!1,colors:[{name:Object(w.__)("Black"),slug:"black",color:"#000000"},{name:Object(w.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(w.__)("White"),slug:"white",color:"#ffffff"},{name:Object(w.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(w.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(w.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(w.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(w.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(w.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(w.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(w.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(w.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(w._x)("Small","font size name"),size:13,slug:"small"},{name:Object(w._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(w._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(w._x)("Large","font size name"),size:36,slug:"large"},{name:Object(w._x)("Huge","font size name"),size:42,slug:"huge"}],imageSizes:[{slug:"thumbnail",name:Object(w.__)("Thumbnail")},{slug:"medium",name:Object(w.__)("Medium")},{slug:"large",name:Object(w.__)("Large")},{slug:"full",name:Object(w.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],gradients:[{name:Object(w.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:Object(w.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:Object(w.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:Object(w.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:Object(w.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:Object(w.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:Object(w.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(w.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:Object(w.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:Object(w.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:Object(w.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(w.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function qr(e,t,n){return[].concat(Object(pe.a)(e.slice(0,n)),Object(pe.a)(Object(d.castArray)(t)),Object(pe.a)(e.slice(n)))}function $r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(pe.a)(e);return o.splice(t,r),qr(o,e.slice(t,t+r),n)}function Yr(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 Xr(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(a.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Qr(o,r))})),n}function Zr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(a.a)({},n.clientId,t),Zr(n.innerBlocks,n.clientId))}),{})}function Jr(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.identity,n={},r=Object(pe.a)(e);r.length;){var o=r.shift(),c=o.innerBlocks,i=Object(Fe.a)(o,["innerBlocks"]);r.push.apply(r,Object(pe.a)(c)),n[i.clientId]=t(i)}return n}function eo(e){return Jr(e,(function(e){return Object(d.omit)(e,"attributes")}))}function to(e){return Jr(e,(function(e){return e.attributes}))}function no(e,t){return e===t?Xr({},e):t}function ro(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(d.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,r=t.attributes,Object(d.isEqual)(Object(d.keys)(n),Object(d.keys)(r)));var n,r}var oo=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var co=Object(d.flow)(m.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Xr({},t)).attributes=Object(d.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Xr(Xr({},e),{},{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r&&!t.controlledInnerBlocks[r]);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(d.mapValues)(Jr(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var c=Object(d.keys)(Jr(n.blocks));n.rootClientId&&!t.controlledInnerBlocks[n.rootClientId]&&c.push(n.rootClientId),r.cache=Xr(Xr({},r.cache),oo(o(c)));break;case"UPDATE_BLOCK":r.cache=Xr(Xr({},r.cache),oo(o([n.clientId])));break;case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Xr(Xr({},r.cache),oo(o(n.clientIds)));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var i=oo(o(n.replacedClientIds));r.cache=Xr(Xr(Xr({},Object(d.omit)(r.cache,n.replacedClientIds)),Object(d.omit)(i,n.replacedClientIds)),oo(Object(d.keys)(Jr(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Xr(Xr({},Object(d.omit)(r.cache,n.removedClientIds)),oo(Object(d.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCKS_TO_POSITION":var a=Object(pe.a)(n.clientIds);n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Xr(Xr({},r.cache),oo(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Xr(Xr({},r.cache),oo(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(d.keys)(Object(d.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Xr(Xr({},r.cache),oo(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var r=e,o=0;o1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(d.reduce)(t[n],(function(n,o){return r[o]?n:[].concat(Object(pe.a)(n),[o],Object(pe.a)(e(t,o)))}),[])}(t.order,"",t.controlledInnerBlocks),o=Object.keys(Object(d.pickBy)(t.controlledInnerBlocks));return Xr(Xr({},t),{},{byClientId:Xr(Xr({},Object(d.omit)(t.byClientId,r)),eo(n.blocks)),attributes:Xr(Xr({},Object(d.omit)(t.attributes,r)),to(n.blocks)),order:Xr(Xr({},Object(d.omit)(t.order,r)),Object(d.omit)(Qr(n.blocks),o)),parents:Xr(Xr({},Object(d.omit)(t.parents,r)),Zr(n.blocks)),cache:Xr(Xr({},Object(d.omit)(t.cache,r)),Object(d.omit)(Object(d.mapValues)(Jr(n.blocks),(function(){return{}})),o))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var c=e(r,o),i="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===c&&!i){var a;n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var l=null===(a=null==r?void 0:r.isPersistentChange)||void 0===a||a;return r.isPersistentChange===l?r:Xr(Xr({},c),{},{isPersistentChange:l})}return c=Xr(Xr({},c),{},{isPersistentChange:i?!n:!ro(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,c}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return eo(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Xr(Xr({},e),eo(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(d.omit)(t.updates,"attributes");return Object(d.isEmpty)(n)?e:Xr(Xr({},e),{},Object(a.a)({},t.clientId,Xr(Xr({},e[t.clientId]),n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Xr(Xr({},Object(d.omit)(e,t.replacedClientIds)),eo(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return to(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Xr(Xr({},e),to(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Xr(Xr({},e),{},Object(a.a)({},t.clientId,Xr(Xr({},e[t.clientId]),t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(t.clientIds.every((function(t){return!e[t]})))return e;var n=t.clientIds.reduce((function(n,r){return Xr(Xr({},n),{},Object(a.a)({},r,Object(d.reduce)(t.attributes,(function(t,n,o){return n!==t[o]&&((t=no(e[r],t))[o]=n),t}),e[r])))}),{});return t.clientIds.every((function(t){return n[t]===e[t]}))?e:Xr(Xr({},e),n);case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Xr(Xr({},Object(d.omit)(e,t.replacedClientIds)),to(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Qr(t.blocks);case"RECEIVE_BLOCKS":return Xr(Xr({},e),Object(d.omit)(Qr(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],c=Qr(t.blocks,r),i=t.index,l=void 0===i?o.length:i;return Xr(Xr(Xr({},e),c),{},Object(a.a)({},r,qr(o,c[r],l)));case"MOVE_BLOCKS_TO_POSITION":var s,u=t.fromRootClientId,b=void 0===u?"":u,f=t.toRootClientId,p=void 0===f?"":f,m=t.clientIds,v=t.index,g=void 0===v?e[p].length:v;if(b===p){var O=e[p],h=O.indexOf(m[0]);return Xr(Xr({},e),{},Object(a.a)({},p,$r(e[p],h,g,m.length)))}return Xr(Xr({},e),{},(s={},Object(a.a)(s,b,d.without.apply(void 0,[e[b]].concat(Object(pe.a)(m)))),Object(a.a)(s,p,qr(e[p],m,g)),s));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(d.first)(j),E=e[y];if(!E.length||_===Object(d.first)(E))return e;var C=E.indexOf(_);return Xr(Xr({},e),{},Object(a.a)({},y,$r(E,C,C-1,j.length)));case"MOVE_BLOCKS_DOWN":var w=t.clientIds,S=t.rootClientId,B=void 0===S?"":S,I=Object(d.first)(w),x=Object(d.last)(w),P=e[B];if(!P.length||x===Object(d.last)(P))return e;var T=P.indexOf(I);return Xr(Xr({},e),{},Object(a.a)({},B,$r(P,T,T+1,w.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var D=Qr(t.blocks);return Object(d.flow)([function(e){return Object(d.omit)(e,t.replacedClientIds)},function(e){return Xr(Xr({},e),Object(d.omit)(D,""))},function(e){return Object(d.mapValues)(e,(function(e){return Object(d.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(pe.a)(e),Object(pe.a)(D[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.flow)([function(e){return Object(d.omit)(e,t.removedClientIds)},function(e){return Object(d.mapValues)(e,(function(e){return d.without.apply(void 0,[e].concat(Object(pe.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Zr(t.blocks);case"RECEIVE_BLOCKS":return Xr(Xr({},e),Zr(t.blocks));case"INSERT_BLOCKS":return Xr(Xr({},e),Zr(t.blocks,t.rootClientId||""));case"MOVE_BLOCKS_TO_POSITION":return Xr(Xr({},e),t.clientIds.reduce((function(e,n){return e[n]=t.toRootClientId||"",e}),{}));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Xr(Xr({},Object(d.omit)(e,t.replacedClientIds)),Zr(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.clientId,o=t.hasControlledInnerBlocks;return"SET_HAS_CONTROLLED_INNER_BLOCKS"===n?Xr(Xr({},e),{},Object(a.a)({},r,o)):e}});function io(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection&&t.blocks.length?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];if(!r)return{};if(r.clientId===e.clientId)return e;var o={clientId:r.clientId};return"number"==typeof t.initialPosition&&(o.initialPosition=t.initialPosition),o}return e}function ao(e,t,n){switch(t.type){case"CLEAR_SELECTED_BLOCK":case"SELECT_BLOCK":case"SELECTION_CHANGE":case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":case"REMOVE_BLOCKS":case"REPLACE_BLOCKS":return n}return e}var lo=Object(m.combineReducers)({blocks:co,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},draggedBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selection:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"SELECTION_CHANGE":return{selectionStart:{clientId:r.clientId,attributeKey:r.attributeKey,offset:r.startOffset},selectionEnd:{clientId:r.clientId,attributeKey:r.attributeKey,offset:r.endOffset}};case"RESET_SELECTION":var o=r.selectionStart,c=r.selectionEnd;return{selectionStart:o,selectionEnd:c};case"MULTI_SELECT":var i=r.start,a=r.end;return{selectionStart:{clientId:i},selectionEnd:{clientId:a}};case"RESET_BLOCKS":var l=null==n||null===(e=n.selectionStart)||void 0===e?void 0:e.clientId,s=null==n||null===(t=n.selectionEnd)||void 0===t?void 0:t.clientId;if(!l&&!s)return n;if(!r.blocks.some((function(e){return e.clientId===l})))return{selectionStart:{},selectionEnd:{}};if(!r.blocks.some((function(e){return e.clientId===s})))return Xr(Xr({},n),{},{selectionEnd:n.selectionStart})}return{selectionStart:io(n.selectionStart,r),selectionEnd:io(n.selectionEnd,r)}},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"REPLACE_BLOCKS"===t.type&&"number"==typeof t.initialPosition||"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type||"START_TYPING"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Xr(Xr({},e),{},Object(a.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(d.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(d.isEqual)(e[n],t.settings)?e:Xr(Xr({},e),{},Object(a.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(d.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_INSERTION_POINT":case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r}}return ao(e,t,null)},insertionPointVisibility:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return!0;case"HIDE_INSERTION_POINT":return!1}return ao(e,t,!1)},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Xr(Xr({},e),{},{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Kr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Xr(Xr({},e),t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(p.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Xr(Xr({},e),{},{insertUsage:Xr(Xr({},e.insertUsage),{},Object(a.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(a.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((function(e,n){return Xr(Xr({},e),{},Object(a.a)({},n,t.attributes))}),{})}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:"SET_NAVIGATION_MODE"===t.type?null:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"START_TYPING":case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":var n=t.clientId;return t.isHighlighted?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}}),so=n(42),uo=n(41);function bo(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return fo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fo(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function fo(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]:"";return Object(d.map)(oc(e,t),(function(t){return Eo(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),wo=function e(t,n){return Object(d.flatMap)(n,(function(n){var r=oc(t,n);return[].concat(Object(pe.a)(r),Object(pe.a)(e(t,r)))}))},So=Object(uo.a)((function(e){var t=oc(e);return[].concat(Object(pe.a)(t),Object(pe.a)(wo(e,t)))}),(function(e){return[e.blocks.order]})),Bo=Object(uo.a)((function(e,t){var n=So(e);return t?Object(d.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),Io=Object(uo.a)((function(e,t){return Object(d.map)(Object(d.castArray)(t),(function(t){return ko(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function xo(e,t){return oc(e,t).length}function Po(e){return e.selection.selectionStart}function To(e){return e.selection.selectionEnd}function No(e){return e.selection.selectionStart.clientId}function Do(e){return e.selection.selectionEnd.clientId}function Ao(e){var t=Yo(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function Ro(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return!!n.clientId&&n.clientId===r.clientId}function Lo(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd,o=n.clientId;return o&&o===r.clientId?o:null}function Mo(e){var t=Lo(e);return t?ko(e,t):null}function Fo(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Vo=Object(uo.a)((function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),Ho=Object(uo.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Vo(e,t,r);return Object(d.map)(Object(d.filter)(Object(d.map)(o,(function(t){return{id:t,name:Oo(e,t)}})),(function(e){var t=e.name;return Array.isArray(n)?n.includes(t):t===n})),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function zo(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Go(e,t){for(var n,r=Lo(e),o=[].concat(Object(pe.a)(Vo(e,t)),[t]),c=[].concat(Object(pe.a)(Vo(e,r)),[r]),i=Math.min(o.length,c.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Lo(e)),void 0===t&&(t=n<0?Qo(e):Zo(e)),!t)return null;var r=Fo(e,t);if(null===r)return null;var o=e.blocks.order,c=o[r],i=c.indexOf(t),a=i+1*n;return a<0||a===c.length?null:c[a]}function Wo(e,t){return Uo(e,t,-1)}function Ko(e,t){return Uo(e,t,1)}function qo(e){return e.initialPosition}var $o=Object(uo.a)((function(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;if(void 0===n.clientId||void 0===r.clientId)return go;if(n.clientId===r.clientId)return[n.clientId];var o=Fo(e,n.clientId);if(null===o)return go;var c=oc(e,o),i=c.indexOf(n.clientId),a=c.indexOf(r.clientId);return i>a?c.slice(a,i+1):c.slice(i,a+1)}),(function(e){return[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]}));function Yo(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return n.clientId===r.clientId?go:$o(e)}var Xo=Object(uo.a)((function(e){var t=Yo(e);return t.length?t.map((function(t){return ko(e,t)})):go}),(function(e){return[].concat(Object(pe.a)($o.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Qo(e){return Object(d.first)(Yo(e))||null}function Zo(e){return Object(d.last)(Yo(e))||null}function Jo(e,t){return Qo(e)===t}function ec(e,t){return-1!==Yo(e).indexOf(t)}var tc=Object(uo.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=ec(e,n=Fo(e,n));return r}),(function(e){return[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]}));function nc(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return n.clientId===r.clientId?null:n.clientId||null}function rc(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return n.clientId===r.clientId?null:r.clientId||null}function oc(e,t){return e.blocks.order[t||""]||go}function cc(e,t,n){return oc(e,n).indexOf(t)}function ic(e,t){var n=e.selection,r=n.selectionStart,o=n.selectionEnd;return r.clientId===o.clientId&&r.clientId===t}function ac(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(d.some)(oc(e,t),(function(t){return ic(e,t)||ec(e,t)||n&&ac(e,t,n)}))}function lc(e,t){if(!t)return!1;var n=Yo(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(d.isBoolean)(e)?e:Object(d.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n};if(t&&"object"===Object(so.a)(t)?t=(n=t).name:n=Object(p.getBlockType)(t),!n)return!1;var c=Lc(e),i=c.allowedBlockTypes,a=o(i,t,!0);if(!a)return!1;var l=!!_c(e,r);if(l)return!1;var s=Rc(e,r);if(r&&void 0===s)return!1;var u=null==s?void 0:s.allowedBlocks,b=o(u,t),f=n.parent,m=Oo(e,r),v=o(f,m);return null!==b&&null!==v?b||v:null!==b?b:null===v||v},Cc=Object(uo.a)(Ec,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function wc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((function(t){return Cc(e,Oo(e,t),n)}))}function Sc(e,t){var n,r;return null!==(n=null===(r=e.preferences.insertUsage)||void 0===r?void 0:r[t])&&void 0!==n?n:null}var Bc=function(e,t,n){return!!Object(p.hasBlockSupport)(t,"inserter",!0)&&Ec(e,t.name,n)},Ic=function(e){return function(t){return mo(mo({},e),{},{id:"".concat(e.id,"-").concat(t.name),icon:t.icon||e.icon,title:t.title||e.title,description:t.description||e.description,category:t.category||e.category,example:t.hasOwnProperty("example")?t.example:e.example,initialAttributes:mo(mo({},e.initialAttributes),t.attributes),innerBlocks:t.innerBlocks,keywords:t.keywords||e.keywords})}},xc=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},Pc=function(e,t){var n=t.buildScope,r=void 0===n?"inserter":n;return function(t){var n=t.name,o=!1;Object(p.hasBlockSupport)(t.name,"multiple",!0)||(o=Object(d.some)(Io(e,So(e)),{name:t.name}));var c=Sc(e,n)||{},i=c.time,a=c.count,l=void 0===a?0:a,s={id:n,name:t.name,title:t.title,icon:t.icon,isDisabled:o,frecency:xc(i,l)};if("transform"===r)return s;var u=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return mo(mo({},s),{},{initialAttributes:{},description:t.description,category:t.category,keywords:t.keywords,variations:u,example:t.example,utility:1})}},Tc=Object(uo.a)((function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Pc(e,{buildScope:"inserter"}),o=function(t){var n,r="core/block/".concat(t.id),o=Vc(e,t.id);1===o.length&&(n=Object(p.getBlockType)(o[0].name));var c=Sc(e,r)||{},i=c.time,a=c.count,l=xc(i,void 0===a?0:a);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:n?n.icon:vo,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:l}},c=Object(p.getBlockTypes)().filter((function(t){return Bc(e,t,n)})).map(r),i=Ec(e,"core/block",n)?Uc(e).map(o):[],a=c.filter((function(e){var t=e.variations;return!(void 0===t?[]:t).some((function(e){return e.isDefault}))})),l=[],s=bo(c);try{for(s.s();!(t=s.n()).done;){var u=t.value,d=u.variations,b=void 0===d?[]:d;if(b.length){var f=Ic(u);l.push.apply(l,Object(pe.a)(b.map(f)))}}}catch(e){s.e(e)}finally{s.f()}return[].concat(Object(pe.a)(a),l,Object(pe.a)(i))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Uc(e),Object(p.getBlockTypes)()]})),Nc=Object(uo.a)((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=Pc(e,{buildScope:"transform"}),o=Object(p.getBlockTypes)().filter((function(t){return Bc(e,t,n)})).map(r),c=Object(d.mapKeys)(o,(function(e){return e.name})),i=Object(p.getPossibleBlockTransformations)(t).reduce((function(e,t){return c[null==t?void 0:t.name]&&e.push(c[t.name]),e}),[]),a=Object(d.orderBy)(i,(function(e){return c[e.name].frecency}),"desc");return a}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Object(p.getBlockTypes)()]})),Dc=Object(uo.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(d.some)(Object(p.getBlockTypes)(),(function(n){return Bc(e,n,t)}));if(n)return!0;var r=Ec(e,"core/block",t)&&Uc(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Uc(e),Object(p.getBlockTypes)()]})),Ac=Object(uo.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(d.filter)(Object(p.getBlockTypes)(),(function(n){return Bc(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(p.getBlockTypes)()]}));function Rc(e,t){return e.blockListSettings[t]}function Lc(e){return e.settings}function Mc(e){return e.blocks.isPersistentChange}var Fc=Object(uo.a)((function(e,t){return Object(d.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),Vc=Object(uo.a)((function(e,t){var n=Object(d.find)(Uc(e),(function(e){return e.id===t}));return n?Object(p.parse)("string"==typeof n.content.raw?n.content.raw:n.content):null}),(function(e){return[Uc(e)]})),Hc=Object(uo.a)((function(e,t){var n,r=Object(d.find)(Uc(e),(function(e){return e.id===t}));return r?null===(n=r.title)||void 0===n?void 0:n.raw:null}),(function(e){return[Uc(e)]}));function zc(e){return e.blocks.isIgnoredChange}function Gc(e){return e.lastBlockAttributesChange}function Uc(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:go}function Wc(e){return e.isNavigationMode}function Kc(e){return e.hasBlockMovingClientId}function qc(e){return!!e.automaticChangeStatus}function $c(e,t){return e.highlightedBlock===t}function Yc(e,t){return!!e.blocks.controlledInnerBlocks[t]}var Xc=Object(uo.a)((function(e,t){if(!t.length)return null;var n=Lo(e);if(t.includes(Oo(e,n)))return n;var r=Yo(e),o=Ho(e,n||r[0],t);return o?Object(d.last)(o):null}),(function(e,t){return[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]})),Qc=n(16),Zc=n.n(Qc),Jc={SLEEP:function(e){var t=e.duration;return new Promise((function(e){setTimeout(e,t)}))},MARK_AUTOMATIC_CHANGE_FINAL_CONTROL:Object(m.createRegistryControl)((function(e){return function(){var t=window.requestIdleCallback;(void 0===t?function(e){return setTimeout(e,100)}:t)((function(){return e.dispatch("core/block-editor").__unstableMarkAutomaticChangeFinal()}))}}))};function ei(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ti(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ti(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function ti(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]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Ti(e){var t;return Zc.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,m.controls.select("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,Pi(t,-1);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),ai)}function Ni(e){var t;return Zc.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,m.controls.select("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,Pi(t);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),li)}function Di(){return{type:"START_MULTI_SELECT"}}function Ai(){return{type:"STOP_MULTI_SELECT"}}function Ri(e,t){var n;return Zc.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{type:"MULTI_SELECT",start:e,end:t};case 2:return r.next=4,m.controls.select("core/block-editor","getSelectedBlockCount");case 4:n=r.sent,Object(ot.speak)(Object(w.sprintf)(Object(w._n)("%s block selected.","%s blocks selected.",n),n),"assertive");case 6:case"end":return r.stop()}}),si)}function Li(){return{type:"CLEAR_SELECTED_BLOCK"}}function Mi(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Fi(e,t){var n,r,o=null!==(n=null==t||null===(r=t.__experimentalPreferredStyleVariations)||void 0===r?void 0:r.value)&&void 0!==n?n:{};return e.map((function(e){var t,n=e.name;if(!Object(p.hasBlockSupport)(n,"defaultStylePicker",!0))return e;if(!o[n])return e;var r=null===(t=e.attributes)||void 0===t?void 0:t.className;if(null!=r&&r.includes("is-style-"))return e;var c=e.attributes,i=void 0===c?{}:c,a=o[n];return ri(ri({},e),{},{attributes:ri(ri({},i),{},{className:"".concat(r||""," is-style-").concat(a).trim()})})}))}function Vi(e,t,n,r,o){var c,i,a;return Zc.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return e=Object(d.castArray)(e),l.t0=Fi,l.t1=Object(d.castArray)(t),l.next=5,m.controls.select("core/block-editor","getSettings");case 5:return l.t2=l.sent,t=(0,l.t0)(l.t1,l.t2),l.next=9,m.controls.select("core/block-editor","getBlockRootClientId",Object(d.first)(e));case 9:c=l.sent,i=0;case 11:if(!(i1&&void 0!==i[1]?i[1]:"",n=i.length>2&&void 0!==i[2]?i[2]:"",r=i.length>3?i[3]:void 0,a.next=5,m.controls.select("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=a.sent)){a.next=8;break}return a.abrupt("return");case 8:if(c={type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:r},t!==n){a.next=13;break}return a.next=12,c;case 12:return a.abrupt("return");case 13:if("insert"!==o){a.next=15;break}return a.abrupt("return");case 15:return a.next=17,m.controls.select("core/block-editor","canInsertBlocks",e,n);case 17:if(!a.sent){a.next=21;break}return a.next=21,c;case 21:case"end":return a.stop()}}),di)}function Ki(e){var t,n,r,o=arguments;return Zc.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=o.length>1&&void 0!==o[1]?o[1]:"",n=o.length>2&&void 0!==o[2]?o[2]:"",r=o.length>3?o[3]:void 0,c.next=5,Wi([e],t,n,r);case 5:case"end":return c.stop()}}),bi)}function qi(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return $i([e],t,n,r)}function $i(e,t,n){var r,o,c,i,a,l,s=arguments;return Zc.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return r=!(s.length>3&&void 0!==s[3])||s[3],o=s.length>4?s[4]:void 0,u.t0=Fi,u.t1=Object(d.castArray)(e),u.next=6,m.controls.select("core/block-editor","getSettings");case 6:u.t2=u.sent,e=(0,u.t0)(u.t1,u.t2),c=[],i=ei(e),u.prev=10,i.s();case 12:if((a=i.n()).done){u.next=20;break}return l=a.value,u.next=16,m.controls.select("core/block-editor","canInsertBlockType",l.name,n);case 16:u.sent&&c.push(l);case 18:u.next=12;break;case 20:u.next=25;break;case 22:u.prev=22,u.t3=u.catch(10),i.e(u.t3);case 25:return u.prev=25,i.f(),u.finish(25);case 28:if(!c.length){u.next=30;break}return u.abrupt("return",{type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:n,time:Date.now(),updateSelection:r,meta:o});case 30:case"end":return u.stop()}}),fi,null,[[10,22,25,28]])}function Yi(e,t){return{type:"SET_INSERTION_POINT",rootClientId:e,index:t}}function Xi(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Qi(){return{type:"HIDE_INSERTION_POINT"}}function Zi(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Ji(){var e,t,n;return Zc.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{type:"SYNCHRONIZE_TEMPLATE"};case 2:return r.next=4,m.controls.select("core/block-editor","getBlocks");case 4:return e=r.sent,r.next=7,m.controls.select("core/block-editor","getTemplate");case 7:return t=r.sent,n=Object(p.synchronizeBlocksWithTemplate)(e,t),r.next=11,Ci(n);case 11:return r.abrupt("return",r.sent);case 12:case"end":return r.stop()}}),pi)}function ea(e,t){var n,r,o,i,a,l,s,u,b,f,v,g,O,h,j,k,y,_,E,C,w,S,B,I,x,P,T,N,D,A,R,L,M,F;return Zc.a.wrap((function(V){for(;;)switch(V.prev=V.next){case 0:return n=[e,t],V.next=3,{type:"MERGE_BLOCKS",blocks:n};case 3:return r=n[0],o=n[1],V.next=6,m.controls.select("core/block-editor","getBlock",r);case 6:if(i=V.sent,(a=Object(p.getBlockType)(i.name)).merge){V.next=12;break}return V.next=11,Pi(i.clientId);case 11:return V.abrupt("return");case 12:return V.next=14,m.controls.select("core/block-editor","getBlock",o);case 14:return l=V.sent,s=Object(p.getBlockType)(l.name),V.next=18,m.controls.select("core/block-editor","getSelectionStart");case 18:if(u=V.sent,b=u.clientId,f=u.attributeKey,v=u.offset,g=(b===r?a:s).attributes[f],O=(b===r||b===o)&&void 0!==f&&void 0!==v&&!!g,g||("number"==typeof f?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(Object(so.a)(f))):window.console.error("The RichText identifier prop does not match any attributes defined by the block.")),h="†",j=Object(p.cloneBlock)(i),k=Object(p.cloneBlock)(l),O&&(_=(y=b===r?j:k).attributes[f],E=g.multiline,C=g.__unstableMultilineWrapperTags,w=g.__unstablePreserveWhiteSpace,S=Object(c.insert)(Object(c.create)({html:_,multilineTag:E,multilineWrapperTags:C,preserveWhiteSpace:w}),h,v,v),y.attributes[f]=Object(c.toHTMLString)({value:S,multilineTag:E,preserveWhiteSpace:w})),(B=i.name===l.name?[k]:Object(p.switchToBlockType)(k,i.name))&&B.length){V.next=33;break}return V.abrupt("return");case 33:if(I=a.merge(j.attributes,B[0].attributes),!O){V.next=45;break}return x=Object(d.findKey)(I,(function(e){return"string"==typeof e&&-1!==e.indexOf(h)})),P=I[x],T=a.attributes[x],N=T.multiline,D=T.__unstableMultilineWrapperTags,A=T.__unstablePreserveWhiteSpace,R=Object(c.create)({html:P,multilineTag:N,multilineWrapperTags:D,preserveWhiteSpace:A}),L=R.text.indexOf(h),M=Object(c.remove)(R,L,L+1),F=Object(c.toHTMLString)({value:M,multilineTag:N,preserveWhiteSpace:A}),I[x]=F,V.next=45,da(i.clientId,x,L,L);case 45:return V.delegateYield(Vi([i.clientId,l.clientId],[ri(ri({},i),{},{attributes:ri(ri({},i.attributes),I)})].concat(Object(pe.a)(B.slice(1)))),"t0",46);case 46:case"end":return V.stop()}}),mi)}function ta(e){var t,n,r,o,c=arguments;return Zc.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=!(c.length>1&&void 0!==c[1])||c[1],e&&e.length){i.next=3;break}return i.abrupt("return");case 3:return e=Object(d.castArray)(e),i.next=6,m.controls.select("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=i.sent,i.next=9,m.controls.select("core/block-editor","getTemplateLock",n);case 9:if(!i.sent){i.next=12;break}return i.abrupt("return");case 12:if(!t){i.next=18;break}return i.next=15,Ti(e[0]);case 15:r=i.sent,i.next=21;break;case 18:return i.next=20,m.controls.select("core/block-editor","getPreviousBlockClientId",e[0]);case 20:r=i.sent;case 21:return i.next=23,{type:"REMOVE_BLOCKS",clientIds:e};case 23:return i.delegateYield(Ei(),"t0",24);case 24:return o=i.t0,i.abrupt("return",[r||o]);case 26:case"end":return i.stop()}}),vi)}function na(e,t){return ta([e],t)}function ra(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function oa(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function ca(){return{type:"START_TYPING"}}function ia(){return{type:"STOP_TYPING"}}function aa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function la(){return{type:"STOP_DRAGGING_BLOCKS"}}function sa(){return{type:"ENTER_FORMATTED_TEXT"}}function ua(){return{type:"EXIT_FORMATTED_TEXT"}}function da(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function ba(e,t,n){var r=Object(p.getDefaultBlockName)();if(r)return qi(Object(p.createBlock)(r,e),n,t)}function fa(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function pa(e){return{type:"UPDATE_SETTINGS",settings:e}}function ma(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function va(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function ga(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function Oa(){return Zc.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"MARK_AUTOMATIC_CHANGE"};case 2:return e.next=4,{type:"MARK_AUTOMATIC_CHANGE_FINAL_CONTROL"};case 4:case"end":return e.stop()}}),gi)}function ha(){return{type:"MARK_AUTOMATIC_CHANGE_FINAL"}}function ja(){var e,t=arguments;return Zc.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(ot.speak)(Object(w.__)("You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.")):Object(ot.speak)(Object(w.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),Oi)}function ka(){var e,t=arguments;return Zc.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.length>0&&void 0!==t[0]?t[0]:null,n.next=3,{type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e};case 3:e&&Object(ot.speak)(Object(w.__)("Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block."));case 4:case"end":return n.stop()}}),hi)}function ya(e){var t,n,r,o,c,i,a=arguments;return Zc.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(t=!(a.length>1&&void 0!==a[1])||a[1],e||e.length){l.next=3;break}return l.abrupt("return");case 3:return l.next=5,m.controls.select("core/block-editor","getBlocksByClientId",e);case 5:return n=l.sent,l.next=8,m.controls.select("core/block-editor","getBlockRootClientId",e[0]);case 8:if(r=l.sent,!Object(d.some)(n,(function(e){return!e}))){l.next=11;break}return l.abrupt("return");case 11:if(o=n.map((function(e){return e.name})),!Object(d.some)(o,(function(e){return!Object(p.hasBlockSupport)(e,"multiple",!0)}))){l.next=14;break}return l.abrupt("return");case 14:return l.next=16,m.controls.select("core/block-editor","getBlockIndex",Object(d.last)(Object(d.castArray)(e)),r);case 16:return c=l.sent,i=n.map((function(e){return Object(p.cloneBlock)(e)})),l.next=20,$i(i,c+1,r,t);case 20:if(!(i.length>1&&t)){l.next=23;break}return l.next=23,Ri(Object(d.first)(i).clientId,Object(d.last)(i).clientId);case 23:return l.abrupt("return",i.map((function(e){return e.clientId})));case 24:case"end":return l.stop()}}),ji)}function _a(e){var t,n;return Zc.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,m.controls.select("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,m.controls.select("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,m.controls.select("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,ba({},t,n);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),ki)}function Ea(e){var t,n;return Zc.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,m.controls.select("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,m.controls.select("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,m.controls.select("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,ba({},t,n+1);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),yi)}function Ca(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}function wa(e){return Zc.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ca(e,!0);case 2:return t.next=4,{type:"SLEEP",duration:150};case 4:return t.next=6,Ca(e,!1);case 6:case"end":return t.stop()}}),_i)}function Sa(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function Ba(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 Ia(e){for(var t=1;t1||Object(p.hasBlockSupport)(o,"lightBlockWrapper",!1))return Object(l.createElement)(s,Object(i.a)({},e,{context:a}));var b=Object(p.hasBlockSupport)(o,"className",!0)?Object(p.getBlockDefaultClassName)(r):null,f=u()(b,n.className);return Object(l.createElement)(s,Object(i.a)({},e,{context:a,className:f}))}));function Wa(e){var t={name:e.name,isSelected:e.isSelected,clientId:e.clientId,onFocus:e.onFocus,onCaretVerticalPositionChange:e.onCaretVerticalPositionChange};return Object(l.createElement)(O,{value:Object(l.useMemo)((function(){return t}),Object.values(t))},Object(l.createElement)(Ua,e))}var Ka=Object(v.createSlotFill)("BlockFormatControls"),qa=Ka.Fill,$a=Ka.Slot;var Ya=function(e){return h().isSelected?Object(l.createElement)(qa,null,(function(t){var n=Object(d.isEmpty)(t)?null:t;return Object(l.createElement)(v.__experimentalToolbarContext.Provider,{value:n},e.children)})):null};Ya.Slot=function(e){var t=Object(l.useContext)(v.__experimentalToolbarContext);return Object(l.createElement)($a,Object(i.a)({},e,{fillProps:t}))};var Xa=Ya,Qa=n(46),Za=n(47),Ja=n(311),el=n(113),tl=n(27),nl=function(e){return e+1},rl=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var ol=function(e,t,n,r,o){var c=Object(b.useReducedMotion)()||!r,i=Object(l.useReducer)(nl,0),a=Object(Me.a)(i,2),s=a[0],u=a[1],d=Object(l.useReducer)(nl,0),f=Object(Me.a)(d,2),p=f[0],m=f[1],v=Object(l.useState)({x:0,y:0}),g=Object(Me.a)(v,2),O=g[0],h=g[1],j=Object(l.useMemo)((function(){return e.current?rl(e.current):null}),[o]),k=Object(l.useMemo)((function(){if(!n||!e.current)return function(){};var t=Object(tl.getScrollContainer)(e.current);if(!t)return function(){};var r=e.current.getBoundingClientRect();return function(){var n=e.current.getBoundingClientRect().top-r.top;n&&(t.scrollTop+=n)}}),[o,n]);function y(n){var r=n.x,o=n.y;r=Math.round(r),o=Math.round(o),r===y.x&&o===y.y||(!function(n){var r=n.x,o=n.y;if(e.current){var c=0===r&&0===o;e.current.style.transformOrigin=c?"":"center",e.current.style.transform=c?"":"translate3d(".concat(r,"px,").concat(o,"px,0)"),e.current.style.zIndex=!t||c?"":"1",k()}}({x:r,y:o}),y.x=r,y.y=o)}Object(l.useLayoutEffect)((function(){s&&m()}),[s]),Object(l.useLayoutEffect)((function(){if(j)if(c)k();else{e.current.style.transform="";var t=rl(e.current);u(),h({x:Math.round(j.left-t.left),y:Math.round(j.top-t.top)})}}),[o]),y.x=0,y.y=0,Object(el.useSpring)({from:{x:O.x,y:O.y},to:{x:0,y:0},reset:s!==p,config:{mass:5,tension:2e3,friction:200},immediate:c,onFrame:y})},cl=Object(el.animated)(v.__experimentalTreeGridRow);function il(e){var t=e.isSelected,n=e.position,r=e.level,o=e.rowCount,c=e.children,a=e.className,s=e.path,d=Object(Fe.a)(e,["isSelected","position","level","rowCount","children","className","path"]),b=Object(l.useRef)(null),f=s.join("_"),p=ol(b,t,!1,!0,f);return Object(l.createElement)(cl,Object(i.a)({ref:b,style:p,className:u()("block-editor-block-navigation-leaf",a),level:r,positionInSet:n,setSize:o},d),c)}var al=n(218),ll=n(219),sl=n(309),ul=n(310);function dl(e,t,n,r,o,c,i){var a=n+1,l=function(e){return"up"===e?"horizontal"===i?Object(w.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===i?Object(w.isRTL)()?"left":"right":"down":null};if(e>1)return function(e,t,n,r,o){var c=t+1;if(o<0&&n)return Object(w.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(w.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(w.sprintf)(Object(w._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,c);if(o>0&&!r)return Object(w.sprintf)(Object(w._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,c)}(e,n,r,o,c);if(r&&o)return Object(w.sprintf)(Object(w.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!o){var s=l("down");if("down"===s)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d down to position %3$d"),t,a,a+1);if("left"===s)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d left to position %3$d"),t,a,a+1);if("right"===s)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d right to position %3$d"),t,a,a+1)}if(c>0&&o){var u=l("down");if("down"===u)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===u)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===u)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(c<0&&!r){var d=l("up");if("up"===d)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d up to position %3$d"),t,a,a-1);if("left"===d)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d left to position %3$d"),t,a,a-1);if("right"===d)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d right to position %3$d"),t,a,a-1)}if(c<0&&r){var b=l("up");if("up"===b)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var bl=function(e,t){return"up"===e?"horizontal"===t?Object(w.isRTL)()?al.a:ll.a:sl.a:"down"===e?"horizontal"===t?Object(w.isRTL)()?ll.a:al.a:ul.a:null},fl=function(e,t){return"up"===e?"horizontal"===t?Object(w.isRTL)()?Object(w.__)("Move right"):Object(w.__)("Move left"):Object(w.__)("Move up"):"down"===e?"horizontal"===t?Object(w.isRTL)()?Object(w.__)("Move left"):Object(w.__)("Move right"):Object(w.__)("Move down"):null},pl=Object(l.forwardRef)((function(e,t){var n=e.clientIds,r=e.direction,o=e.orientation,c=Object(Fe.a)(e,["clientIds","direction","orientation"]),a=Object(b.useInstanceId)(pl),s=Object(d.castArray)(n).length,f=Object(m.useSelect)((function(e){var t=e("core/block-editor"),c=t.getBlockIndex,i=t.getBlockRootClientId,a=t.getBlockOrder,l=t.getBlock,s=t.getBlockListSettings,u=Object(d.castArray)(n),b=Object(d.first)(u),f=i(b),m=c(b,f),v=c(Object(d.last)(u),f),g=a(f),O=l(b),h=0===m,j=v===g.length-1,k=(s(f)||{}).orientation;return{blockType:O?Object(p.getBlockType)(O.name):null,isDisabled:"up"===r?h:j,rootClientId:f,firstIndex:m,isFirst:h,isLast:j,orientation:o||k}}),[n,r]),g=f.blockType,O=f.isDisabled,h=f.rootClientId,j=f.isFirst,k=f.isLast,y=f.firstIndex,_=f.orientation,E=void 0===_?"vertical":_,C=Object(m.useDispatch)("core/block-editor"),w=C.moveBlocksDown,S=C.moveBlocksUp,B="up"===r?S:w,I="block-editor-block-mover-button__description-".concat(a);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.Button,Object(i.a)({ref:t,className:u()("block-editor-block-mover-button","is-".concat(r,"-button")),icon:bl(r,E),label:fl(r,E),"aria-describedby":I},c,{onClick:O?null:function(e){B(n,h),c.onClick&&c.onClick(e)},"aria-disabled":O})),Object(l.createElement)("span",{id:I,className:"block-editor-block-mover-button__description"},dl(s,g&&g.title,y,j,k,"up"===r?-1:1,E)))})),ml=Object(l.forwardRef)((function(e,t){return Object(l.createElement)(pl,Object(i.a)({direction:"up",ref:t},e))})),vl=Object(l.forwardRef)((function(e,t){return Object(l.createElement)(pl,Object(i.a)({direction:"down",ref:t},e))})),gl=Object(l.createContext)({__experimentalFeatures:!1}),Ol=function(){return Object(l.useContext)(gl)},hl=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var jl=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(l.createElement)("div",{className:u()(t,"block-editor-warning")},Object(l.createElement)("div",{className:"block-editor-warning__contents"},Object(l.createElement)("p",{className:"block-editor-warning__message"},r),(l.Children.count(n)>0||o)&&Object(l.createElement)("div",{className:"block-editor-warning__actions"},l.Children.count(n)>0&&l.Children.map(n,(function(e,t){return Object(l.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})),o&&Object(l.createElement)(v.DropdownMenu,{className:"block-editor-warning__secondary",icon:hl,label:Object(w.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},(function(){return Object(l.createElement)(v.MenuGroup,null,o.map((function(e,t){return Object(l.createElement)(v.MenuItem,{onClick:e.onClick,key:t},e.title)})))})))))},kl=n(279),yl=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,c=e.actionText,i=e.className;return Object(l.createElement)("div",{className:i},Object(l.createElement)("div",{className:"block-editor-block-compare__content"},Object(l.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(l.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(l.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(l.createElement)("div",{className:"block-editor-block-compare__action"},Object(l.createElement)(v.Button,{isSecondary:!0,tabIndex:"0",onClick:o},c)))};var _l=function(e){var t,n,r,o,c=e.block,i=e.onKeep,a=e.onConvert,s=e.convertor,b=e.convertButtonText,f={rawContent:c.originalContent,renderedContent:Object(p.getSaveElement)(c.name,c.attributes)},m=(t=s(c),n=Object(d.castArray)(t),r=n.map((function(e){return Object(p.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),o=n.map((function(e){return Object(p.getSaveElement)(e.name,e.attributes,e.innerBlocks)})),{rawContent:r.join(""),renderedContent:o}),v=function(e,t){return Object(kl.diffChars)(e,t).map((function(e,t){var n=u()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(l.createElement)("span",{key:t,className:n},e.value)}))}(f.rawContent,m.rawContent);return Object(l.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(l.createElement)(yl,{title:Object(w.__)("Current"),className:"block-editor-block-compare__current",action:i,actionText:Object(w.__)("Convert to HTML"),rawContent:f.rawContent,renderedContent:f.renderedContent}),Object(l.createElement)(yl,{title:Object(w.__)("After Conversion"),className:"block-editor-block-compare__converted",action:a,actionText:b,rawContent:v,renderedContent:m.renderedContent}))};var El=function(e){return Object(p.rawHandler)({HTML:e.originalContent})},Cl=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(m.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(p.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(p.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,El(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(p.createBlock)(t,o,c)))}}}))])((function(e){var t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,i=!!Object(p.getBlockType)("core/html"),a=Object(l.useState)(!1),s=Object(Me.a)(a,2),u=s[0],d=s[1],b=Object(l.useCallback)((function(){return d(!0)}),[]),f=Object(l.useCallback)((function(){return d(!1)}),[]),m=Object(l.useMemo)((function(){return[{title:Object(w._x)("Resolve","imperative verb"),onClick:b},i&&{title:Object(w.__)("Convert to HTML"),onClick:t},{title:Object(w.__)("Convert to Classic Block"),onClick:r}].filter(Boolean)}),[b,t,r]);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(jl,{actions:[Object(l.createElement)(v.Button,{key:"recover",onClick:o,isPrimary:!0},Object(w.__)("Attempt Block Recovery"))],secondaryActions:m},Object(w.__)("This block contains unexpected or invalid content.")),u&&Object(l.createElement)(v.Modal,{title:Object(w.__)("Resolve Block"),onRequestClose:f,className:"block-editor-block-compare"},Object(l.createElement)(_l,{block:c,onKeep:t,onConvert:n,convertor:El,convertButtonText:Object(w.__)("Convert to Blocks")})))})),wl=Object(l.createElement)(jl,{className:"block-editor-block-list__block-crash-warning"},Object(w.__)("This block has encountered an error and cannot be previewed.")),Sl=function(){return wl};function Bl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Fn.a)(e);if(t){var o=Object(Fn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Mn.a)(this,n)}}var Il=function(e){Object(Ln.a)(n,e);var t=Bl(n);function n(){var e;return Object(Dn.a)(this,n),(e=t.apply(this,arguments)).state={hasError:!1},e}return Object(An.a)(n,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),n}(l.Component),xl=n(91),Pl=n.n(xl);var Tl=function(e){var t=e.clientId,n=Object(l.useState)(""),r=Object(Me.a)(n,2),o=r[0],c=r[1],i=Object(m.useSelect)((function(e){return e("core/block-editor").getBlock(t)}),[t]),a=Object(m.useDispatch)("core/block-editor").updateBlock;return Object(l.useEffect)((function(){c(Object(p.getBlockContent)(i))}),[i]),Object(l.createElement)(Pl.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(p.getBlockType)(i.name),n=Object(p.getBlockAttributes)(e,o,i.attributes),r=o||Object(p.getSaveContent)(e,n),l=!o||Object(p.isValidBlockContent)(e,n,r);a(t,{attributes:n,originalContent:r,isValid:l}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})},Nl=n(64),Dl=n(216),Al=[Object(l.createInterpolateElement)(Object(w.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(l.createElement)("kbd",null)}),Object(l.createInterpolateElement)(Object(w.__)("Indent a list by pressing space at the beginning of a line."),{kbd:Object(l.createElement)("kbd",null)}),Object(l.createInterpolateElement)(Object(w.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:Object(l.createElement)("kbd",null)}),Object(w.__)("Drag files into the editor to automatically insert media blocks."),Object(w.__)("Change a block's type by pressing the block icon on the toolbar.")];var Rl=function(){var e=Object(l.useState)(Math.floor(Math.random()*Al.length)),t=Object(Me.a)(e,1)[0];return Object(l.createElement)(v.Tip,null,Al[t])},Ll=n(159),Ml=n(138),Fl=n(217);var Vl=function e(t){var n=t.className,r=t.onChange,o=t.value,c=t.placeholder,i=Object(b.useInstanceId)(e),a=Object(l.useRef)();return Object(l.createElement)("div",{className:u()("block-editor-inserter__search",n)},Object(l.createElement)(v.VisuallyHidden,{as:"label",htmlFor:"block-editor-inserter__search-".concat(i)},c),Object(l.createElement)("input",{ref:a,className:"block-editor-inserter__search-input",id:"block-editor-inserter__search-".concat(i),type:"search",placeholder:c,onChange:function(e){return r(e.target.value)},autoComplete:"off",value:o||""}),Object(l.createElement)("div",{className:"block-editor-inserter__search-icon"},!!o&&Object(l.createElement)(v.Button,{icon:Ll.a,label:Object(w.__)("Reset search"),onClick:function(){r(""),a.current.focus()}}),!o&&Object(l.createElement)(Ml.a,{icon:Fl.a})))},Hl=n(35),zl=n.n(Hl);var Gl=function(e){var t=e.title,n=e.icon,r=e.description,o=e.blockType;return o&&(zl()("`blockType` property in `BlockCard component`",{alternative:"`title, icon and description` properties"}),t=o.title,n=o.icon,r=o.description),Object(l.createElement)("div",{className:"block-editor-block-card"},Object(l.createElement)(Mr,{icon:n,showColors:!0}),Object(l.createElement)("div",{className:"block-editor-block-card__content"},Object(l.createElement)("h2",{className:"block-editor-block-card__title"},t),Object(l.createElement)("span",{className:"block-editor-block-card__description"},r)))};function Ul(e){var t=e.clientId,n=void 0===t?null:t,r=e.value,o=e.selectionStart,c=e.selectionEnd,i=e.onChange,a=void 0===i?d.noop:i,s=e.onInput,u=void 0===s?d.noop:s,b=Object(m.useRegistry)(),f=b.dispatch("core/block-editor"),v=f.resetBlocks,g=f.resetSelection,O=f.replaceInnerBlocks,h=f.setHasControlledInnerBlocks,j=f.__unstableMarkNextChangeAsNotPersistent,k=b.select("core/block-editor"),y=k.getBlockName,_=k.getBlocks,E=Object(l.useRef)({incoming:null,outgoing:[]}),C=Object(l.useRef)(!1),w=Object(l.useRef)(u),S=Object(l.useRef)(a);Object(l.useEffect)((function(){w.current=u,S.current=a}),[u,a]),Object(l.useEffect)((function(){E.current.outgoing.includes(r)?Object(d.last)(E.current.outgoing)===r&&(E.current.outgoing=[]):_(n)!==r&&(E.current.outgoing=[],function(){if(r)if(j(),n){h(n,!0),j();var e=r.map((function(e){return Object(p.cloneBlock)(e)}));C.current&&(E.current.incoming=e),O(n,e)}else C.current&&(E.current.incoming=r),v(r)}(),o&&c&&g(o,c))}),[r,n]),Object(l.useEffect)((function(){var e=b.select("core/block-editor"),t=e.getSelectionStart,r=e.getSelectionEnd,o=e.isLastBlockChangePersistent,c=e.__unstableIsLastBlockChangeIgnored,i=_(n),a=o(),l=!1;C.current=!0;var s=b.subscribe((function(){if(null===n||null!==y(n)){var e=o(),s=_(n),u=s!==i;if(i=s,u&&(E.current.incoming||c()))return E.current.incoming=null,void(a=e);if(u||l&&!u&&e&&!a)a=e,E.current.outgoing.push(i),(a?S.current:w.current)(i,{selectionStart:t(),selectionEnd:r()});l=u}}));return function(){return s()}}),[b,n])}var Wl,Kl=Object(b.createHigherOrderComponent)((function(e){return Object(m.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,c=Object(Fe.a)(t,["useSubRegistry","registry"]);if(!r)return Object(l.createElement)(e,Object(i.a)({registry:o},c));var a=Object(l.useState)(null),s=Object(Me.a)(a,2),u=s[0],d=s[1];return Object(l.useEffect)((function(){var e=Object(m.createRegistry)({},o);e.registerStore("core/block-editor",xa),d(e)}),[o]),u?Object(l.createElement)(m.RegistryProvider,{value:u},Object(l.createElement)(e,Object(i.a)({registry:u},c))):null}))}),"withRegistryProvider")((function(e){var t=e.children,n=e.settings,r=Object(m.useDispatch)("core/block-editor").updateSettings;return Object(l.useEffect)((function(){r(n)}),[n]),Ul(e),t}));function ql(e){var t=e.onClick;return Object(l.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},Object(l.createElement)(v.Disabled,null,Object(l.createElement)(Zu,null)))}var $l=function(e){var t=e.viewportWidth,n=e.__experimentalPadding,r=Object(b.useResizeObserver)(),o=Object(Me.a)(r,2),c=o[0],i=o[1].width,a=Object(b.useResizeObserver)(),s=Object(Me.a)(a,2),u=s[0],d=s[1].height;Wl=Wl||Object(b.pure)(Zu);var f=(i-2*n)/t;return Object(l.createElement)("div",{className:"block-editor-block-preview__container editor-styles-wrapper","aria-hidden":!0,style:{height:d*f+2*n}},c,Object(l.createElement)(v.Disabled,{style:{transform:"scale(".concat(f,")"),width:t,left:n,right:n,top:n},className:"block-editor-block-preview__content"},u,Object(l.createElement)(Wl,null)))};var Yl=Object(l.memo)((function(e){var t=e.blocks,n=e.__experimentalPadding,r=void 0===n?0:n,o=e.viewportWidth,c=void 0===o?1200:o,i=e.__experimentalLive,a=void 0!==i&&i,s=e.__experimentalOnClick,u=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings()}),[]),b=Object(l.useMemo)((function(){return Object(d.castArray)(t)}),[t]);return t&&0!==t.length?Object(l.createElement)(Kl,{value:b,settings:u},a?Object(l.createElement)(ql,{onClick:s}):Object(l.createElement)($l,{viewportWidth:c,__experimentalPadding:r})):null}));function Xl(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 Ql(e){for(var t=1;t6||h.length>6,E=Object(m.useSelect)((function(e){var t=e("core/block-editor"),o=t.getSettings,c=t.getBlockIndex;return{setInserterIsOpened:o().__experimentalSetIsInserterOpened,blockIndex:c(r,n)}}),[r,n]),C=E.setInserterIsOpened,S=E.blockIndex;Object(l.useEffect)((function(){C&&C(!1)}),[C]);var B=Object(m.useDispatch)("core/block-editor").__unstableSetInsertionPoint;return Object(l.createElement)("div",{className:u()("block-editor-inserter__quick-inserter",{"has-search":_,"has-expand":C})},_&&Object(l.createElement)(Vl,{value:s,onChange:function(e){d(e)},placeholder:Object(w.__)("Search for a block")}),Object(l.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},Object(l.createElement)(Es,{filterValue:s,onSelect:t,rootClientId:n,clientId:r,isAppender:o,selectBlockOnInsert:c,maxBlockPatterns:y?2:0,maxBlockTypes:6,isDraggable:!1})),C&&Object(l.createElement)(v.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:function(){B(n,S),C(!0)},"aria-label":Object(w.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(w.__)("Browse all")))}function Ps(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Fn.a)(e);if(t){var o=Object(Fn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Mn.a)(this,n)}}var Ts=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType,s=e.toggleProps,u=void 0===s?{}:s;t=a?Object(w.sprintf)(Object(w._x)("Add %s","directly add the only allowed block"),c):Object(w._x)("Add block","Generic label for block inserter button");var d=u.onClick,b=Object(Fe.a)(u,["onClick"]);return Object(l.createElement)(v.Button,Object(i.a)({icon:Dl.a,label:t,tooltipPosition:"bottom",onClick:function(e){n&&n(e),d&&d(e)},className:"block-editor-inserter__toggle","aria-haspopup":!a&&"true","aria-expanded":!a&&o,disabled:r},b))},Ns=function(e){Object(Ln.a)(n,e);var t=Ps(n);function n(){var e;return Object(Dn.a)(this,n),(e=t.apply(this,arguments)).onToggle=e.onToggle.bind(Object(Rn.a)(e)),e.renderToggle=e.renderToggle.bind(Object(Rn.a)(e)),e.renderContent=e.renderContent.bind(Object(Rn.a)(e)),e}return Object(An.a)(n,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,c=r.blockTitle,i=r.hasSingleBlockType,a=r.toggleProps,l=r.hasItems,s=r.renderToggle,u=void 0===s?Ts:s;return u({onToggle:t,isOpen:n,disabled:o||!l,blockTitle:c,hasSingleBlockType:i,toggleProps:a})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,c=n.isAppender,i=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return n.__experimentalIsQuick?Object(l.createElement)(xs,{onSelect:function(){t()},rootClientId:r,clientId:o,isAppender:c,selectBlockOnInsert:a}):Object(l.createElement)(Is,{onSelect:function(){t()},rootClientId:r,clientId:o,isAppender:c,showInserterHelpPanel:i,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock,o=e.__experimentalIsQuick,c=e.onSelectOrClose;return n?this.renderToggle({onToggle:r}):Object(l.createElement)(v.Dropdown,{className:"block-editor-inserter",contentClassName:u()("block-editor-inserter__popover",{"is-quick":o}),position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(w.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:c})}}]),n}(l.Component),Ds=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),c=o.getBlockRootClientId,i=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e(p.store).getBlockVariations,s=a(r=r||c(n)||void 0),u=1===Object(d.size)(s)&&0===Object(d.size)(l(s[0].name,"inserter")),b=!1;return u&&(b=s[0]),{hasItems:i(r),hasSingleBlockType:u,blockTitle:b?b.title:"",allowedBlockType:b,rootClientId:r}})),Object(m.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,i=t.onSelectOrClose,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(p.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),i&&i(),!s)){var u=Object(w.sprintf)(Object(w.__)("%s block added"),l.title);Object(ot.speak)(u)}}}})),Object(b.ifCondition)((function(e){var t=e.hasItems,n=e.isAppender,r=e.rootClientId,o=e.clientId;return t||!n&&!r&&!o}))])(Ns);var As=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,i=n.getSettings,a=n.getTemplateLock,l=!r(t.rootClientId),s=o(t.lastBlockClientId)===Object(p.getDefaultBlockName)(),u=c(t.lastBlockClientId),d=i().bodyPlaceholder;return{isVisible:l||!s||!u,showPrompt:l,isLocked:!!a(t.rootClientId),placeholder:d}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,c=e.placeholder,i=e.rootClientId;if(t||!n)return null;var a=Object(Nl.decodeEntities)(c)||Object(w.__)("Start writing or type / to choose a block");return Object(l.createElement)("div",{"data-root-client-id":i||"",className:"wp-block block-editor-default-block-appender"},Object(l.createElement)(Pl.a,{role:"button","aria-label":Object(w.__)("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(l.createElement)(Ds,{rootClientId:i,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}));var Rs=Object(l.forwardRef)((function(e,t){var n=e.rootClientId,r=e.className,o=e.__experimentalSelectBlockOnInsert,c=e.onFocus,i=e.tabIndex;return Object(l.createElement)(Ds,{position:"bottom center",rootClientId:n,__experimentalSelectBlockOnInsert:o,__experimentalIsQuick:!0,renderToggle:function(e){var n,o=e.onToggle,a=e.disabled,s=e.isOpen,d=e.blockTitle,b=e.hasSingleBlockType;n=b?Object(w.sprintf)(Object(w._x)("Add %s","directly add the only allowed block"),d):Object(w._x)("Add block","Generic label for block inserter button");var f=!b,p=Object(l.createElement)(v.Button,{ref:t,onFocus:c,tabIndex:i,className:u()(r,"block-editor-button-block-appender"),onClick:o,"aria-haspopup":f?"true":void 0,"aria-expanded":f?s:void 0,disabled:a,label:n},!b&&Object(l.createElement)(v.VisuallyHidden,{as:"span"},n),Object(l.createElement)(Ml.a,{icon:Dl.a}));return(f||b)&&(p=Object(l.createElement)(v.Tooltip,{text:n},p)),p},isAppender:!0})}));Object(l.createContext)();function Ls(e){e.stopPropagation()}var Ms=Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType,i=r.getTemplateLock,a=r.getSelectedBlockClientId;return{isLocked:!!i(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(p.getDefaultBlockName)(),n),selectedBlockClientId:a()}}))((function(e){var t,n=e.blockClientIds,r=e.rootClientId,o=e.canInsertDefaultBlock,c=e.isLocked,i=e.renderAppender,a=e.className,s=e.selectedBlockClientId,b=e.tagName,f=void 0===b?"div":b;if(c||!1===i)return null;if(i)t=Object(l.createElement)(i,null);else{var p=!r,m=s===r,v=s&&!n.includes(s);if(!p&&!m&&(!s||v))return null;t=o?Object(l.createElement)(As,{rootClientId:r,lastBlockClientId:Object(d.last)(n)}):Object(l.createElement)(Rs,{rootClientId:r,className:"block-list-appender__toggle"})}return Object(l.createElement)(f,{tabIndex:-1,onFocus:Ls,className:u()("block-list-appender","wp-block",a)},t)}));function Fs(e,t,n,r,o,c,i){return function(a){var l=function(e){var t={srcRootClientId:null,srcClientIds:null,srcIndex:null,type:null,blocks:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(a),s=l.srcRootClientId,u=l.srcClientIds,d=l.type,b=l.blocks;if("inserter"===d&&(i(),c(b,t,e,!1)),"block"===d){var f=n(u[0],s);if(s===e&&f===t)return;if(u.includes(e)||r(u).some((function(t){return t===e})))return;var p=s===e,m=u.length;o(u,s,e,p&&f=s&&a<=u?a:a2&&void 0!==arguments[2]?arguments[2]:["top","bottom","left","right"];return o.forEach((function(o){var c=Gs(e,t,o);(void 0===n||c-1&&Object(ot.speak)(N)}),[]);var h=Object(m.useSelect)(Ys,[]),j=h.selectedBlockClientId,k=h.selectionBeforeEndClientId,y=h.selectionAfterEndClientId,_=h.hasBlockMovingClientId,E=h.getBlockIndex,C=h.getBlockRootClientId,w=h.getClientIdsOfDescendants,S=Object(m.useDispatch)("core/block-editor"),B=S.selectBlock,I=S.clearSelectedBlock,x=S.setBlockMovingClientId,P=S.moveBlockToPosition,T=Object(p.getBlockType)(i),N=Object(p.__experimentalGetAccessibleBlockLabel)(T,a,c+1,d),D=u()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!s});return Object(l.createElement)("div",{className:D},Object(l.createElement)(v.Button,{ref:O,onClick:function(){return f(!1)},onKeyDown:function(e){var n=e.keyCode,o=n===Ht.UP,c=n===Ht.DOWN,i=n===Ht.LEFT,a=n===Ht.RIGHT,l=n===Ht.TAB,s=n===Ht.ESCAPE,u=n===Ht.ENTER,d=n===Ht.SPACE,b=e.shiftKey;if(n===Ht.BACKSPACE||n===Ht.DELETE)return g(t),void e.preventDefault();var f,p=l&&b||o,m=l&&!b||c,v=i,O=a;if(p)f=k;else if(m)f=y;else if(v){var h;f=null!==(h=C(j))&&void 0!==h?h:j}else if(O){var S;f=null!==(S=w([j])[0])&&void 0!==S?S:j}var T=_();if(s&&T&&x(null),(u||d)&&T){var N=C(T),D=C(j),A=E(T,N),R=E(j,D);Ac){var a=Math.max(o-c-50,0),l=Math.max(i-c-50,0)/a;n.current=25*l}else if(e.clientY=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function au(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n')})).join(""),n=""),{html:r,plainText:n}}(t),g=v.plainText,O=v.html,h=Object(p.pasteHandler)({HTML:O,plainText:g,mode:"BLOCKS",canUserUseUnfilteredHTML:m});u(i,h,h.length-1,-1)}}}}return e.current.addEventListener("copy",t),e.current.addEventListener("cut",t),e.current.addEventListener("paste",t),function(){e.current.removeEventListener("copy",t),e.current.removeEventListener("cut",t),e.current.removeEventListener("paste",t)}}),[])}var yu=function(e){var t=e.children,n=Object(l.useRef)();return ku(n),Object(l.createElement)("div",{ref:n},t)};function _u(e){var t=e.clientIds,n=e.children,r=e.__experimentalUpdateSelection,o=Object(m.useSelect)((function(e){return e("core/block-editor")}),[]),c=o.canInsertBlockType,i=o.getBlockRootClientId,a=o.getBlocksByClientId,l=o.getTemplateLock,s=Object(m.useSelect)((function(e){return e(p.store)}),[]),u=s.getDefaultBlockName,b=s.getGroupingBlockName,f=a(t),v=i(t[0]),g=Object(d.every)(f,(function(e){return!!e&&Object(p.hasBlockSupport)(e.name,"multiple",!0)&&c(e.name,v)})),O=c(u(),v),h=Object(m.useDispatch)("core/block-editor"),j=h.removeBlocks,k=h.replaceBlocks,y=h.duplicateBlocks,_=h.insertAfterBlock,E=h.insertBeforeBlock,C=h.flashBlock,w=h.setBlockMovingClientId,S=h.setNavigationMode,B=h.selectBlock,I=ju();return n({canDuplicate:g,canInsertDefaultBlock:O,isLocked:!!l(v),rootClientId:v,blocks:f,onDuplicate:function(){return y(t,r)},onRemove:function(){return j(t,r)},onInsertBefore:function(){E(Object(d.first)(Object(d.castArray)(t)))},onInsertAfter:function(){_(Object(d.last)(Object(d.castArray)(t)))},onMoveTo:function(){S(!0),B(t[0]),w(t[0])},onGroup:function(){if(f.length){var e=b(),n=Object(p.switchToBlockType)(f,e);n&&k(t,n)}},onUngroup:function(){if(f.length){var e=f[0].innerBlocks;e.length&&k(t,e)}},onCopy:function(){var e=f.map((function(e){return e.clientId}));1===f.length&&C(e[0]),I("copy",e)}})}var Eu=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,i=r.getSettings,a=o(n),l=i().codeEditingEnabled;return{mode:c(n),blockType:a?Object(p.getBlockType)(a.name):null,isCodeEditingEnabled:l}})),Object(m.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?d.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,i=e.isCodeEditingEnabled,a=void 0===i||i;if(!Object(p.hasBlockSupport)(t,"html",!0)||!a)return null;var s="visual"===n?Object(w.__)("Edit as HTML"):Object(w.__)("Edit visually");return Object(l.createElement)(v.MenuItem,{onClick:r},!c&&s)}));var Cu=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(p.rawHandler)({HTML:Object(p.getBlockContent)(n)}))}}})))((function(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(w.__)("Convert to Blocks");return Object(l.createElement)(v.MenuItem,{onClick:n},!r&&o)})),wu=Object(v.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Su=wu.Fill,Bu=wu.Slot;Su.Slot=Bu;var Iu=Su;function xu(e){var t=e.clientIds,n=e.isGroupable,r=e.isUngroupable,o=e.blocksSelection,c=e.groupingBlockName,i=e.onClose,a=void 0===i?function(){}:i,s=Object(m.useDispatch)(Pa).replaceBlocks;return n||r?Object(l.createElement)(l.Fragment,null,n&&Object(l.createElement)(v.MenuItem,{onClick:function(){var e;(e=Object(p.switchToBlockType)(o,c))&&s(t,e),a()}},Object(w._x)("Group","verb")),r&&Object(l.createElement)(v.MenuItem,{onClick:function(){var e;(e=o[0].innerBlocks).length&&s(t,e),a()}},Object(w._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}function Pu(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 Tu(e){for(var t=1;t0||s)return Object(l.createElement)(v.MenuGroup,null,e,Object(l.createElement)(xu,Object(i.a)({},a,{onClose:null==n?void 0:n.onClose})))}))};var Ru=Du,Lu={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};var Mu=function(e){var t=e.clientIds,n=e.__experimentalSelectBlock,r=e.children,o=Object(Fe.a)(e,["clientIds","__experimentalSelectBlock","children"]),c=Object(d.castArray)(t),a=c.length,s=c[0],u=Object(m.useSelect)((function(e){var t=e(Qa.store).getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]),b=Object(l.useCallback)(n?function(){var e=Object(Za.a)(Zc.a.mark((function e(t){var r;return Zc.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:(r=e.sent)&&r[0]&&n(r[0]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():d.noop,[n]),f=1===a?Object(w.__)("Remove block"):Object(w.__)("Remove blocks");return Object(l.createElement)(_u,{clientIds:t,__experimentalUpdateSelection:!n},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,m=e.isLocked,g=e.onDuplicate,O=e.onInsertAfter,h=e.onInsertBefore,j=e.onRemove,k=e.onCopy,y=e.onMoveTo,_=e.blocks;return Object(l.createElement)(v.DropdownMenu,Object(i.a)({icon:Ja.a,label:Object(w.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:Lu,noIcons:!0},o),(function(e){var o=e.onClose;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.MenuGroup,null,Object(l.createElement)(Iu.Slot,{fillProps:{onClose:o}}),1===a&&Object(l.createElement)(Cu,{clientId:s}),Object(l.createElement)(v.ClipboardButton,{text:function(){return Object(p.serialize)(_)},role:"menuitem",className:"components-menu-item__button",onCopy:k},Object(w.__)("Copy")),n&&Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,g,b),shortcut:u.duplicate},Object(w.__)("Duplicate")),c&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,h),shortcut:u.insertBefore},Object(w.__)("Insert before")),Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,O),shortcut:u.insertAfter},Object(w.__)("Insert after"))),!m&&Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,y)},Object(w.__)("Move to")),1===a&&Object(l.createElement)(Eu,{clientId:s,onToggle:o})),Object(l.createElement)(Ru.Slot,{fillProps:{onClose:o},clientIds:t}),"function"==typeof r?r({onClose:o}):l.Children.map((function(e){return Object(l.cloneElement)(e,{onClose:o})})),Object(l.createElement)(v.MenuGroup,null,!m&&Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,j,b),shortcut:u.remove},f)))}))}))};var Fu=function(e){var t=e.clientIds,n=Object(Fe.a)(e,["clientIds"]);return Object(l.createElement)(v.ToolbarGroup,null,Object(l.createElement)(v.ToolbarItem,null,(function(e){return Object(l.createElement)(Mu,Object(i.a)({clientIds:t,toggleProps:e},n))})))},Vu=window,Hu=Vu.clearTimeout,zu=Vu.setTimeout;function Gu(e){var t=e.ref,n=e.isFocused,r=e.debounceTimeout,o=void 0===r?200:r,c=e.onChange,i=void 0===c?d.noop:c,a=Object(l.useState)(!1),s=Object(Me.a)(a,2),u=s[0],b=s[1],f=Object(l.useRef)(),p=function(e){null!=t&&t.current&&b(e),i(e)},m=function(){var e=(null==t?void 0:t.current)&&t.current.matches(":hover");return!n&&!e},v=function(){var e=f.current;e&&Hu&&Hu(e)};return Object(l.useEffect)((function(){return function(){return v()}}),[]),{showMovers:u,debouncedShowMovers:function(e){e&&e.stopPropagation(),v(),u||p(!0)},debouncedHideMovers:function(e){e&&e.stopPropagation(),v(),f.current=zu((function(){m()&&p(!1)}),o)}}}function Uu(e){var t=e.hideDragHandle,n=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.getBlockMode,o=t.getSelectedBlockClientIds,c=t.isBlockValid,i=t.getBlockRootClientId,a=t.getSettings,l=o(),s=l[0],u=i(s),d=a();return{blockClientIds:l,blockClientId:s,blockType:s&&Object(p.getBlockType)(n(s)),hasFixedToolbar:d.hasFixedToolbar,hasReducedUI:d.hasReducedUI,rootClientId:u,isValid:l.every((function(e){return c(e)})),isVisual:l.every((function(e){return"visual"===r(e)}))}}),[]),r=n.blockClientIds,o=n.blockClientId,c=n.blockType,a=n.hasFixedToolbar,s=n.hasReducedUI,f=n.isValid,g=n.isVisual,O=Object(m.useDispatch)("core/block-editor").toggleBlockHighlight,h=Object(l.useRef)(),j=function(e){var t=e.ref,n=e.debounceTimeout,r=void 0===n?200:n,o=e.onChange,c=void 0===o?d.noop:o,i=Object(l.useState)(!1),a=Object(Me.a)(i,2),s=a[0],u=a[1],b=Gu({ref:t,debounceTimeout:r,isFocused:s,onChange:c}),f=b.showMovers,p=b.debouncedShowMovers,m=b.debouncedHideMovers,v=Object(l.useRef)(!1),g=function(){return(null==t?void 0:t.current)&&t.current.contains(t.current.ownerDocument.activeElement)};return Object(l.useEffect)((function(){var e=t.current,n=function(){g()&&(u(!0),p())},r=function(){g()||(u(!1),m())};return e&&!v.current&&(e.addEventListener("focus",n,!0),e.addEventListener("blur",r,!0),v.current=!0),function(){e&&(e.removeEventListener("focus",n),e.removeEventListener("blur",r))}}),[t,v,u,p,m]),{showMovers:f,gestures:{onMouseMove:p,onMouseLeave:m}}}({ref:h,onChange:function(e){e&&s||O(o,e)}}),k=j.showMovers,y=j.gestures,_=Object(b.useViewportMatch)("medium","<")||a;if(c&&!Object(p.hasBlockSupport)(c,"__experimentalToolbar",!0))return null;var E=_||k;if(0===r.length)return null;var w=f&&g,S=r.length>1,B=u()("block-editor-block-toolbar",E&&"is-showing-movers");return Object(l.createElement)("div",{className:B},Object(l.createElement)("div",Object(i.a)({ref:h},y),!S&&Object(l.createElement)("div",{className:"block-editor-block-toolbar__block-parent-selector-wrapper"},Object(l.createElement)(nu,{clientIds:r})),(w||S)&&Object(l.createElement)(v.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},Object(l.createElement)(Ou,{clientIds:r}),Object(l.createElement)(tu,{clientIds:r,hideDragHandle:t||s}))),w&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(l.createElement)(Xa.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(l.createElement)(Fu,{clientIds:r}))}var Wu=function(e){var t=e.focusOnMount,n=Object(Fe.a)(e,["focusOnMount"]),r=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.getSelectedBlockClientIds,o=e(p.store).getBlockType,c=r()[0];return{blockType:c&&o(n(c))}}),[]).blockType;return r&&!Object(p.hasBlockSupport)(r,"__experimentalToolbar",!0)?null:Object(l.createElement)("div",{className:"block-editor-block-contextual-toolbar-wrapper"},Object(l.createElement)(Js,Object(i.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(w.__)("Block tools")},n),Object(l.createElement)(Uu,null)))};function Ku(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,c=t.isTyping,i=t.isCaretWithinFormattedText,a=t.getSettings,l=t.getLastMultiSelectedBlockClientId;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:c(),isCaretWithinFormattedText:i(),hasMultiSelection:o(),hasFixedToolbar:a().hasFixedToolbar,lastClientId:l()}}function qu(e){var t=e.clientId,n=e.rootClientId,r=e.isValid,o=e.isEmptyDefaultBlock,c=e.capturingClientId,i=Object(m.useSelect)(Ku,[]),a=i.isNavigationMode,s=i.isMultiSelecting,d=i.isTyping,f=i.isCaretWithinFormattedText,p=i.hasMultiSelection,g=i.hasFixedToolbar,O=i.lastClientId,h=Object(b.useViewportMatch)("medium"),j=Object(l.useState)(!1),k=Object(Me.a)(j,2),y=k[0],_=k[1],E=Object(l.useState)(!1),C=Object(Me.a)(E,2),w=C[0],S=C[1],B=Object(l.useContext)(Xu),I=Object(m.useDispatch)("core/block-editor").stopTyping,x=!d&&!a&&o&&r,P=a,T=!a&&!g&&h&&!x&&!s&&(!d||f),N=!(a||T||g||o);Object(Qa.useShortcut)("core/block-editor/focus-toolbar",Object(l.useCallback)((function(){_(!0),I(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!N}),Object(l.useEffect)((function(){T||_(!1)}),[T]);var D=Object(l.useRef)();if(Object(l.useEffect)((function(){D.current=void 0}),[t]),!(P||T||y||x))return null;var A=B[t];if(!A)return null;var R=A.ownerDocument;c&&(A=at(c,R));var L=A;if(p){var M=B[O];if(!M)return null;L={top:A,bottom:M}}var F=x?"top left right":"top right left",V=x?void 0:R.defaultView.frameElement||Object(tl.getScrollContainer)(A)||R.body;return Object(l.createElement)(v.Popover,{noArrow:!0,animate:!1,position:F,focusOnMount:!1,anchorRef:L,className:"block-editor-block-list__block-popover",__unstableStickyBoundaryElement:V,__unstableSlotName:"block-toolbar",__unstableBoundaryParent:!0,__unstableObserveElement:A,shouldAnchorIncludePadding:!0},(T||y)&&Object(l.createElement)("div",{onFocus:function(){S(!0)},onBlur:function(){S(!1)},tabIndex:-1,className:u()("block-editor-block-list__block-popover-inserter",{"is-visible":w})},Object(l.createElement)(Ds,{clientId:t,rootClientId:n,__experimentalIsQuick:!0})),(T||y)&&Object(l.createElement)(Wu,{focusOnMount:y,__experimentalInitialIndex:D.current,__experimentalOnIndexChange:function(e){D.current=e}}),P&&Object(l.createElement)(Xs,{clientId:t,rootClientId:n,blockElement:A}),x&&Object(l.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(l.createElement)(Ds,{position:"bottom right",rootClientId:n,clientId:t,__experimentalIsQuick:!0})))}function $u(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,c=t.__unstableGetBlockWithoutInnerBlocks,i=t.getBlockParents,a=t.__experimentalGetBlockListSettingsForBlocks,l=n()||r();if(l){var s,u=c(l)||{},b=u.name,f=u.attributes,m=void 0===f?{}:f,v=u.isValid,g=i(l),O=a(g),h=Object(d.findIndex)(O,["__experimentalCaptureToolbars",!0]);return-1!==h&&(s=g[h]),{clientId:l,rootClientId:o(l),name:b,isValid:v,isEmptyDefaultBlock:b&&Object(p.isUnmodifiedDefaultBlock)({name:b,attributes:m}),capturingClientId:s}}}function Yu(){var e=Object(m.useSelect)($u,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.name,o=e.isValid,c=e.isEmptyDefaultBlock,i=e.capturingClientId;return r?Object(l.createElement)(qu,{clientId:t,rootClientId:n,isValid:o,isEmptyDefaultBlock:c,capturingClientId:i}):null}var Xu=Object(l.createContext)(),Qu=Object(l.createContext)();function Zu(e){var t=e.className,n=Object(l.useRef)(),r=Object(l.useState)({}),o=Object(Me.a)(r,2),c=o[0],i=o[1],a=function(e){var t=Object(l.useState)(!1),n=Object(Me.a)(t,2),r=n[0],o=n[1],c=Object(l.useState)(!1),i=Object(Me.a)(c,2),a=i[0],s=i[1],u=Object(l.useState)(null),d=Object(Me.a)(u,2),b=d[0],f=d[1],p=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.isMultiSelecting,r=t.isBlockInsertionPointVisible,o=t.getBlockInsertionPoint,c=t.getBlockOrder,i=t.getBlockListSettings,a=o(),l=c(a.rootClientId);return{getBlockListSettings:i,isMultiSelecting:n(),isInserterVisible:r(),selectedClientId:l[a.index-1],selectedRootClientId:a.rootClientId}}),[]),v=p.isMultiSelecting,g=p.isInserterVisible,O=p.selectedClientId,h=p.selectedRootClientId,j=p.getBlockListSettings,k=Object(l.useCallback)((function(e){var t;if(e.target.classList.contains("block-editor-block-list__layout")){var n;if(!e.target.classList.contains("is-root-container"))n=(e.target.getAttribute("data-block")?e.target:e.target.closest("[data-block]")).getAttribute("data-block");var c=(null===(t=j(n))||void 0===t?void 0:t.orientation)||"vertical",i=e.target.getBoundingClientRect(),a=e.clientY-i.top,l=e.clientX-i.left,s=Array.from(e.target.children),u=s.find((function(e){return"vertical"===c&&e.offsetTop>a||"horizontal"===c&&e.offsetLeft>l})),d=u?s[s.indexOf(u)-1]:s[s.length-1];if(d&&(d.id||(d=d.firstElementChild))){var b=d.id.slice("block-".length);if(b){var p=d.getBoundingClientRect();"horizontal"===c&&(e.clientY>p.bottom||e.clientYp.right||e.clientX=o.right||a.right<=o.left)return!1}if(Object(tl.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return e.classList.contains("block-editor-block-list__layout")||!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var l,s=1;(l=i[c+s])&&n.contains(l);s++)if(t(l,c+s,i))return!1;return!0}))}function ud(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,c=t.getPreviousBlockClientId,i=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,b=t.isNavigationMode,f=t.isSelectionEnabled,p=t.getBlockSelectionStart,m=t.isMultiSelecting,v=t.getSettings,g=n(),O=r(),h=o(),j=u();return{selectedBlockClientId:g,selectionStartClientId:O,selectionBeforeEndClientId:c(h||g),selectionAfterEndClientId:i(h||g),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),firstBlock:Object(d.first)(j),lastBlock:Object(d.last)(j),isNavigationMode:b(),isSelectionEnabled:f(),blockSelectionStart:p(),isMultiSelecting:m(),keepCaretInsideBlock:v().keepCaretInsideBlock}}function dd(e){var t=e.children,n=Object(l.useRef)(),r=Object(l.useRef)(),o=Object(l.useRef)(),c=Object(l.useRef)(),i=Object(l.useRef)(),a=Object(l.useRef)(),s=Object(l.useRef)(),b=function(e){var t=Object(m.useSelect)(id,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,c=t.hasMultiSelection,i=t.getBlockParents,a=t.selectedBlockClientId,s=Object(m.useDispatch)("core/block-editor"),u=s.startMultiSelect,d=s.stopMultiSelect,b=s.multiSelect,f=s.selectBlock,p=Object(l.useRef)(),v=Object(l.useRef)(),g=Object(l.useRef)();Object(l.useEffect)((function(){var t=e.current.ownerDocument,n=t.defaultView;if(c&&!r){var i=o.length;if(!(i<2)){var l=o[0],s=o[i-1],u=at(l,t),d=at(s,t),b=n.getSelection(),f=t.createRange();u=cd(u,"start"),d=cd(d,"end"),f.setStartBefore(u),f.setEndAfter(d),b.removeAllRanges(),b.addRange(f)}}else{if(!a||r)return;var p=n.getSelection();if(p.rangeCount&&!p.isCollapsed){var m=at(a,t),v=p.getRangeAt(0),g=v.startContainer,O=v.endContainer;!m||m.contains(g)&&m.contains(O)||p.removeAllRanges()}}}),[c,r,o,f,a]);var O=Object(l.useCallback)((function(t){var n=t.isSelectionEnd,r=e.current.ownerDocument.defaultView.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=st(r.focusNode);if(v.current===o){if(f(o),n&&(ad(e.current,!0),r.rangeCount)){var c=r.getRangeAt(0).commonAncestorContainer;g.current.contains(c)&&g.current.focus()}}else{var a=[].concat(Object(pe.a)(i(v.current)),[v.current]),l=[].concat(Object(pe.a)(i(o)),[o]),s=Math.min(a.length,l.length)-1;b(a[s],l[s])}}else ad(e.current,!0)}),[f,i,b]),h=Object(l.useCallback)((function(){var t=e.current.ownerDocument,n=t.defaultView;t.removeEventListener("selectionchange",O),n.removeEventListener("mouseup",h),p.current=n.requestAnimationFrame((function(){O({isSelectionEnd:!0}),d()}))}),[O,d]);return Object(l.useEffect)((function(){var t=e.current.ownerDocument,n=t.defaultView;return function(){t.removeEventListener("selectionchange",O),n.removeEventListener("mouseup",h),n.cancelAnimationFrame(p.current)}}),[O,h]),Object(l.useCallback)((function(t){if(n){var r=e.current.ownerDocument,o=r.defaultView;v.current=t,g.current=r.activeElement,u(),r.addEventListener("selectionchange",O),o.addEventListener("mouseup",h),ad(e.current,!1)}}),[n,u,h])}(n),f=Object(m.useSelect)(ud,[]),p=f.selectedBlockClientId,v=f.selectionStartClientId,g=f.selectionBeforeEndClientId,O=f.selectionAfterEndClientId,h=f.selectedFirstClientId,j=f.selectedLastClientId,k=f.hasMultiSelection,y=f.firstBlock,_=f.lastBlock,E=f.isNavigationMode,C=f.isSelectionEnabled,S=f.blockSelectionStart,B=f.isMultiSelecting,I=f.keepCaretInsideBlock,x=Object(m.useDispatch)("core/block-editor"),P=x.multiSelect,T=x.selectBlock,N=x.setNavigationMode;function D(e){var t=e?g:O;t&&P(v||p,t)}function A(e){var t=e?h:j;t&&T(t)}Object(l.useEffect)((function(){k&&!B&&c.current.focus()}),[k,B]);var R=u()("block-editor-writing-flow",{"is-navigate-mode":E});return Object(l.createElement)(ld.Provider,{value:b},Object(l.createElement)(od,{ref:r,selectedClientId:p,containerRef:n,noCapture:a,hasMultiSelection:k,multiSelectionContainer:c}),Object(l.createElement)("div",{ref:c,tabIndex:k?"0":void 0,"aria-label":k?Object(w.__)("Multiple selected blocks"):void 0,style:{position:"fixed"},onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey,c=t===Ht.UP,i=t===Ht.DOWN,l=t===Ht.LEFT,s=t===Ht.RIGHT,u=c||l,d=l||s||(c||i);if(t===Ht.TAB)a.current=!0,n?r.current.focus():o.current.focus();else if(d){(n?D:A)(u),e.preventDefault()}}}),Object(l.createElement)("div",{ref:n,className:R,onKeyDown:function(e){var t=e.keyCode,c=e.target;if(n.current.contains(c)){var l=t===Ht.UP,u=t===Ht.DOWN,b=t===Ht.LEFT,f=t===Ht.RIGHT,m=t===Ht.TAB,v=t===Ht.ESCAPE,h=l||b,j=b||f,k=l||u,E=j||k,C=e.shiftKey,w=C||e.ctrlKey||e.altKey||e.metaKey,S=k?tl.isVerticalEdge:tl.isHorizontalEdge,B=n.current.ownerDocument,x=B.defaultView;if(p)if(m){var T=at(p,B);if(C){if(c===T)return a.current=!0,void r.current.focus()}else{var A=tl.focus.tabbable.find(T);if(c===(Object(d.last)(A)||T))return a.current=!0,void o.current.focus()}}else v&&N(!0);if(k?s.current||(s.current=Object(tl.computeCaretRect)(x)):s.current=null,!E)return Ht.isKeyboardEvent.primary(e)&&(i.current=Object(tl.isEntirelySelected)(c)),void(Ht.isKeyboardEvent.primary(e,"a")&&((c.isContentEditable?i.current:Object(tl.isEntirelySelected)(c))&&(P(y,_),e.preventDefault()),i.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Ht.UP||t===Ht.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,t,w)){var R,L="rtl"===(R=c).ownerDocument.defaultView.getComputedStyle(R).direction?!h:h;if(C)(h&&g||!h&&O)&&function(e,t){var r,o,c=sd(e,t,n.current);return!(c&&(r=e,o=c,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(c,h)&&S(c,h)&&(D(h),e.preventDefault());else if(k&&Object(tl.isVerticalEdge)(c,h)&&!I){var M=sd(c,h,n.current,!0);M&&(Object(tl.placeCaretAtVerticalEdge)(M,h,s.current),e.preventDefault())}else if(j&&x.getSelection().isCollapsed&&Object(tl.isHorizontalEdge)(c,L)&&!I){var F=sd(c,L,n.current);Object(tl.placeCaretAtHorizontalEdge)(F,L),e.preventDefault()}}}},onMouseDown:function(e){s.current=null;var t=e.target.ownerDocument;if(E&&p&<(at(p,t),e.target)&&N(!1),C&&0===e.button){var n=st(e.target);n&&(e.shiftKey?S!==n&&(P(S,n),e.preventDefault()):k&&T(n))}}},t),Object(l.createElement)(od,{ref:o,selectedClientId:p,containerRef:n,noCapture:a,hasMultiSelection:k,multiSelectionContainer:c,isReverse:!0}))}function bd(e,t){var n=Object(l.useContext)(ld),r=Object(m.useSelect)((function(e){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.getBlockRootClientId,c=n.getBlockIndex;return{isSelected:r(t),rootClientId:o(t),index:c(t)}}),[t]),o=r.isSelected,c=r.rootClientId,i=r.index,a=Object(m.useDispatch)("core/block-editor"),s=a.insertDefaultBlock,u=a.removeBlock,d=a.selectBlock;Object(l.useEffect)((function(){if(!o){function r(n){lt(e.current,n.target)&&d(t)}return e.current.addEventListener("focusin",r),function(){e.current.removeEventListener("focusin",r)}}function a(n){var r=n.keyCode,o=n.target;r!==Ht.ENTER&&r!==Ht.BACKSPACE&&r!==Ht.DELETE||o!==e.current||Object(tl.isTextField)(o)||(n.preventDefault(),r===Ht.ENTER?s({},c,i+1):u(t))}function l(e){1===e.buttons&&n(t)}function b(e){e.preventDefault()}return e.current.addEventListener("keydown",a),e.current.addEventListener("mouseleave",l),e.current.addEventListener("dragstart",b),function(){e.current.removeEventListener("mouseleave",l),e.current.removeEventListener("keydown",a),e.current.removeEventListener("dragstart",b)}}),[o,c,i,n,s,u,d])}function fd(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 pd(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.__unstableIsHtml,r=Object(l.useRef)(),o=e.ref||r,c=Object(l.useContext)(Qu),i=Object(l.useContext)(Od),s=i.clientId,b=i.isSelected,f=i.isFirstMultiSelected,p=i.isLastMultiSelected,m=i.isPartOfMultiSelection,v=i.enableAnimation,g=i.index,O=i.className,h=i.name,j=i.mode,k=i.blockTitle,y=i.wrapperProps,_=void 0===y?{}:y;Object(l.useEffect)((function(){if(b||f||p){var e=o.current;return c((function(t){return pd(pd({},t),{},Object(a.a)({},s,e))})),function(){c((function(e){return Object(d.omit)(e,s)}))}}}),[b,f,p]),Object(l.useEffect)((function(){var e=o.current;c((function(t){return t[s]&&t[s]!==e?pd(pd({},t),{},Object(a.a)({},s,e)):t}))}));var E=Object(w.sprintf)(Object(w.__)("Block: %s"),k);td(o,s),bd(o,s),ol(o,b||m,b||f,v,g);var C=nd(o),S=rd(s),B="html"!==j||n?"":"-visual";return pd(pd(pd({},_),e),{},{ref:o,id:"block-".concat(s).concat(B),tabIndex:0,role:"group","aria-label":E,"data-block":s,"data-type":h,"data-title":k,className:u()(O,e.className,_.className,S,{"is-hovered":C}),style:pd(pd({},_.style),e.style)})}function vd(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 gd(e){for(var t=1;t1||Object(p.hasBlockSupport)(q,"lightBlockWrapper",!1),Y=_===Object(p.getUnregisteredTypeHandlerName)();q.getEditWrapperProps&&(t=w,n=q.getEditWrapperProps(C),r=gd(gd({},t),n),t&&n&&t.className&&n.className&&(r.className=u()(t.className,n.className)),t&&n&&t.style&&n.style&&(r.style=gd(gd({},t.style),n.style)),w=r);var X=$&&Object(p.hasBlockSupport)(q,"className",!0)?Object(p.getBlockDefaultClassName)(_):null,Q=$?C.className:null,Z=w&&!!w["data-align"],J=u()(X,Q,"block-editor-block-list__block",{"wp-block":!Z,"has-warning":!E||!!W||Y,"is-selected":s&&!L,"is-highlighted":M,"is-multi-selected":f,"is-reusable":Object(p.isReusableBlock)(q),"is-dragging":L,"is-typing":h,"is-focused":F&&A&&(s||j),"is-focus-mode":F&&A,"is-outline-mode":V,"has-child-selected":j&&!L,"is-active-entity":D===a},y),ee=Object(l.createElement)(Wa,{name:_,isSelected:s,attributes:C,setAttributes:S,insertBlocksAfter:c?void 0:I,onReplace:c?void 0:B,onRemove:c?void 0:z,mergeBlocks:c?void 0:x,clientId:a,isSelectionEnabled:k,toggleSelection:P});if(Z){var te={"data-align":w["data-align"]};ee=Object(l.createElement)("div",Object(i.a)({className:"wp-block"},te),ee)}var ne,re={clientId:a,isSelected:s,isFirstMultiSelected:g,isLastMultiSelected:O,isPartOfMultiSelection:v,enableAnimation:N,index:T,className:J,isLocked:c,name:_,mode:o,blockTitle:q.title,wrapperProps:Object(d.omit)(w,["data-align"])},oe=Object(l.useMemo)((function(){return re}),Object.values(re));return ne=E?"html"===o?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{style:{display:"none"}},ee),Object(l.createElement)(hd,{isHtml:!0},Object(l.createElement)(Tl,{clientId:a}))):$?ee:Object(l.createElement)(hd,w,ee):Object(l.createElement)(hd,null,Object(l.createElement)(Cl,{clientId:a}),Object(l.createElement)("div",null,Object(p.getSaveElement)(q,C))),Object(l.createElement)(Od.Provider,{value:oe},Object(l.createElement)(Il,{onError:function(){return K(!0)}},ne),!!W&&Object(l.createElement)(hd,null,Object(l.createElement)(Sl,null)))}));function _d(e){var t=e.level;return Object(d.times)(t-1,(function(e){var n=e+2===t;return Object(l.createElement)("div",{key:e,"aria-hidden":"true",className:u()("block-editor-block-navigator-indentation",{"has-item":n})})}))}var Ed=function(e,t,n){return Object(w.sprintf)(Object(w.__)("Block %1$d of %2$d, Level %3$d"),e,t,n)};var Cd=Object(l.forwardRef)((function e(t,n){var r=t.className,o=t.block.clientId,c=t.isSelected,i=t.onClick,a=t.position,s=t.siblingBlockCount,d=t.level,f=t.tabIndex,p=t.onFocus,m=t.onDragStart,g=t.onDragEnd,O=t.draggable,h=Ta(o),j=Object(b.useInstanceId)(e),k="block-navigation-block-select-button__".concat(j),y=Ed(a,s,d);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.Button,{className:u()("block-editor-block-navigation-block-select-button",r),onClick:i,"aria-describedby":k,ref:n,tabIndex:f,onFocus:p,onDragStart:m,onDragEnd:g,draggable:O},Object(l.createElement)(_d,{level:d}),Object(l.createElement)(Mr,{icon:null==h?void 0:h.icon,showColors:!0}),Object(l.createElement)(Na,{clientId:o}),c&&Object(l.createElement)(v.VisuallyHidden,null,Object(w.__)("(selected block)"))),Object(l.createElement)("div",{className:"block-editor-block-navigation-block-select-button__description",id:k},y))}));function wd(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 Sd(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function Nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,x=g||k,P=u()("block-editor-block-navigation-block__mover-cell",{"is-visible":x}),T=Ol().__experimentalFeatures,N=u()("block-editor-block-navigation-block__menu-cell",{"is-visible":x});return Object(l.useEffect)((function(){T&&n&&b.current.focus()}),[T,n]),Object(l.createElement)(il,{className:u()({"is-selected":n,"is-dragging":C}),onMouseEnter:function(){return O(!0)},onMouseLeave:function(){return O(!1)},onFocus:function(){return y(!0)},onBlur:function(){return y(!1)},level:c,position:o,rowCount:i,path:d,id:"block-navigation-block-".concat(_),"data-block":_},Object(l.createElement)(v.__experimentalTreeGridCell,{className:"block-editor-block-navigation-block__contents-cell",colSpan:I?void 0:2,ref:b},(function(e){var i=e.ref,s=e.tabIndex,u=e.onFocus;return Object(l.createElement)("div",{className:"block-editor-block-navigation-block__contents-container"},Object(l.createElement)(Pd,{block:t,onClick:function(){return r(t.clientId)},isSelected:n,position:o,siblingBlockCount:a,level:c,ref:i,tabIndex:s,onFocus:u}))})),I&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.__experimentalTreeGridCell,{className:P,withoutGridItem:!0},Object(l.createElement)(v.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(l.createElement)(ml,{orientation:"vertical",clientIds:[_],ref:t,tabIndex:n,onFocus:r})})),Object(l.createElement)(v.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(l.createElement)(vl,{orientation:"vertical",clientIds:[_],ref:t,tabIndex:n,onFocus:r})})))),T&&Object(l.createElement)(v.__experimentalTreeGridCell,{className:N},(function(e){var t=e.ref,n=e.tabIndex,o=e.onFocus;return Object(l.createElement)(Mu,{clientIds:[_],icon:Ja.a,toggleProps:{ref:t,tabIndex:n,onFocus:o},disableOpenOnArrowDown:!0,__experimentalSelectBlock:r},(function(e){var t=e.onClose;return Object(l.createElement)(v.MenuGroup,null,Object(l.createElement)(v.MenuItem,{onClick:Object(Za.a)(Zc.a.mark((function e(){var n,r,o;return Zc.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S.length){e.next=20;break}n=Td(S),e.prev=2,n.s();case 4:if((r=n.n()).done){e.next=10;break}return o=r.value,e.next=8,B(o);case 8:e.next=4;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),n.e(e.t0);case 15:return e.prev=15,n.f(),e.finish(15);case 18:e.next=22;break;case 20:return e.next=22,B(null);case 22:return e.next=24,B(_);case 24:t();case 25:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})))},Object(w.__)("Go to block")))}))})))}function Ad(e){var t=e.parentBlockClientId,n=e.position,r=e.level,o=e.rowCount,c=e.path,i=Object(m.useSelect)((function(e){var n=e("core/block-editor"),r=n.isBlockBeingDragged,o=n.isAncestorBeingDragged;return r(t)||o(t)}),[t]),a=Object(b.useInstanceId)(Ad),s="block-navigation-appender-row__description_".concat(a),d=Object(w.sprintf)(Object(w.__)("Add block at position %1$d, Level %2$d"),n,r);return Object(l.createElement)(il,{className:u()({"is-dragging":i}),level:r,position:n,rowCount:o,path:c},Object(l.createElement)(v.__experimentalTreeGridCell,{className:"block-editor-block-navigation-appender__cell",colSpan:"3"},(function(e){var n=e.ref,o=e.tabIndex,c=e.onFocus;return Object(l.createElement)("div",{className:"block-editor-block-navigation-appender__container"},Object(l.createElement)(_d,{level:r}),Object(l.createElement)(Ds,{rootClientId:t,__experimentalIsQuick:!0,__experimentalSelectBlockOnInsert:!1,"aria-describedby":s,toggleProps:{ref:n,tabIndex:o,onFocus:c}}),Object(l.createElement)("div",{className:"block-editor-block-navigation-appender__description",id:s},d))})))}function Rd(e){var t=e.blocks,n=e.selectBlock,r=e.selectedBlockClientId,o=e.showAppender,c=e.showBlockMovers,i=e.showNestedBlocks,a=e.parentBlockClientId,s=e.level,u=void 0===s?1:s,b=e.terminatedLevels,f=void 0===b?[]:b,p=e.path,m=void 0===p?[]:p,v=!a,g=Object(d.compact)(t),O=function(e){return o&&!v&&r===e},h=O(a),j=g.length,k=h?j+1:j,y=k;return Object(l.createElement)(l.Fragment,null,Object(d.map)(g,(function(e,t){var a=e.clientId,s=e.innerBlocks,d=t+1,b=k===d?[].concat(Object(pe.a)(f),[u]):f,p=[].concat(Object(pe.a)(m),[d]),v=i&&!!s&&!!s.length,g=O(a);return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)(Dd,{block:e,onClick:n,isSelected:r===a,level:u,position:d,rowCount:k,siblingBlockCount:j,showBlockMovers:c,terminatedLevels:f,path:p}),(v||g)&&Object(l.createElement)(Rd,{blocks:s,selectedBlockClientId:r,selectBlock:n,showAppender:o,showBlockMovers:c,showNestedBlocks:i,parentBlockClientId:a,level:u+1,terminatedLevels:b,path:p}))})),h&&Object(l.createElement)(Ad,{parentBlockClientId:a,position:k,rowCount:y,level:u,terminatedLevels:f,path:[].concat(Object(pe.a)(m),[y])}))}function Ld(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 Md(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Fd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fd(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function Fd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.x&&t.top<=e.y&&t.bottom>=e.y}Rd.defaultProps={selectBlock:function(){}};var Hd=["top","bottom"];function zd(e){var t=Object(l.useState)(),n=Object(Me.a)(t,2),r=n[0],o=void 0===r?{}:r,c=n[1],i=zs(o.rootClientId,o.blockIndex),s=Object(v.__unstableUseDropZone)(function(e){for(var t=1;t0||function(e,t){var n=t.left+t.width/2;return e.x>n}(t,c)))return{rootClientId:r.clientId,blockIndex:0,dropPosition:"inside"};if(r.canInsertDraggedBlocksAsSibling){var O=g?1:0;return{rootClientId:r.rootClientId,clientId:r.clientId,blockIndex:r.blockIndex+O,dropPosition:n}}}}(b.current,u);e&&c(e)}}),[b,u]),u)return o}function Gd(e){var t=e.__experimentalFeatures,n=Object(Fe.a)(e,["__experimentalFeatures"]),r=Object(l.useRef)(),o=zd(r);t||(o=void 0);var c=Object(l.useMemo)((function(){return{__experimentalFeatures:t,blockDropTarget:o}}),[t,o]);return Object(l.createElement)(v.__experimentalTreeGrid,{className:"block-editor-block-navigation-tree","aria-label":Object(w.__)("Block navigation structure"),ref:r},Object(l.createElement)(gl.Provider,{value:c},Object(l.createElement)(Rd,n)))}var Ud=Object(b.compose)(Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.__unstableGetBlockWithBlockTree,c=t.__unstableGetBlockTree,i=n();return{rootBlocks:c(),rootBlock:i?o(r(i)):null,selectedBlockClientId:i}})),Object(m.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?d.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock,c=e.__experimentalFeatures;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(l.createElement)("div",{className:"block-editor-block-navigation__container"},Object(l.createElement)("p",{className:"block-editor-block-navigation__label"},Object(w.__)("List view")),Object(l.createElement)(Gd,{blocks:i?[t]:n,selectedBlockClientId:r,selectBlock:o,__experimentalFeatures:c,showNestedBlocks:!0}))})),Wd=Object(l.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(l.createElement)(v.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));function Kd(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen,o=e.innerRef,c=Object(Fe.a)(e,["isEnabled","onToggle","isOpen","innerRef"]);Object(Qa.useShortcut)("core/edit-post/toggle-block-navigation",Object(l.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var a=Object(m.useSelect)((function(e){return e(Qa.store).getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(l.createElement)(v.Button,Object(i.a)({},c,{ref:o,icon:Wd,"aria-expanded":r,"aria-haspopup":"true",onClick:t?n:void 0,label:Object(w.__)("Outline"),className:"block-editor-block-navigation",shortcut:a,"aria-disabled":!t}))}var qd=Object(l.forwardRef)((function(e,t){var n=e.isDisabled,r=e.__experimentalFeatures,o=Object(Fe.a)(e,["isDisabled","__experimentalFeatures"]),c=Object(m.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!n;return Object(l.createElement)(v.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(l.createElement)(Kd,Object(i.a)({},o,{innerRef:t,isOpen:n,onToggle:r,isEnabled:c}))},renderContent:function(e){var t=e.onClose;return Object(l.createElement)(Ud,{onSelect:t,__experimentalFeatures:r})}})})),$d=n(129),Yd=[Ht.rawShortcut.primary("z"),Ht.rawShortcut.primaryShift("z"),Ht.rawShortcut.primary("y")],Xd=Object(l.createElement)(v.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(d.fromPairs)(Yd.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Qd=function(){return Xd};function Zd(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var Jd={position:"bottom right",isAlternate:!0},eb=function(){return Object(l.createElement)("div",{className:"block-editor-format-toolbar"},Object(l.createElement)(v.ToolbarGroup,null,["bold","italic","link","text-color"].map((function(e){return Object(l.createElement)(v.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(l.createElement)(v.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(l.createElement)(v.ToolbarItem,null,(function(t){return Object(l.createElement)(v.DropdownMenu,{icon:ul.a,label:Object(w.__)("More"),toggleProps:t,controls:Object(d.orderBy)(e.map((function(e){return Object(Me.a)(e,1)[0].props})),"title"),popoverProps:Jd})}))}))))},tb=function(e){var t=e.inline,n=e.anchorRef;return t?Object(l.createElement)(v.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar",__unstableSlotName:"block-toolbar"},Object(l.createElement)(eb,null)):Object(l.createElement)(Xa,null,Object(l.createElement)(eb,null))};function nb(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 rb(e){for(var t=1;t0,Ie=a,xe=s;Array.isArray(a)&&(Ie=p.children.toHTML(a),xe=function(e){return s(p.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var Pe=Object(l.useCallback)((function(e,t){Ee(ae,P,e,t)}),[ae,P]),Te=Object(l.useCallback)((function(e){var t=e.value,n=e.isReverse;S&&S(!n),w&&Object(c.isEmpty)(t)&&n&&w(!n)}),[S,w]),Ne=Object(l.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(j&&B){var n=[],r=Object(c.split)(e),o=Object(Me.a)(r,2),i=o[0],a=o[1],l=t.length>0,s=-1;l&&Object(c.isEmpty)(i)||(n.push(B(Object(c.toHTMLString)({value:i,multilineTag:we}))),s+=1),l?(n.push.apply(n,Object(pe.a)(t)),s+=t.length):x&&n.push(x()),(l||x)&&Object(c.isEmpty)(a)||n.push(B(Object(c.toHTMLString)({value:a,multilineTag:we})));var u=l?s:1,d=l?-1:null;j(n,u,d)}}),[j,B,we,x]),De=Object(l.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=j&&B;if(j){var i=Object(p.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),a=Object(p.findTransform)(i,(function(e){return e.regExp.test(t.text)}));a&&(j([a.transform({content:t.text})]),Ce())}if(f)r?R||n(Object(c.insert)(t,"\n")):o&&Object(c.__unstableIsEmptyLine)(t)?Ne(t):n(Object(c.__unstableInsertLineSeparator)(t));else{var l=t.text,s=t.start,u=t.end,d=I&&s===u&&u===l.length;r||!o&&!d?R||n(Object(c.insert)(t,"\n")):!o&&d?I():o&&Ne(t)}}),[j,B,Ce,f,Ne,I]),Ae=Object(l.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,i=e.plainText,a=e.files,l=e.activeFormats;if(N)n(Object(c.insert)(t,Object(c.create)({text:i})));else{if(a&&a.length&&!r){var s=Object(p.pasteHandler)({HTML:Zd(a),mode:"BLOCKS",tagName:o,preserveWhiteSpace:T});return window.console.log("Received items:\n\n",a),void(j&&Object(c.isEmpty)(t)?j(s):Ne(t,s))}var u,d=j&&B?"AUTO":"INLINE";"AUTO"===d&&Object(c.isEmpty)(t)&&(u=i,Object($d.regexp)(".*").test(u))&&(d="BLOCKS"),D&&Object(c.isEmpty)(t)&&Object(ms.isURL)(i.trim())&&(d="BLOCKS");var b=Object(p.pasteHandler)({HTML:r,plainText:i,mode:d,tagName:o,preserveWhiteSpace:T});if("string"==typeof b){var m=Object(c.create)({html:b});if(l.length)for(var v=m.formats.length;v--;)m.formats[v]=[].concat(Object(pe.a)(l),Object(pe.a)(m.formats[v]||[]));f&&(m=Object(c.replace)(m,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,m))}else b.length>0&&(j&&Object(c.isEmpty)(t)?j(b,b.length-1,-1):Ne(t,b))}}),[o,j,B,Ne,D,f,T,N]),Re=Object(l.useCallback)((function(e,t){if(j){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),i=Object(p.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),a=Object(p.findTransform)(i,(function(e){var t=e.prefix;return o===t}));if(a){var l=t(Object(c.slice)(e,n,r.length)),s=a.transform(l);j([s]),Ce()}}}}),[j,Ce]),Le=Object(l.createElement)(c.__experimentalRichText,{clientId:ae,identifier:P,ref:ce,value:Ie,onChange:xe,selectionStart:be,selectionEnd:fe,onSelectionChange:Pe,tagName:o,placeholder:k,allowedFormats:Se,withoutInteractiveFormatting:C,onEnter:De,onDelete:Te,onPaste:Ae,__unstableIsSelected:me,__unstableInputRule:Re,__unstableMultilineTag:we,__unstableIsCaretWithinFormattedText:de,__unstableOnEnterFormattedText:ye,__unstableOnExitFormattedText:_e,__unstableOnCreateUndoLevel:ke,__unstableMarkAutomaticChange:Ce,__unstableDidAutomaticChange:ve,__unstableUndo:Oe,__unstableDisableFormats:A,preserveWhiteSpace:T,disabled:ge,unstableOnFocus:L,__unstableAllowPrefixTransformations:M,__unstableMultilineRootTag:F,onCaretVerticalPositionChange:le,blockIsSelected:void 0!==d?d:se,shouldBlurOnUnmount:he,__unstableMobileNoFocusOnMount:V,deleteEnter:H,placeholderTextColor:z,textAlign:G,selectionColor:U,tagsToEliminate:W,rootTagsToEliminate:K,disableEditingMenu:q,fontSize:$,fontFamily:Y,fontWeight:X,fontStyle:Q,minWidth:Z,maxWidth:J,onBlur:ee,setRef:te,id:ne.id,style:ne.style},(function(e){var t=e.isSelected,n=e.value,o=e.onChange,c=e.onFocus,a=e.editableProps,s=e.editableTagName;return Object(l.createElement)(l.Fragment,null,r&&r({value:n,onChange:o,onFocus:c}),t&&Be&&Object(l.createElement)(tb,{inline:v,anchorRef:ce.current}),t&&Object(l.createElement)(Qd,null),Object(l.createElement)(Hr,{onReplace:j,completers:O,record:n,onChange:o,isSelected:t,contentRef:ce},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(l.createElement)(s,Object(i.a)({},a,ne,{style:ne.style?rb(rb({},ne.style),a.style):a.style,className:u()("block-editor-rich-text__editable",ne.className,a.className,{"keep-placeholder-on-focus":y}),"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,onKeyDown:function(e){r(e),a.onKeyDown(e)}}))})))}));return g?(zl()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(l.createElement)("div",{className:u()("block-editor-rich-text",g)},Le)):Le}));ib.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(Fe.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=p.children.toHTML(t));var c=ob(r);!t&&c&&(t="<".concat(c,">"));var i=Object(l.createElement)(l.RawHTML,null,t);return n?Object(l.createElement)(n,Object(d.omit)(o,["format"]),i):i},ib.isEmpty=function(e){return!e||0===e.length},ib.Content.defaultProps={format:"string",value:""};var ab=ib;function lb(e){var t=e.value,n=e.onChange;return Object(l.createElement)(xd,null,Object(l.createElement)(ab,{value:t,onChange:n,placeholder:Object(w.__)("Navigation item"),keepPlaceholderOnFocus:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}))}var sb=n(313);var ub=function(e){var t=e.icon,n=void 0===t?sb.a:t,r=e.label,o=void 0===r?Object(w.__)("Choose variation"):r,c=e.instructions,i=void 0===c?Object(w.__)("Select a variation to start with."):c,a=e.variations,s=e.onSelect,d=e.allowSkip,b=u()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(l.createElement)(v.Placeholder,{icon:n,label:o,instructions:i,className:b},Object(l.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(w.__)("Block variations")},a.map((function(e){return Object(l.createElement)("li",{key:e.name},Object(l.createElement)(v.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return s(e)},className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),Object(l.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title))}))),d&&Object(l.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(l.createElement)(v.Button,{isLink:!0,onClick:function(){return s()}},Object(w.__)("Skip"))))},db=function(e,t){if(t&&e){var n=t.filter((function(t){var n=t.attributes;return!(!n||!Object.keys(n).length)&&Object(d.isMatch)(e,n)}));if(1===n.length)return n[0]}};function bb(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}var fb=function(e){var t=e.blockClientId,n=Object(l.useState)(),r=Object(Me.a)(n,2),o=r[0],c=r[1],i=Object(m.useDispatch)("core/block-editor").updateBlockAttributes,s=Object(m.useSelect)((function(e){var n=e(p.store).getBlockVariations,r=e("core/block-editor"),o=r.getBlockName,c=r.getBlockAttributes,i=t&&o(t);return{variations:i&&n(i,"transform"),blockAttributes:c(t)}}),[t]),u=s.variations,d=s.blockAttributes;if(Object(l.useEffect)((function(){var e;c(null===(e=db(d,u))||void 0===e?void 0:e.name)}),[d,u]),null==u||!u.length)return null;var b=u.map((function(e){return{value:e.name,label:e.title,info:e.description}})),f=function(e){i(t,function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(l.useRef)(),r=h(),o=r.clientId,c=Object(b.useViewportMatch)("medium","<"),a=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.isBlockSelected,i=t.hasSelectedInnerBlock,a=(0,t.isNavigationMode)()||c;return"core/template"!==n(o)&&!r(o)&&!i(o,!0)&&a}),[o,c]),s=e.ref||n,d=t.value&&t.onChange?Gb:zb;return Hb(Hb({},e),{},{ref:s,className:u()(e.className,"block-editor-block-list__layout",{"has-overlay":a}),children:Object(l.createElement)(d,Object(i.a)({},t,{clientId:o,wrapperRef:s}))})}Ub.DefaultBlockAppender=Rb,Ub.ButtonBlockAppender=Ab,Ub.Content=Object(p.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(l.createElement)(t,null)}));var Kb=Ub,qb=n(220);function $b(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 Yb(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var c=!(t&&t.length);if(c||!(t.length<2||!o&&Object(ms.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});var i=r(t,{isInitialSuggestions:c});i.then((function(t){e.suggestionsRequest===i&&(e.setState({suggestions:t,loading:!1,showSuggestions:!!t.length}),t.length?e.props.debouncedSpeak(Object(w.sprintf)(Object(w._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(w.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===i&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=i}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t.trim())}},{key:"onFocus",value:function(){var e=this.state.suggestions,t=this.props,n=t.disableSuggestions,r=t.value;!r||n||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(r.trim())}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,c=t.loading;if(n&&o.length&&!c){var i=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ht.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Ht.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Ht.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(i),this.props.speak(Object(w.__)("Link selected.")));break;case Ht.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(i))}}else switch(e.keyCode){case Ht.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ht.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){return Object(l.createElement)(l.Fragment,null,this.renderControl(),this.renderSuggestions())}},{key:"renderControl",value:function(){var e=this.props,t=e.label,n=e.className,r=e.isFullWidth,o=e.instanceId,c=e.placeholder,i=void 0===c?Object(w.__)("Paste URL or type to search"):c,a=e.__experimentalRenderControl,s=e.value,d=void 0===s?"":s,b=this.state,f=b.loading,p=b.showSuggestions,m=b.selectedSuggestion,g=b.suggestionsListboxId,O=b.suggestionOptionIdPrefix,h={id:"url-input-control-".concat(o),label:t,className:u()("block-editor-url-input",n,{"is-full-width":r})},j={value:d,required:!0,className:"block-editor-url-input__input",type:"text",onChange:this.onChange,onFocus:this.onFocus,placeholder:i,onKeyDown:this.onKeyDown,role:"combobox","aria-label":Object(w.__)("URL"),"aria-expanded":p,"aria-autocomplete":"list","aria-owns":g,"aria-activedescendant":null!==m?"".concat(O,"-").concat(m):void 0,ref:this.inputRef};return a?a(h,j,f):Object(l.createElement)(v.BaseControl,h,Object(l.createElement)("input",j),f&&Object(l.createElement)(v.Spinner,null))}},{key:"renderSuggestions",value:function(){var e=this,t=this.props,n=t.className,r=t.__experimentalRenderSuggestions,o=t.value,c=void 0===o?"":o,a=t.__experimentalShowInitialSuggestions,s=void 0!==a&&a,b=this.state,f=b.showSuggestions,p=b.suggestions,m=b.selectedSuggestion,g=b.suggestionsListboxId,O=b.suggestionOptionIdPrefix,h=b.loading,j={id:g,ref:this.autocompleteRef,role:"listbox"},k=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(O,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===m}};return Object(d.isFunction)(r)&&f&&p.length?r({suggestions:p,selectedSuggestion:m,suggestionsListProps:j,buildSuggestionItemProps:k,isLoading:h,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:s&&!(c&&c.length)}):!Object(d.isFunction)(r)&&f&&p.length?Object(l.createElement)(v.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(l.createElement)("div",Object(i.a)({},j,{className:u()("block-editor-url-input__suggestions","".concat(n,"__suggestions"))}),p.map((function(t,n){return Object(l.createElement)(v.Button,Object(i.a)({},k(0,n),{key:t.id,className:u()("block-editor-url-input__suggestion",{"is-selected":n===m}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.instanceId,o=e.disableSuggestions,c=e.__experimentalShowInitialSuggestions,i=void 0!==c&&c,a=t.showSuggestions,l=n&&n.length;return i||l||(a=!1),!0===o&&(a=!1),{showSuggestions:a,suggestionsListboxId:"block-editor-url-input-suggestions-".concat(r),suggestionOptionIdPrefix:"block-editor-url-input-suggestion-".concat(r)}}}]),n}(l.Component),nf=Object(b.compose)(b.withSafeTimeout,v.withSpokenMessages,b.withInstanceId,Object(m.withSelect)((function(e,t){if(!Object(d.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(tf),rf=function(e){var t,n=e.searchTerm,r=e.onClick,o=e.itemProps,c=e.isSelected,a=e.buttonText;return n?(t=a?Object(d.isFunction)(a)?a(n):a:Object(l.createInterpolateElement)(Object(w.sprintf)(Object(w.__)("Create: %s"),n),{mark:Object(l.createElement)("mark",null)}),Object(l.createElement)(v.Button,Object(i.a)({},o,{className:u()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":c}),onClick:r}),Object(l.createElement)(Ml.a,{className:"block-editor-link-control__search-item-icon",icon:Dl.a}),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-title"},t)))):null},of=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(l.createElement)(S.Path,{d:"M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z"})),cf=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,c=e.onClick,a=e.isURL,s=void 0!==a&&a,d=e.searchTerm,b=void 0===d?"":d,f=e.shouldShowType,p=void 0!==f&&f;return Object(l.createElement)(v.Button,Object(i.a)({},t,{onClick:c,className:u()("block-editor-link-control__search-item",{"is-selected":o,"is-url":s,"is-entity":!s})}),s&&Object(l.createElement)(Ml.a,{className:"block-editor-link-control__search-item-icon",icon:of}),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(l.createElement)(v.TextHighlight,{text:n.title,highlight:b})),Object(l.createElement)("span",{"aria-hidden":!s,className:"block-editor-link-control__search-item-info"},!s&&(Object(ms.filterURLForDisplay)(Object(ms.safeDecodeURI)(n.url))||""),s&&Object(w.__)("Press ENTER to add this link"))),p&&n.type&&Object(l.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===n.type?"tag":n.type))};function af(e){var t=e.instanceId,n=e.withCreateSuggestion,r=e.currentInputValue,o=e.handleSuggestionClick,c=e.suggestionsListProps,a=e.buildSuggestionItemProps,s=e.suggestions,d=e.selectedSuggestion,b=e.isLoading,f=e.isInitialSuggestions,p=e.createSuggestionButtonText,m=e.suggestionsQuery,g=u()("block-editor-link-control__search-results",{"is-loading":b}),O=["url","mailto","tel","internal"],h=1===s.length&&O.includes(s[0].type.toLowerCase()),j=n&&!h&&!f,k=!(null!=m&&m.type),y="block-editor-link-control-search-results-label-".concat(t),_=f?Object(w.__)("Recently updated"):Object(w.sprintf)(Object(w.__)('Search results for "%s"'),r),E=Object(l.createElement)(f?l.Fragment:v.VisuallyHidden,{},Object(l.createElement)("span",{className:"block-editor-link-control__search-results-label",id:y},_));return Object(l.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},E,Object(l.createElement)("div",Object(i.a)({},c,{className:g,"aria-labelledby":y}),s.map((function(e,t){return j&&"__CREATE__"===e.type?Object(l.createElement)(rf,{searchTerm:r,buttonText:p,onClick:function(){return o(e)},key:e.type,itemProps:a(e,t),isSelected:t===d}):"__CREATE__"===e.type?null:Object(l.createElement)(cf,{key:"".concat(e.id,"-").concat(e.type),itemProps:a(e,t),suggestion:e,index:t,onClick:function(){o(e)},isSelected:t===d,isURL:O.includes(e.type.toLowerCase()),searchTerm:r,shouldShowType:k})}))))}function lf(e){var t=Object(d.startsWith)(e,"#");return Object(ms.isURL)(e)||e&&e.includes("www.")||t}function sf(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 uf(e){for(var t=1;t=1)&&k(mf(mf({},Object(d.omit)(c,"id","url")),n),n);case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t){return e.apply(this,arguments)}}();return Object(l.createElement)("form",{onSubmit:function(e){e.preventDefault(),W(G||{url:n})}},Object(l.createElement)(nf,{className:a,value:n,onChange:function(e,t){h(e),U(t)},placeholder:null!=u?u:Object(w.__)("Search or type url"),__experimentalRenderSuggestions:_?function(e){return C(mf(mf({},e),{},{instanceId:V,withCreateSuggestion:p,currentInputValue:n,createSuggestionButtonText:L,suggestionsQuery:D,handleSuggestionClick:function(t){e.handleSuggestionClick&&e.handleSuggestionClick(t),W(t)}}))}:null,__experimentalFetchLinkSuggestions:F,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:T,ref:t}),r)})),Of=gf,hf=Object(v.createSlotFill)("BlockEditorLinkControlViewer"),jf=hf.Slot,kf=hf.Fill;function yf(e){var t=e.value,n=e.onEditClick,r=t&&Object(ms.filterURLForDisplay)(Object(ms.safeDecodeURI)(t.url),16)||"";return Object(l.createElement)("div",{"aria-label":Object(w.__)("Currently selected"),"aria-selected":"true",className:u()("block-editor-link-control__search-item",{"is-current":!0})},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)(v.ExternalLink,{className:"block-editor-link-control__search-item-title",href:t.url},t&&t.title||r),t&&t.title&&Object(l.createElement)("span",{className:"block-editor-link-control__search-item-info"},r)),Object(l.createElement)(v.Button,{isSecondary:!0,onClick:function(){return n()},className:"block-editor-link-control__search-item-action"},Object(w.__)("Edit")),Object(l.createElement)(jf,{fillProps:t}))}var _f=function(e){var t=!1;return{promise:new Promise((function(n,r){e.then((function(e){return t?r({isCanceled:!0}):n(e)}),(function(e){return r(t?{isCanceled:!0}:e)}))})),cancel:function(){t=!0}}};function Ef(e){var t=e.searchInputPlaceholder,n=e.value,r=e.settings,o=e.onChange,c=void 0===o?d.noop:o,i=e.noDirectEntry,a=void 0!==i&&i,s=e.showSuggestions,u=void 0===s||s,b=e.showInitialSuggestions,f=e.forceIsEditingLink,p=e.createSuggestion,m=e.withCreateSuggestion,g=e.inputValue,O=void 0===g?"":g,h=e.suggestionsQuery,j=void 0===h?{}:h,k=e.noURLSuggestion,y=void 0!==k&&k,_=e.createSuggestionButtonText;void 0===m&&p&&(m=!0);var E=Object(l.useRef)(!0),C=Object(l.useRef)(),S=Object(l.useState)(n&&n.url||""),B=Object(Me.a)(S,2),I=B[0],x=B[1],P=O||I,T=Object(l.useState)(void 0!==f?f:!n||!n.url),N=Object(Me.a)(T,2),D=N[0],A=N[1],R=Object(l.useRef)(!1);Object(l.useEffect)((function(){void 0!==f&&f!==D&&A(f)}),[f]),Object(l.useEffect)((function(){if(E.current)E.current=!1;else{if(!C.current.contains(C.current.ownerDocument.activeElement))(tl.focus.focusable.find(C.current)[0]||C.current).focus();R.current=!1}}),[D]);var L=function(e){var t=Object(l.useRef)(),n=Object(l.useState)(!1),r=Object(Me.a)(n,2),o=r[0],c=r[1],i=Object(l.useState)(null),a=Object(Me.a)(i,2),s=a[0],u=a[1],d=function(){var n=Object(Za.a)(Zc.a.mark((function n(r){return Zc.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c(!0),u(null),n.prev=2,t.current=_f(Promise.resolve(e(r))),n.next=6,t.current.promise;case 6:return n.abrupt("return",n.sent);case 9:if(n.prev=9,n.t0=n.catch(2),!n.t0||!n.t0.isCanceled){n.next=13;break}return n.abrupt("return");case 13:throw u(n.t0.message||Object(w.__)("An unknown error occurred during creation. Please try again.")),n.t0;case 15:return n.prev=15,c(!1),n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[2,9,15,18]])})));return function(e){return n.apply(this,arguments)}}();return Object(l.useEffect)((function(){return function(){t.current&&t.current.cancel()}}),[]),{createPage:d,isCreatingPage:o,errorMessage:s}}(p),M=L.createPage,F=L.isCreatingPage,V=L.errorMessage;return Object(l.createElement)("div",{tabIndex:-1,ref:C,className:"block-editor-link-control"},F&&Object(l.createElement)("div",{className:"block-editor-link-control__loading"},Object(l.createElement)(v.Spinner,null)," ",Object(w.__)("Creating"),"…"),(D||!n)&&!F&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(l.createElement)(Of,{currentLink:n,className:"block-editor-link-control__search-input",placeholder:t,value:P,withCreateSuggestion:m,onCreateSuggestion:M,onChange:x,onSelect:function(e){var t;c(e),R.current=!(null===(t=C.current)||void 0===t||!t.contains(C.current.ownerDocument.activeElement)),A(!1)},showInitialSuggestions:b,allowDirectEntry:!a,showSuggestions:u,suggestionsQuery:j,withURLSuggestion:!y,createSuggestionButtonText:_},Object(l.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(l.createElement)(v.Button,{type:"submit",label:Object(w.__)("Submit"),icon:qb.a,className:"block-editor-link-control__search-submit"})))),V&&Object(l.createElement)(v.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},V)),n&&!D&&!F&&Object(l.createElement)(yf,{value:n,onEditClick:function(){return A(!0)}}),Object(l.createElement)(Qb,{value:n,settings:r,onChange:c}))}Ef.ViewerFill=kf;var Cf=Ef,wf=n(314),Sf=n(221),Bf=Object(v.withFilters)("editor.MediaUpload")((function(){return null}));var If=function(e){var t=e.fallback,n=void 0===t?null:t,r=e.children;return Object(m.useSelect)((function(e){return!!(0,e("core/block-editor").getSettings)().mediaUpload}),[])?r:n},xf=Object(b.compose)([Object(m.withDispatch)((function(e){var t=e(ls.store);return{createNotice:t.createNotice,removeNotice:t.removeNotice}})),Object(v.withFilters)("editor.MediaReplaceFlow")])((function(e){var t=e.mediaURL,n=e.mediaId,r=e.allowedTypes,o=e.accept,c=e.onSelect,i=e.onSelectURL,a=e.onFilesUpload,s=void 0===a?d.noop:a,u=e.name,b=void 0===u?Object(w.__)("Replace"):u,f=e.createNotice,p=e.removeNotice,g=Object(l.useState)(t),O=Object(Me.a)(g,2),h=O[0],j=O[1],k=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),y=Object(l.createRef)(),_=Object(d.uniqueId)("block-editor/media-replace-flow/error-notice/"),E=function(e){var t=document.createElement("div");t.innerHTML=Object(l.renderToString)(e);var n=t.textContent||t.innerText||"";setTimeout((function(){f("error",n,{speak:!0,id:_,isDismissible:!0})}),1e3)},C=function(e){c(e),j(e.url),Object(ot.speak)(Object(w.__)("The media file has been replaced")),p(_)},S=function(e){e.keyCode===Ht.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return Object(l.createElement)(v.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(l.createElement)(v.ToolbarGroup,{className:"media-replace-flow"},Object(l.createElement)(v.ToolbarButton,{ref:y,"aria-expanded":t,"aria-haspopup":"true",onClick:n,onKeyDown:S},b))},renderContent:function(e){e.onClose;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(l.createElement)(Bf,{value:n,onSelect:function(e){return C(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(l.createElement)(v.MenuItem,{icon:wf.a,onClick:t},Object(w.__)("Open Media Library"))}}),Object(l.createElement)(If,null,Object(l.createElement)(v.FormFileUpload,{onChange:function(e){!function(e){var t=e.target.files;s(t);k({allowedTypes:r,filesList:t,onFileChange:function(e){var t=Object(Me.a)(e,1)[0];C(t)},onError:E})}(e)},accept:o,render:function(e){var t=e.openFileDialog;return Object(l.createElement)(v.MenuItem,{icon:Sf.a,onClick:function(){t()}},Object(w.__)("Upload"))}}))),i&&Object(l.createElement)("form",{className:"block-editor-media-flow__url-input",onKeyDown:function(e){[Ht.TAB,Ht.ESCAPE].includes(e.keyCode)||e.stopPropagation()},onKeyPress:function(e){[Ht.TAB,Ht.ESCAPE].includes(e.keyCode)||e.stopPropagation()}},Object(l.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(w.__)("Current media URL:")),Object(l.createElement)(Cf,{value:{url:h},settings:[],showSuggestions:!1,onChange:function(e){var t=e.url;j(t),i(t),y.current.focus()}})))}})})),Pf=n(276);function Tf(e){var t=e.url,n=e.urlLabel,r=e.className,o=u()(r,"block-editor-url-popover__link-viewer-url");return t?Object(l.createElement)(v.ExternalLink,{className:o,href:t},n||Object(ms.filterURLForDisplay)(Object(ms.safeDecodeURI)(t))):Object(l.createElement)("span",{className:o})}function Nf(e){var t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,c=void 0===o?"bottom center":o,a=e.focusOnMount,s=void 0===a?"firstElement":a,u=Object(Fe.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),d=Object(l.useState)(!1),b=Object(Me.a)(d,2),f=b[0],p=b[1],m=!!r&&f;return Object(l.createElement)(v.Popover,Object(i.a)({className:"block-editor-url-popover",focusOnMount:s,position:c},u),Object(l.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(l.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(l.createElement)(v.Button,{className:"block-editor-url-popover__settings-toggle",icon:ul.a,label:Object(w.__)("Link settings"),onClick:function(){p(!f)},"aria-expanded":f})),m&&Object(l.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!m&&Object(l.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}Nf.LinkEditor=function(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,c=Object(Fe.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(l.createElement)("form",Object(i.a)({className:u()("block-editor-url-popover__link-editor",n)},c),Object(l.createElement)(nf,{value:o,onChange:r,autocompleteRef:t}),Object(l.createElement)(v.Button,{icon:qb.a,label:Object(w.__)("Apply"),type:"submit"}))},Nf.LinkViewer=function(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,c=e.urlLabel,a=Object(Fe.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(l.createElement)("div",Object(i.a)({className:u()("block-editor-url-popover__link-viewer",t)},a),Object(l.createElement)(Tf,{url:o,urlLabel:c,className:n}),r&&Object(l.createElement)(v.Button,{icon:Pf.a,label:Object(w.__)("Edit"),onClick:r}))};var Df=Nf,Af=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(l.createElement)(Df,{onClose:o},Object(l.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(l.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(w.__)("URL"),placeholder:Object(w.__)("Paste or type URL"),onChange:n,value:t}),Object(l.createElement)(v.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:qb.a,label:Object(w.__)("Apply"),type:"submit"})))};var Rf=Object(v.withFilters)("editor.MediaPlaceholder")((function(e){var t=e.value,n=void 0===t?{}:t,r=e.allowedTypes,o=e.className,c=e.icon,i=e.labels,a=void 0===i?{}:i,s=e.mediaPreview,b=e.notices,f=e.isAppender,p=e.accept,g=e.addToGallery,O=e.multiple,h=void 0!==O&&O,j=e.dropZoneUIOnly,k=e.disableDropZone,y=e.disableMediaButtons,_=e.onError,E=e.onSelect,C=e.onCancel,S=e.onSelectURL,B=e.onDoubleClick,I=e.onFilesPreUpload,x=void 0===I?d.noop:I,P=e.onHTMLDrop,T=void 0===P?d.noop:P,N=e.children,D=Object(m.useSelect)((function(e){return(0,e("core/block-editor").getSettings)().mediaUpload}),[]),A=Object(l.useState)(""),R=Object(Me.a)(A,2),L=R[0],M=R[1],F=Object(l.useState)(!1),V=Object(Me.a)(F,2),H=V[0],z=V[1];Object(l.useEffect)((function(){var e;M(null!==(e=null==n?void 0:n.src)&&void 0!==e?e:"")}),[null==n?void 0:n.src]);var G=function(e){M(e.target.value)},U=function(){z(!0)},W=function(){z(!1)},K=function(e){e.preventDefault(),L&&S&&(S(L),W())},q=function(e){var t;if(x(e),h)if(g){var o=[];t=function(e){var t=(null!=n?n:[]).filter((function(e){return e.id?!o.some((function(t){var n=t.id;return Number(n)===Number(e.id)})):!o.some((function(t){var n=t.urlSlug;return e.url.includes(n)}))}));E(t.concat(e)),o=e.map((function(e){var t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}}))}}else t=E;else t=function(e){var t=Object(Me.a)(e,1)[0];return E(t)};D({allowedTypes:r,filesList:e,onFileChange:t,onError:_})},$=function(e){q(e.target.files)},Y=function(e,t){var n=a.instructions,i=a.title;if(D||S||(n=Object(w.__)("To edit this block, you need permission to upload media.")),void 0===n||void 0===i){var d=null!=r?r:[],p=Object(Me.a)(d,1)[0],m=1===d.length,g=m&&"audio"===p,O=m&&"image"===p,h=m&&"video"===p;void 0===n&&D&&(n=Object(w.__)("Upload a media file or pick one from your media library."),g?n=Object(w.__)("Upload an audio file, pick one from your media library, or add one with a URL."):O?n=Object(w.__)("Upload an image file, pick one from your media library, or add one with a URL."):h&&(n=Object(w.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===i&&(i=Object(w.__)("Media"),g?i=Object(w.__)("Audio"):O?i=Object(w.__)("Image"):h&&(i=Object(w.__)("Video")))}var j=u()("block-editor-media-placeholder",o,{"is-appender":f});return Object(l.createElement)(v.Placeholder,{icon:c,label:i,instructions:n,className:j,notices:b,onClick:t,onDoubleClick:B,preview:s},e,N)},X=function(){return k?null:Object(l.createElement)(v.DropZone,{onFilesDrop:q,onHTMLDrop:T})},Q=function(){return C&&Object(l.createElement)(v.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(w.__)("Cancel"),isLink:!0,onClick:C},Object(w.__)("Cancel"))},Z=function(){return S&&Object(l.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(l.createElement)(v.Button,{className:"block-editor-media-placeholder__button",onClick:U,isPressed:H,isTertiary:!0},Object(w.__)("Insert from URL")),H&&Object(l.createElement)(Af,{src:L,onChange:G,onSubmit:K,onClose:W}))};return j||y?(j&&zl()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(l.createElement)(If,null,X())):Object(l.createElement)(If,{fallback:Y(Z())},function(){var e=Object(l.createElement)(Bf,{addToGallery:g,gallery:h&&!(!r||0===r.length)&&r.every((function(e){return"image"===e||e.startsWith("image/")})),multiple:h,onSelect:E,allowedTypes:r,value:Array.isArray(n)?n.map((function(e){return e.id})):n.id,render:function(e){var t=e.open;return Object(l.createElement)(v.Button,{isTertiary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(w.__)("Media Library"))}});if(D&&f)return Object(l.createElement)(l.Fragment,null,X(),Object(l.createElement)(v.FormFileUpload,{onChange:$,accept:p,multiple:h,render:function(t){var n=t.openFileDialog,r=Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.Button,{isPrimary:!0,className:u()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(w.__)("Upload")),e,Z(),Q());return Y(r,n)}}));if(D){var t=Object(l.createElement)(l.Fragment,null,X(),Object(l.createElement)(v.FormFileUpload,{isPrimary:!0,className:u()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:$,accept:p,multiple:h},Object(w.__)("Upload")),e,Z(),Q());return Y(t)}return Y(e)}())})),Lf=Object(l.forwardRef)((function(e,t){return Object(l.createElement)(ab,Object(i.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0}))}));Lf.Content=function(e){var t=e.value,n=void 0===t?"":t,r=e.tagName,o=void 0===r?"div":r,c=Object(Fe.a)(e,["value","tagName"]);return Object(l.createElement)(o,c,n)};var Mf=Lf,Ff=Object(l.forwardRef)((function(e,t){var n=e.__experimentalVersion,r=Object(Fe.a)(e,["__experimentalVersion"]);if(2===n)return Object(l.createElement)(Mf,Object(i.a)({ref:t},r));var o=r.className,c=r.onChange,a=Object(Fe.a)(r,["className","onChange"]);return Object(l.createElement)(Pl.a,Object(i.a)({ref:t,className:u()("block-editor-plain-text",o),onChange:function(e){return c(e.target.value)}},a))}));function Vf(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(b.useInstanceId)(Vf),c=r||Object(w.sprintf)(Object(w._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(l.createElement)(v.VisuallyHidden,{as:"span",id:"rbc-desc-".concat(o)},c))}var Hf=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,c=e.renderDefaultControl,i=e.renderResponsiveControls,a=e.isResponsive,s=void 0!==a&&a,d=e.defaultLabel,b=void 0===d?{id:"all",label:Object(w.__)("All")}:d,f=e.viewports,p=void 0===f?[{id:"small",label:Object(w.__)("Small screens")},{id:"medium",label:Object(w.__)("Medium screens")},{id:"large",label:Object(w.__)("Large screens")}]:f;if(!t||!n||!c)return null;var m=r||Object(w.sprintf)(Object(w.__)("Use the same %s on all screensizes."),n),g=Object(w.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),O=c(Object(l.createElement)(Vf,{property:n,viewport:b}),b);return Object(l.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(l.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(l.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(l.createElement)(v.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:m,checked:!s,onChange:o,help:g}),Object(l.createElement)("div",{className:u()("block-editor-responsive-block-control__group",{"is-responsive":s})},!s&&O,s&&(i?i(p):p.map((function(e){return Object(l.createElement)(l.Fragment,{key:e.id},c(Object(l.createElement)(Vf,{property:n,viewport:e}),e))}))))))};function zf(e){var t=e.character,n=e.type,r=e.onUse;return Object(b.useKeyboardShortcut)(Ht.rawShortcut[n](t),(function(){return r(),!1}),{bindGlobal:!0}),null}function Gf(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,c=Object(Fe.a)(e,["name","shortcutType","shortcutCharacter"]),a="RichText.ToolbarControls";return n&&(a+=".".concat(n)),r&&o&&(t=Ht.displayShortcut[r](o)),Object(l.createElement)(v.Fill,{name:a},Object(l.createElement)(v.ToolbarButton,Object(i.a)({},c,{shortcut:t})))}function Uf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Fn.a)(e);if(t){var o=Object(Fn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Mn.a)(this,n)}}var Wf=function(e){Object(Ln.a)(n,e);var t=Uf(n);function n(){var e;return Object(Dn.a)(this,n),(e=t.apply(this,arguments)).onInput=e.onInput.bind(Object(Rn.a)(e)),e}return Object(An.a)(n,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),n}(l.Component),Kf=Object(l.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(v.Path,{d:"M9.4 20.5L5.2 3.8l14.6 9-2 .3c-.2 0-.4.1-.7.1-.9.2-1.6.3-2.2.5-.8.3-1.4.5-1.8.8-.4.3-.8.8-1.3 1.5-.4.5-.8 1.2-1.2 2l-.3.6-.9 1.9zM7.6 7.1l2.4 9.3c.2-.4.5-.8.7-1.1.6-.8 1.1-1.4 1.6-1.8.5-.4 1.3-.8 2.2-1.1l1.2-.3-8.1-5z"}));var qf=Object(l.forwardRef)((function(e,t){var n=Object(m.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),r=Object(m.useDispatch)("core/block-editor").setNavigationMode,o=function(e){r("edit"!==e)};return Object(l.createElement)(v.Dropdown,{renderToggle:function(r){var o=r.isOpen,c=r.onToggle;return Object(l.createElement)(v.Button,Object(i.a)({},e,{ref:t,icon:n?Kf:Pf.a,"aria-expanded":o,"aria-haspopup":"true",onClick:c,label:Object(w.__)("Modes")}))},position:"bottom right",renderContent:function(){return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.NavigableMenu,{role:"menu","aria-label":Object(w.__)("Modes")},Object(l.createElement)(v.MenuItemsChoice,{value:n?"select":"edit",onSelect:o,choices:[{value:"edit",label:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Ml.a,{icon:Pf.a}),Object(w.__)("Edit"))},{value:"select",label:Object(l.createElement)(l.Fragment,null,Kf,Object(w.__)("Select"))}]})),Object(l.createElement)("div",{className:"block-editor-tool-selector__help"},Object(w.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})}));function $f(e){var t=e.units,n=Object(Fe.a)(e,["units"]),r=function(e){var t=ge("spacing.units"),n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.filter((function(t){return e.includes(t.value)}))}(t||[],e);return 0!==n.length&&n}(t);return Object(l.createElement)(v.__experimentalUnitControl,Object(i.a)({units:r},n))}var Yf=n(192),Xf=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M9.737 18.011L3.98 12.255l5.734-6.28 1.107 1.012-4.103 4.494h13.3v1.5H6.828l3.97 3.97-1.06 1.06z"}));function Qf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Fn.a)(e);if(t){var o=Object(Fn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Mn.a)(this,n)}}var Zf=function(e){Object(Ln.a)(n,e);var t=Qf(n);function n(){var e;return Object(Dn.a)(this,n),(e=t.apply(this,arguments)).toggle=e.toggle.bind(Object(Rn.a)(e)),e.submitLink=e.submitLink.bind(Object(Rn.a)(e)),e.state={expanded:!1},e}return Object(An.a)(n,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(w.__)("Edit link"):Object(w.__)("Insert link");return Object(l.createElement)("div",{className:"block-editor-url-input__button"},Object(l.createElement)(v.Button,{icon:Yf.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(l.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(l.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(l.createElement)(v.Button,{className:"block-editor-url-input__back",icon:Xf,label:Object(w.__)("Close"),onClick:this.toggle}),Object(l.createElement)(nf,{value:t||"",onChange:n}),Object(l.createElement)(v.Button,{icon:qb.a,label:Object(w.__)("Submit"),type:"submit"}))))}}]),n}(l.Component),Jf=n(160),ep=["noreferrer","noopener"],tp=Object(l.createElement)(v.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(v.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(l.createElement)(v.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(l.createElement)(v.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),np=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,c=void 0===o?"image":o,i=e.mediaUrl,a=e.mediaLink,s=e.linkTarget,u=e.linkClass,b=e.rel,f=Object(l.useState)(!1),p=Object(Me.a)(f,2),m=p[0],g=p[1],O=Object(l.useCallback)((function(){g(!0)})),h=Object(l.useState)(!1),j=Object(Me.a)(h,2),k=j[0],y=j[1],_=Object(l.useState)(null),E=Object(Me.a)(_,2),C=E[0],S=E[1],B=Object(l.useRef)(null),I=Object(l.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),y(!0)})),x=Object(l.useCallback)((function(){y(!1)})),P=Object(l.useCallback)((function(){S(null),x(),g(!1)})),T=function(e){var t=e;return void 0===e||Object(d.isEmpty)(t)||Object(d.isEmpty)(t)||(Object(d.each)(ep,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(d.isEmpty)(t)&&(t=void 0)),t},N=Object(l.useCallback)((function(){return function(e){var t=B.current;t&&t.contains(e.target)||(g(!1),S(null),x())}})),D=Object(l.useCallback)((function(){return function(e){if(C){var t,r=(null===(t=R().find((function(e){return e.url===C})))||void 0===t?void 0:t.linkDestination)||"custom";n({href:C,linkDestination:r})}x(),S(null),e.preventDefault()}})),A=Object(l.useCallback)((function(){n({linkDestination:"none",href:""})})),R=function(){var e=[{linkDestination:"media",title:Object(w.__)("Media File"),url:"image"===c?i:void 0,icon:tp}];return"image"===c&&a&&e.push({linkDestination:"attachment",title:Object(w.__)("Attachment Page"),url:"image"===c?a:void 0,icon:Object(l.createElement)(v.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(v.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(l.createElement)(v.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}),e},L=Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.ToggleControl,{label:Object(w.__)("Open in new tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||b?T(b):void 0}}(e);n(t)},checked:"_blank"===s}),Object(l.createElement)(v.TextControl,{label:Object(w.__)("Link Rel"),value:T(b)||"",onChange:function(e){n({rel:e})}}),Object(l.createElement)(v.TextControl,{label:Object(w.__)("Link CSS Class"),value:u||"",onChange:function(e){n({linkClass:e})}})),M=null!==C?C:r,F=(Object(d.find)(R(),["linkDestination",t])||{}).title;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.ToolbarButton,{icon:Yf.a,className:"components-toolbar__control",label:r?Object(w.__)("Edit link"):Object(w.__)("Insert link"),"aria-expanded":m,onClick:O}),m&&Object(l.createElement)(Df,{onFocusOutside:N(),onClose:P,renderSettings:function(){return L},additionalControls:!M&&Object(l.createElement)(v.NavigableMenu,null,Object(d.map)(R(),(function(e){return Object(l.createElement)(v.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=R(),r=t?(Object(d.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),x()}},e.title)})))},(!r||k)&&Object(l.createElement)(Df.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:M,onChangeInputValue:S,onSubmit:D(),autocompleteRef:B}),r&&!k&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Df.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:r,onEditLinkClick:I,urlLabel:F}),Object(l.createElement)(v.Button,{icon:Jf.a,label:Object(w.__)("Remove link"),onClick:A}))))},rp=n(161);function op(e){var t=e.children,n=e.className,r=e.isEnabled,o=void 0===r||r,c=e.deviceType,i=e.setDeviceType;if(Object(b.useViewportMatch)("small","<"))return null;var a={className:u()(n,"block-editor-post-preview__dropdown-content"),position:"bottom left"},s={isTertiary:!0,className:"block-editor-post-preview__button-toggle",disabled:!o,children:Object(w.__)("Preview")};return Object(l.createElement)(v.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:a,toggleProps:s,icon:null},(function(){return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.MenuGroup,null,Object(l.createElement)(v.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Desktop")},icon:"Desktop"===c&&rp.a},Object(w.__)("Desktop")),Object(l.createElement)(v.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Tablet")},icon:"Tablet"===c&&rp.a},Object(w.__)("Tablet")),Object(l.createElement)(v.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Mobile")},icon:"Mobile"===c&&rp.a},Object(w.__)("Mobile"))),t)}))}var cp=n(280),ip=/\((min|max)-width:[^\(]*?\)/g;function ap(e){return!!e.media&&!!e.media.mediaText.match(ip)}function lp(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function sp(e,t){return e.replace(ip,(function(e){return Object(cp.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)"}))}function up(e,t){Object(l.useEffect)((function(){if(t){var n,r,o,c="undefined"==typeof window?[]:Object(d.filter)(null!==(n=null===(r=window)||void 0===r||null===(o=r.document)||void 0===o?void 0:o.styleSheets)&&void 0!==n?n:[],(function(e){return!!e.href&&Object(ms.getProtocol)(e.href)===window.location.protocol&&Object(ms.getAuthority)(e.href)===window.location.host})),i=[];return c.forEach((function(n,r){for(var o=!1,c=0;c0,selectedBlockName:a,selectedBlockClientId:i,blockType:l}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,i=e.showNoBlockSelectedMessage,a=void 0===i||i,s=e.bubblesVirtually,u=void 0===s||s;if(n>1)return Object(l.createElement)("div",{className:"block-editor-block-inspector"},Object(l.createElement)(pp,null),Object(l.createElement)(ce.Slot,{bubblesVirtually:u}));var d=c===Object(p.getUnregisteredTypeHandlerName)();return t&&o&&!d?Object(l.createElement)(vp,{clientId:o,blockName:t.name,hasBlockStyles:r,bubblesVirtually:u}):a?Object(l.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(w.__)("No block selected.")):null})),hp=["p","div","h1","h2","h3","h4","h5","h6","ol","ul","li","figure","nav","pre","header","section","aside","footer","main"];function jp(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 kp(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Kp(Kp({},n),{},{selectors:n.selectors.map((function(n){return t.includes(n.trim())?n:n.match(qp)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},Yp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(d.map)(e,(function(e){var n=e.css,r=e.baseURL,o=e.__experimentalNoWrapper,c=[];return t&&!(void 0!==o&&o)&&c.push($p(t)),r&&c.push(Up(r)),c.length?Fp(n,Object(b.compose)(c)):n}))};function Xp(e){var t=Object(l.useRef)([]);return Object(l.useCallback)((function(n){if(n){var r=Yp(e,".editor-styles-wrapper"),o=n.ownerDocument;t.current=Object(d.map)(Object(d.compact)(r),(function(e){var t=o.createElement("style");return t.innerHTML=e,o.body.appendChild(t),t})),function(e){var t=window.getComputedStyle(e,null).getPropertyValue("background-color"),n=e.ownerDocument.getElementsByTagName("body")[0];Be()(t).getLuminance()>.5?n.classList.remove("is-dark-theme"):n.classList.add("is-dark-theme")}(n)}else t.current.forEach((function(e){return e.ownerDocument.body.removeChild(e)}))}),[e])}var Qp=function(e){var t=e.rootClientId,n=e.clientId,r=e.isAppender,o=e.showInserterHelpPanel,c=e.showMostUsedBlocks,i=void 0!==c&&c,a=e.__experimentalSelectBlockOnInsert,s=e.__experimentalInsertionIndex,u=e.onSelect,b=void 0===u?d.noop:u,f=Object(m.useSelect)((function(e){var r=e("core/block-editor").getBlockRootClientId;return t||r(n)||void 0}),[n,t]);return Object(l.createElement)(Is,{onSelect:b,rootClientId:f,clientId:n,isAppender:r,showInserterHelpPanel:o,showMostUsedBlocks:i,__experimentalSelectBlockOnInsert:a,__experimentalInsertionIndex:s})};function Zp(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder,o=t.getBlockRootClientId,c=n(),i=Object(Me.a)(c,1)[0];return{clientIds:c,rootBlocksClientIds:r(),rootClientId:o(i)}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=e.rootClientId,o=Object(m.useDispatch)("core/block-editor"),c=o.duplicateBlocks,i=o.removeBlocks,a=o.insertAfterBlock,s=o.insertBeforeBlock,u=o.multiSelect,b=o.clearSelectedBlock,f=o.moveBlocksUp,p=o.moveBlocksDown;return Object(Qa.useShortcut)("core/block-editor/move-up",Object(l.useCallback)((function(e){e.preventDefault(),f(t,r)}),[t,f]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Qa.useShortcut)("core/block-editor/move-down",Object(l.useCallback)((function(e){e.preventDefault(),p(t,r)}),[t,p]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Qa.useShortcut)("core/block-editor/duplicate",Object(l.useCallback)((function(e){e.preventDefault(),c(t)}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Qa.useShortcut)("core/block-editor/remove",Object(l.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Qa.useShortcut)("core/block-editor/insert-after",Object(l.useCallback)((function(e){e.preventDefault(),a(Object(d.last)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Qa.useShortcut)("core/block-editor/insert-before",Object(l.useCallback)((function(e){e.preventDefault(),s(Object(d.first)(t))}),[t,s]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Qa.useShortcut)("core/block-editor/delete-multi-selection",Object(l.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<2}),Object(Qa.useShortcut)("core/block-editor/select-all",Object(l.useCallback)((function(e){e.preventDefault(),u(Object(d.first)(n),Object(d.last)(n))}),[n,u])),Object(Qa.useShortcut)("core/block-editor/unselect",Object(l.useCallback)((function(e){e.preventDefault(),b(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges()}),[t,b]),{isDisabled:t.length<2}),null}Zp.Register=function(){var e=Object(m.useDispatch)(Qa.store).registerShortcut;return Object(l.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(w.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(w.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(w.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(w.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:Object(w.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(w.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:Object(w.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(w.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(w.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(w.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var Jp=Zp;function em(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting,c=n();if(c&&!o()&&r())return c}),[]);Object(l.useEffect)((function(){if(t){var n=e.current.ownerDocument,r=at(t,n);if(r){var o=Object(tl.getScrollContainer)(r);o&&Jb()(r,o,{onlyScrollIfNeeded:!0})}}}),[t])}function tm(){var e=Object(l.useRef)();return em(e),Object(l.createElement)("div",{ref:e})}var nm=new Set([Ht.UP,Ht.RIGHT,Ht.DOWN,Ht.LEFT,Ht.ENTER,Ht.BACKSPACE]);function rm(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor").stopTyping;Object(l.useEffect)((function(){if(t){var r,o,c=e.current.ownerDocument;return c.addEventListener("mousemove",i),function(){c.removeEventListener("mousemove",i)}}function i(e){var t=e.clientX,c=e.clientY;r&&o&&(r!==t||o!==c)&&n(),r=t,o=c}}),[t,n])}function om(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor"),r=n.startTyping,o=n.stopTyping;rm(e),Object(l.useEffect)((function(){var n=e.current,c=n.ownerDocument,i=c.defaultView;if(t){var a;function l(e){var t=e.target;a=i.setTimeout((function(){Object(tl.isTextField)(t)||o()}))}function s(e){var t=e.keyCode;t!==Ht.ESCAPE&&t!==Ht.TAB||o()}function u(){var e=i.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||o()}return n.addEventListener("focus",l),n.addEventListener("keydown",s),c.addEventListener("selectionchange",u),function(){i.clearTimeout(a),n.removeEventListener("focus",l),n.removeEventListener("keydown",s),c.removeEventListener("selectionchange",u)}}function d(e){var t=e.type,o=e.target;Object(tl.isTextField)(o)&&n.contains(o)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&nm.has(t)}(e))&&r()}return n.addEventListener("keypress",d),n.addEventListener("keydown",d),function(){n.removeEventListener("keypress",d),n.removeEventListener("keydown",d)}}),[t,r,o])}var cm=function(e){var t=e.children,n=Object(l.useRef)();return om(n),Object(l.createElement)("div",{ref:n},t)};function im(){return zl()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var am=-1!==window.navigator.userAgent.indexOf("Trident"),lm=new Set([Ht.UP,Ht.DOWN,Ht.LEFT,Ht.RIGHT]);function sm(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedBlock()}));Object(l.useEffect)((function(){if(t){var n,r,o,c=e.current.ownerDocument,i=c.defaultView;return i.addEventListener("scroll",a,!0),i.addEventListener("resize",a,!0),e.current.addEventListener("keydown",l),e.current.addEventListener("keyup",s),e.current.addEventListener("mousedown",u),e.current.addEventListener("touchstart",u),function(){i.removeEventListener("scroll",a,!0),i.removeEventListener("resize",a,!0),e.current.removeEventListener("keydown",l),e.current.removeEventListener("keyup",s),e.current.removeEventListener("mousedown",u),e.current.removeEventListener("touchstart",u),c.removeEventListener("selectionchange",d),i.cancelAnimationFrame(n),i.cancelAnimationFrame(r)}}function a(){n||(n=i.requestAnimationFrame((function(){b(),n=null})))}function l(e){r&&i.cancelAnimationFrame(r),r=i.requestAnimationFrame((function(){s(e),r=null}))}function s(t){var n=t.keyCode;if(f()){var r=Object(tl.computeCaretRect)(i);if(r)if(o)if(lm.has(n))o=r;else{var a=r.top-o.top;if(0!==a){var l=Object(tl.getScrollContainer)(e.current);if(l){var s=l===c.body,u=s?i.scrollY:l.scrollTop,d=s?0:l.getBoundingClientRect().top,b=s?o.top/i.innerHeight:(o.top-d)/(i.innerHeight-d);if(0===u&&b<.75&&(p=e.current.querySelectorAll('[contenteditable="true"]'))[p.length-1]===c.activeElement)o=r;else{var p,m=s?i.innerHeight:l.clientHeight;o.top+o.height>d+m||o.top=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function mm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nbody{margin:0}"+t}(r,o),vm(r),t=r,Array.from(document.styleSheets).forEach((function(e){try{e.cssRules}catch(e){return}var n=e.ownerNode,r=e.cssRules;r&&Array.from(r).find((function(e){var t=e.selectorText;return t&&(t.includes(".".concat("editor-styles-wrapper"))||t.includes(".".concat("wp-block")))}))&&!t.getElementById(n.id)&&t.head.appendChild(n.cloneNode(!0))})),function(e){var t=e.defaultView,n=t.frameElement;function r(e){var r=Object.getPrototypeOf(e).constructor.name,o=window[r],c={};for(var i in e)c[i]=e[i];if(e instanceof t.MouseEvent){var a=n.getBoundingClientRect();c.clientX+=a.left,c.clientY+=a.top}var l=new o(e.type,c);!n.dispatchEvent(l)&&e.preventDefault()}for(var o=0,c=["keydown","keypress","dragover"];o1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=c=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=i(l,a,e+1/3),o=i(l,a,e),c=i(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*c}}(e.h,r,l),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,m;return n=T(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,c=u(e,t,n),i=s(e,t,n),a=(c+i)/2;if(c==i)r=o=0;else{var l=c-i;switch(o=a>.5?l/(2-c-i):l/(c+i),c){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,c.push(b(r));return c}function I(e,t){t=t||6;for(var n=b(e).toHsv(),r=n.h,o=n.s,c=n.v,i=[],a=1/t;t--;)i.push(b({h:r,s:o,v:c})),c=(c+a)%1;return i}b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var c=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(M(r))];if(o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=b(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var r=b(e).toRgb(),o=b(t).toRgb(),c=n/100;return b({r:(o.r-r.r)*c+r.r,g:(o.g-r.g)*c+r.g,b:(o.b-r.b)*c+r.b,a:(o.a-r.a)*c+r.a})},b.readability=function(e,t){var n=b(e),r=b(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},b.isReadable=function(e,t,n){var r,o,c=b.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=c>=4.5;break;case"AAlarge":o=c>=3;break;case"AAAsmall":o=c>=7}return o},b.mostReadable=function(e,t,n){var r,o,c,i,a=null,l=0;o=(n=n||{}).includeFallbackColors,c=n.level,i=n.size;for(var s=0;sl&&(l=r,a=b(t[s]));return b.isReadable(e,a,{level:c,size:i})||!o?a:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var x=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(x);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return s(1,u(0,e))}function A(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,z,G=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",z="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}(Math)},63:function(e,t){e.exports=window.wp.isShallowEqual},64:function(e,t){e.exports=window.wp.htmlEntities},7:function(e,t){e.exports=window.wp.primitives},71:function(e,t,n){e.exports=function(e,t){var n,r,o=0;function c(){var c,i,a=n,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(i=0;i-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,i=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r0?!0===i?r.scrollTop(t,h.top+j.top):!1===i?r.scrollTop(t,h.top+k.top):j.top<0?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top):c||((i=void 0===i||!!i)?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,h.left+j.left):!1===a?r.scrollLeft(t,h.left+k.left):j.left<0?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left):c||((a=void 0===a||!!a)?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left)))}},191:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=o;case"max":return c<=o;default:return c===o}}));return o&&!n||!o&&n}))},t.parse=l;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],i=t[2],a=t[3]||"",l={};return l.inverse=!!n&&"not"===n.toLowerCase(),l.type=i?i.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],l.expressions=a.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),l}))}function s(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function d(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},281:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var b=n?c(d):d,f={},p=!0,m={node:b,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(p=!1)},delete:function(e){delete m.parent.node[m.key],e&&(p=!1)},remove:function(e){l(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(p=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=i(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;ee.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var b=t[i-1];return i>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[i-2].value+=b.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,b=[{newPos:-1,components:[]}],f=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=l&&f+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,d=b[n-1],f=b[n+1],p=(f?f.newPos:0)-n;d&&(b[n-1]=void 0);var m=d&&d.newPos+1=l&&p+1>=s)return a(o(i,r.components,t,e,i.useLongestToken));b[n]=r}else b[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>d)return r();p()||e()}),0)}();else for(;u<=d;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,c=n.length,i=e.newPos,a=i-r,l=0;i+1=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},456:function(e,t,n){"use strict";n.r(t),n.d(t,"getColorClassName",(function(){return Pe})),n.d(t,"getColorObjectByAttributeValues",(function(){return Ie})),n.d(t,"getColorObjectByColorValue",(function(){return xe})),n.d(t,"createCustomColorsHOC",(function(){return Yn})),n.d(t,"withColors",(function(){return Xn})),n.d(t,"__experimentalUseColors",(function(){return br})),n.d(t,"__experimentalGetGradientClass",(function(){return Ne})),n.d(t,"getGradientValueBySlug",(function(){return De})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Ae})),n.d(t,"getGradientSlugByValue",(function(){return Re})),n.d(t,"__experimentalUseGradient",(function(){return Le})),n.d(t,"getFontSize",(function(){return un})),n.d(t,"getFontSizeClass",(function(){return bn})),n.d(t,"getFontSizeObjectByValue",(function(){return dn})),n.d(t,"FontSizePicker",(function(){return fn})),n.d(t,"withFontSizes",(function(){return gr})),n.d(t,"AlignmentToolbar",(function(){return Cr})),n.d(t,"Autocomplete",(function(){return Gr})),n.d(t,"BlockAlignmentToolbar",(function(){return z})),n.d(t,"__experimentalBlockFullHeightAligmentToolbar",(function(){return Wr})),n.d(t,"__experimentalBlockAlignmentMatrixToolbar",(function(){return Kr})),n.d(t,"BlockBreadcrumb",(function(){return Ra})),n.d(t,"BlockContextProvider",(function(){return Va})),n.d(t,"BlockControls",(function(){return C})),n.d(t,"BlockColorsStyleSelector",(function(){return Ua})),n.d(t,"BlockEdit",(function(){return qa})),n.d(t,"useBlockEditContext",(function(){return h})),n.d(t,"BlockFormatControls",(function(){return Za})),n.d(t,"BlockIcon",(function(){return Vr})),n.d(t,"BlockNavigationDropdown",(function(){return Yd})),n.d(t,"__experimentalBlockNavigationBlockFill",(function(){return Td})),n.d(t,"__experimentalBlockNavigationEditor",(function(){return ub})),n.d(t,"__experimentalBlockNavigationTree",(function(){return Wd})),n.d(t,"__experimentalBlockVariationPicker",(function(){return bb})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return mb})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return _b})),n.d(t,"ButtonBlockerAppender",(function(){return Ms})),n.d(t,"ColorPalette",(function(){return Sb})),n.d(t,"ColorPaletteControl",(function(){return Bb})),n.d(t,"ContrastChecker",(function(){return it})),n.d(t,"__experimentalGradientPicker",(function(){return Pb})),n.d(t,"__experimentalGradientPickerControl",(function(){return Tb})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Nb})),n.d(t,"__experimentalFontAppearanceControl",(function(){return Yt})),n.d(t,"__experimentalFontFamilyControl",(function(){return nn})),n.d(t,"__experimentalColorGradientControl",(function(){return $e})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return rt})),n.d(t,"__experimentalImageSizeControl",(function(){return Ab})),n.d(t,"InnerBlocks",(function(){return $b})),n.d(t,"__experimentalUseInnerBlocksProps",(function(){return qb})),n.d(t,"InspectorAdvancedControls",(function(){return ee})),n.d(t,"InspectorControls",(function(){return ce})),n.d(t,"__experimentalLinkControl",(function(){return Sf})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return jf})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return sf})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return lf})),n.d(t,"LineHeightControl",(function(){return zt})),n.d(t,"MediaReplaceFlow",(function(){return Tf})),n.d(t,"MediaPlaceholder",(function(){return Mf})),n.d(t,"MediaUpload",(function(){return xf})),n.d(t,"MediaUploadCheck",(function(){return Pf})),n.d(t,"PanelColorSettings",(function(){return tr})),n.d(t,"PlainText",(function(){return Hf})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Gf})),n.d(t,"RichText",(function(){return sb})),n.d(t,"RichTextShortcut",(function(){return Uf})),n.d(t,"RichTextToolbarButton",(function(){return Wf})),n.d(t,"__unstableRichTextInputEvent",(function(){return qf})),n.d(t,"ToolSelector",(function(){return Yf})),n.d(t,"__experimentalUnitControl",(function(){return _n})),n.d(t,"URLInput",(function(){return of})),n.d(t,"URLInputButton",(function(){return Jf})),n.d(t,"URLPopover",(function(){return Rf})),n.d(t,"__experimentalImageURLInputUI",(function(){return rp})),n.d(t,"withColorContext",(function(){return wb})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return Pu})),n.d(t,"__experimentalInserterMenuExtension",(function(){return Es})),n.d(t,"__experimentalPreviewOptions",(function(){return cp})),n.d(t,"__experimentalUseResizeCanvas",(function(){return bp})),n.d(t,"BlockInspector",(function(){return hp})),n.d(t,"BlockList",(function(){return ed})),n.d(t,"useBlockProps",(function(){return gd})),n.d(t,"__experimentalBlock",(function(){return Ep})),n.d(t,"BlockMover",(function(){return ru})),n.d(t,"BlockPreview",(function(){return Ql})),n.d(t,"BlockSelectionClearer",(function(){return wp})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return Cp})),n.d(t,"BlockSettingsMenu",(function(){return Hu})),n.d(t,"BlockSettingsMenuControls",(function(){return Mu})),n.d(t,"BlockTitle",(function(){return Aa})),n.d(t,"BlockToolbar",(function(){return Ku})),n.d(t,"CopyHandler",(function(){return Eu})),n.d(t,"__unstableUseClipboardHandler",(function(){return _u})),n.d(t,"DefaultBlockAppender",(function(){return Ls})),n.d(t,"__unstableUseEditorStyles",(function(){return Qp})),n.d(t,"Inserter",(function(){return Rs})),n.d(t,"__experimentalLibrary",(function(){return Zp})),n.d(t,"__experimentalSearchForm",(function(){return zl})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return em})),n.d(t,"MultiSelectScrollIntoView",(function(){return nm})),n.d(t,"__unstableUseScrollMultiSelectionIntoView",(function(){return tm})),n.d(t,"NavigableToolbar",(function(){return tu})),n.d(t,"ObserveTyping",(function(){return im})),n.d(t,"__unstableUseTypingObserver",(function(){return cm})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return om})),n.d(t,"PreserveScrollInReorder",(function(){return am})),n.d(t,"SkipToSelectedBlock",(function(){return fp})),n.d(t,"Typewriter",(function(){return dm})),n.d(t,"__unstableUseTypewriter",(function(){return um})),n.d(t,"Warning",(function(){return yl})),n.d(t,"WritingFlow",(function(){return fd})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return fm})),n.d(t,"useBlockDisplayInformation",(function(){return Da})),n.d(t,"__unstableIframe",(function(){return Om})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return jm})),n.d(t,"BlockEditorProvider",(function(){return $l})),n.d(t,"__experimentalUseSimulatedMediaQuery",(function(){return dp})),n.d(t,"__experimentalUseEditorFeature",(function(){return ge})),n.d(t,"transformStyles",(function(){return Xp})),n.d(t,"validateThemeColors",(function(){return km})),n.d(t,"validateThemeGradients",(function(){return ym})),n.d(t,"__experimentalGetMatchingVariation",(function(){return fb})),n.d(t,"storeConfig",(function(){return Ta})),n.d(t,"store",(function(){return Na})),n.d(t,"SETTINGS_DEFAULTS",(function(){return $r}));var r={};n.r(r),n.d(r,"getBlockName",(function(){return jo})),n.d(r,"isBlockValid",(function(){return ko})),n.d(r,"getBlockAttributes",(function(){return yo})),n.d(r,"getBlock",(function(){return _o})),n.d(r,"__unstableGetBlockWithoutInnerBlocks",(function(){return Eo})),n.d(r,"getBlocks",(function(){return Co})),n.d(r,"__unstableGetBlockWithBlockTree",(function(){return wo})),n.d(r,"__unstableGetBlockTree",(function(){return So})),n.d(r,"getClientIdsOfDescendants",(function(){return Bo})),n.d(r,"getClientIdsWithDescendants",(function(){return Io})),n.d(r,"getGlobalBlockCount",(function(){return xo})),n.d(r,"getBlocksByClientId",(function(){return Po})),n.d(r,"getBlockCount",(function(){return To})),n.d(r,"getSelectionStart",(function(){return No})),n.d(r,"getSelectionEnd",(function(){return Do})),n.d(r,"getBlockSelectionStart",(function(){return Ao})),n.d(r,"getBlockSelectionEnd",(function(){return Ro})),n.d(r,"getSelectedBlockCount",(function(){return Lo})),n.d(r,"hasSelectedBlock",(function(){return Mo})),n.d(r,"getSelectedBlockClientId",(function(){return Fo})),n.d(r,"getSelectedBlock",(function(){return Vo})),n.d(r,"getBlockRootClientId",(function(){return Ho})),n.d(r,"getBlockParents",(function(){return zo})),n.d(r,"getBlockParentsByBlockName",(function(){return Go})),n.d(r,"getBlockHierarchyRootClientId",(function(){return Uo})),n.d(r,"getLowestCommonAncestorWithSelectedBlock",(function(){return Wo})),n.d(r,"getAdjacentBlockClientId",(function(){return Ko})),n.d(r,"getPreviousBlockClientId",(function(){return qo})),n.d(r,"getNextBlockClientId",(function(){return $o})),n.d(r,"getSelectedBlocksInitialCaretPosition",(function(){return Yo})),n.d(r,"getSelectedBlockClientIds",(function(){return Xo})),n.d(r,"getMultiSelectedBlockClientIds",(function(){return Qo})),n.d(r,"getMultiSelectedBlocks",(function(){return Zo})),n.d(r,"getFirstMultiSelectedBlockClientId",(function(){return Jo})),n.d(r,"getLastMultiSelectedBlockClientId",(function(){return ec})),n.d(r,"isFirstMultiSelectedBlock",(function(){return tc})),n.d(r,"isBlockMultiSelected",(function(){return nc})),n.d(r,"isAncestorMultiSelected",(function(){return rc})),n.d(r,"getMultiSelectedBlocksStartClientId",(function(){return oc})),n.d(r,"getMultiSelectedBlocksEndClientId",(function(){return cc})),n.d(r,"getBlockOrder",(function(){return ic})),n.d(r,"getBlockIndex",(function(){return ac})),n.d(r,"isBlockSelected",(function(){return lc})),n.d(r,"hasSelectedInnerBlock",(function(){return sc})),n.d(r,"isBlockWithinSelection",(function(){return uc})),n.d(r,"hasMultiSelection",(function(){return dc})),n.d(r,"isMultiSelecting",(function(){return bc})),n.d(r,"isSelectionEnabled",(function(){return fc})),n.d(r,"getBlockMode",(function(){return pc})),n.d(r,"isTyping",(function(){return mc})),n.d(r,"isDraggingBlocks",(function(){return vc})),n.d(r,"getDraggedBlockClientIds",(function(){return gc})),n.d(r,"isBlockBeingDragged",(function(){return Oc})),n.d(r,"isAncestorBeingDragged",(function(){return hc})),n.d(r,"isCaretWithinFormattedText",(function(){return jc})),n.d(r,"getBlockInsertionPoint",(function(){return kc})),n.d(r,"isBlockInsertionPointVisible",(function(){return yc})),n.d(r,"isValidTemplate",(function(){return _c})),n.d(r,"getTemplate",(function(){return Ec})),n.d(r,"getTemplateLock",(function(){return Cc})),n.d(r,"canInsertBlockType",(function(){return Sc})),n.d(r,"canInsertBlocks",(function(){return Bc})),n.d(r,"getInserterItems",(function(){return Dc})),n.d(r,"getBlockTransformItems",(function(){return Ac})),n.d(r,"hasInserterItems",(function(){return Rc})),n.d(r,"__experimentalGetAllowedBlocks",(function(){return Lc})),n.d(r,"getBlockListSettings",(function(){return Mc})),n.d(r,"getSettings",(function(){return Fc})),n.d(r,"isLastBlockChangePersistent",(function(){return Vc})),n.d(r,"__experimentalGetBlockListSettingsForBlocks",(function(){return Hc})),n.d(r,"__experimentalGetParsedReusableBlock",(function(){return zc})),n.d(r,"__experimentalGetReusableBlockTitle",(function(){return Gc})),n.d(r,"__unstableIsLastBlockChangeIgnored",(function(){return Uc})),n.d(r,"__experimentalGetLastBlockAttributeChanges",(function(){return Wc})),n.d(r,"isNavigationMode",(function(){return qc})),n.d(r,"hasBlockMovingClientId",(function(){return $c})),n.d(r,"didAutomaticChange",(function(){return Yc})),n.d(r,"isBlockHighlighted",(function(){return Xc})),n.d(r,"areInnerBlocksControlled",(function(){return Qc})),n.d(r,"__experimentalGetActiveBlockIdByBlockNames",(function(){return Zc}));var o={};n.r(o),n.d(o,"resetBlocks",(function(){return Si})),n.d(o,"validateBlocksToTemplate",(function(){return Bi})),n.d(o,"resetSelection",(function(){return Ii})),n.d(o,"receiveBlocks",(function(){return xi})),n.d(o,"updateBlockAttributes",(function(){return Pi})),n.d(o,"updateBlock",(function(){return Ti})),n.d(o,"selectBlock",(function(){return Ni})),n.d(o,"selectPreviousBlock",(function(){return Di})),n.d(o,"selectNextBlock",(function(){return Ai})),n.d(o,"startMultiSelect",(function(){return Ri})),n.d(o,"stopMultiSelect",(function(){return Li})),n.d(o,"multiSelect",(function(){return Mi})),n.d(o,"clearSelectedBlock",(function(){return Fi})),n.d(o,"toggleSelection",(function(){return Vi})),n.d(o,"replaceBlocks",(function(){return zi})),n.d(o,"replaceBlock",(function(){return Gi})),n.d(o,"moveBlocksDown",(function(){return Wi})),n.d(o,"moveBlocksUp",(function(){return Ki})),n.d(o,"moveBlocksToPosition",(function(){return qi})),n.d(o,"moveBlockToPosition",(function(){return $i})),n.d(o,"insertBlock",(function(){return Yi})),n.d(o,"insertBlocks",(function(){return Xi})),n.d(o,"__unstableSetInsertionPoint",(function(){return Qi})),n.d(o,"showInsertionPoint",(function(){return Zi})),n.d(o,"hideInsertionPoint",(function(){return Ji})),n.d(o,"setTemplateValidity",(function(){return ea})),n.d(o,"synchronizeTemplate",(function(){return ta})),n.d(o,"mergeBlocks",(function(){return na})),n.d(o,"removeBlocks",(function(){return ra})),n.d(o,"removeBlock",(function(){return oa})),n.d(o,"replaceInnerBlocks",(function(){return ca})),n.d(o,"toggleBlockMode",(function(){return ia})),n.d(o,"startTyping",(function(){return aa})),n.d(o,"stopTyping",(function(){return la})),n.d(o,"startDraggingBlocks",(function(){return sa})),n.d(o,"stopDraggingBlocks",(function(){return ua})),n.d(o,"enterFormattedText",(function(){return da})),n.d(o,"exitFormattedText",(function(){return ba})),n.d(o,"selectionChange",(function(){return fa})),n.d(o,"insertDefaultBlock",(function(){return pa})),n.d(o,"updateBlockListSettings",(function(){return ma})),n.d(o,"updateSettings",(function(){return va})),n.d(o,"__unstableSaveReusableBlock",(function(){return ga})),n.d(o,"__unstableMarkLastChangeAsPersistent",(function(){return Oa})),n.d(o,"__unstableMarkNextChangeAsNotPersistent",(function(){return ha})),n.d(o,"__unstableMarkAutomaticChange",(function(){return ja})),n.d(o,"__unstableMarkAutomaticChangeFinal",(function(){return ka})),n.d(o,"setNavigationMode",(function(){return ya})),n.d(o,"setBlockMovingClientId",(function(){return _a})),n.d(o,"duplicateBlocks",(function(){return Ea})),n.d(o,"insertBeforeBlock",(function(){return Ca})),n.d(o,"insertAfterBlock",(function(){return wa})),n.d(o,"toggleBlockHighlight",(function(){return Sa})),n.d(o,"flashBlock",(function(){return Ba})),n.d(o,"setHasControlledInnerBlocks",(function(){return Ia}));var c=n(21),i=n(8),a=n(5),l=n(0),s=n(10),u=n.n(s),d=n(2),b=n(12),f=n(33),p=n(9),m=n(4),v=n(3),g=Object(l.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:d.noop,clientId:null}),O=g.Provider;function h(){return Object(l.useContext)(g)}function j(){var e=h(),t=e.isSelected,n=e.clientId,r=e.name,o=Object(m.useSelect)((function(e){if(!t){var o=e("core/block-editor"),c=o.getBlockName,i=o.isFirstMultiSelectedBlock,a=o.getMultiSelectedBlockClientIds;return!!i(n)&&a().every((function(e){return c(e)===r}))}}),[n,t,r]);return t||o}var k=Object(v.createSlotFill)("BlockControls"),y=k.Fill,_=k.Slot;var E=function(e){var t=e.controls,n=e.children;return j()?Object(l.createElement)(y,null,(function(e){var r=Object(d.isEmpty)(e)?null:e;return Object(l.createElement)(v.__experimentalToolbarContext.Provider,{value:r},Object(l.createElement)(v.ToolbarGroup,{controls:t}),n)})):null};E.Slot=function(e){var t=Object(l.useContext)(v.__experimentalToolbarContext);return Object(l.createElement)(_,Object(i.a)({},e,{fillProps:t}))};var C=E,w=n(1),S=n(7),B=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"})),I=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"})),x=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"})),P=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"})),T=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"})),N={type:"default"},D=Object(l.createContext)(N),A=D.Provider;function R(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 L(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?W.filter((function(t){return e.includes(t)})):!0===e?W:[],!r||!0===e&&!n?d.without.apply(void 0,[t].concat(K)):t}var $=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(l.createElement)(C,{key:"align-controls"},Object(l.createElement)(z,{value:t.attributes.align,onChange:function(e){var n,r;e||(null===(n=Object(p.getBlockType)(t.name).attributes)||void 0===n||null===(r=n.align)||void 0===r?void 0:r.default)&&(e="");t.setAttributes({align:e})},controls:r})),Object(l.createElement)(e,Object(i.a)({key:"edit"},t))]}}),"withToolbarControls"),Y=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(m.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(l.createElement)(e,t);var c=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return c.includes(r)&&(a=U(U({},a),{},{"data-align":r})),Object(l.createElement)(e,Object(i.a)({},t,{wrapperProps:a}))}}));Object(f.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(d.has)(e.attributes,["align","type"])||Object(p.hasBlockSupport)(e,"align")&&(e.attributes=U(U({},e.attributes),{},{align:{type:"string",enum:[].concat(W,[""])}})),e})),Object(f.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Y),Object(f.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align;return q(Object(p.getBlockSupport)(t,"align"),Object(p.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=u()("align".concat(r),e.className)),e}));var X=Object(v.createSlotFill)("InspectorAdvancedControls"),Q=X.Fill,Z=X.Slot;function J(e){var t=e.children;return h().isSelected?Object(l.createElement)(Q,null,t):null}J.slotName="InspectorAdvancedControls",J.Slot=Z;var ee=J,te=Object(v.createSlotFill)("InspectorControls"),ne=te.Fill,re=te.Slot;function oe(e){var t=e.children;return j()?Object(l.createElement)(ne,null,t):null}oe.Slot=re;var ce=oe;function ie(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 ae(e){for(var t=1;t");var t=Object(p.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(f.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(p.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=de(de({},e.attributes),{},{className:{type:"string"}})),e})),Object(f.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",be),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(p.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e})),Object(f.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(p.hasBlockSupport)(t,"customClassName",!0)){var r=Object(d.omit)(e,["className"]),o=Object(p.getSaveContent)(t,r),c=fe(o),i=fe(n),a=Object(d.difference)(i,c);a.length?e.className=a.join(" "):o&&delete e.className}return e}));var pe=n(15);Object(f.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(p.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(d.uniq)([Object(p.getBlockDefaultClassName)(t.name)].concat(Object(pe.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(p.getBlockDefaultClassName)(t.name)),e}));var me={"color.palette":function(e){return void 0===e.colors?void 0:e.colors},"color.gradients":function(e){return void 0===e.gradients?void 0:e.gradients},"color.custom":function(e){return void 0===e.disableCustomColors?void 0:!e.disableCustomColors},"color.customGradient":function(e){return void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients},"typography.fontSizes":function(e){return void 0===e.fontSizes?void 0:e.fontSizes},"typography.customFontSize":function(e){return void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes},"typography.customLineHeight":function(e){return e.enableCustomLineHeight},"spacing.units":function(e){if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw"]:e.enableCustomUnits},"spacing.customPadding":function(e){return e.enableCustomSpacing}};function ve(e,t){for(var n in t)if(t[n]!==e[n])return!1;return!0}function ge(e){var t=h(),n=t.name,r=t.clientId;return Object(m.useSelect)((function(t){var o,c=t("core/block-editor"),i=c.getBlockAttributes,a=(0,c.getSettings)(),l=t(p.store).getBlockType(n),s=n,u=Object(d.get)(l,["supports","__experimentalSelector"]);if(Object(d.isObject)(u)){var b=i(r)||{};for(var f in u){if(ve(b,u[f].attributes)){s=f;break}}}var m="__experimentalFeatures.defaults.".concat(e),v="__experimentalFeatures.".concat(s,".").concat(e),g=null!==(o=Object(d.get)(a,v))&&void 0!==o?o:Object(d.get)(a,m);if(void 0!==g)return g;var O=me[e]?me[e](a):void 0;return void 0!==O?O:"typography.dropCap"===e||void 0}),[n,r,e])}var Oe=function e(t){if(!Object(d.isObject)(t))return t;var n=Object(d.pickBy)(Object(d.mapValues)(t,e),d.identity);return Object(d.isEqual)(n,{})?void 0:n};function he(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 je(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!ge("border.customRadius");return!ye(t)||n}var Ee="__experimentalBorder";function Ce(e){var t=we(e),n=function(e){if("web"!==l.Platform.OS)return!1;var t=Object(p.getBlockSupport)(e,Ee);return!!(!0===t||null!=t&&t.radius)}(e.name);return t||!n?null:Object(l.createElement)(ce,null,Object(l.createElement)(v.PanelBody,{title:Object(w.__)("Border settings")},Object(l.createElement)(ke,e)))}var we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[_e(e)];return t.every(Boolean)},Se=n(60),Be=n.n(Se),Ie=function(e,t,n){if(t){var r=Object(d.find)(e,{slug:t});if(r)return r}return{color:n}},xe=function(e,t){return Object(d.find)(e,{color:t})};function Pe(e,t){if(e&&t)return"has-".concat(Object(d.kebabCase)(t),"-").concat(e)}var Te=[];function Ne(e){if(e)return"has-".concat(e,"-gradient-background")}function De(e,t){var n=Object(d.find)(e,["slug",t]);return n&&n.gradient}function Ae(e,t){return Object(d.find)(e,["gradient",t])}function Re(e,t){var n=Ae(e,t);return n&&n.slug}function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,c=h(),i=c.clientId,s=ge("color.gradients")||Te,u=Object(m.useSelect)((function(e){var t=(0,e("core/block-editor").getBlockAttributes)(i)||{};return{customGradient:t[o],gradient:t[n]}}),[i,n,o]),d=u.gradient,b=u.customGradient,f=Object(m.useDispatch)("core/block-editor"),p=f.updateBlockAttributes,v=Object(l.useCallback)((function(e){var t,r,c=Re(s,e);c?p(i,(r={},Object(a.a)(r,n,c),Object(a.a)(r,o,void 0),r)):p(i,(t={},Object(a.a)(t,n,void 0),Object(a.a)(t,o,e),t))}),[s,i,p]),g=Ne(d);return{gradientClass:g,gradientValue:d?De(s,d):b,setGradient:v}}var Me=n(11),Fe=n(13);function Ve(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 He(e){for(var t=1;t=24?"large":"small"})?null:Object(l.createElement)(ct,{backgroundColor:t,textColor:i,tinyBackgroundColor:a,tinyTextColor:s})};function at(e,t){return t.getElementById("block-"+e)}function lt(e,t){return t.closest(".block-editor-block-list__block")===e}function st(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(e){var t=e.closest(".block-editor-block-list__block");if(t)return t.id.slice("block-".length)}}function ut(e){return e.ownerDocument.defaultView.getComputedStyle(e)}function dt(e){var t=e.settings,n=e.clientId,r=e.enableContrastChecking,o=void 0===r||r,c=Object(l.useState)(),i=Object(Me.a)(c,2),a=i[0],s=i[1],u=Object(l.useState)(),d=Object(Me.a)(u,2),b=d[0],f=d[1];return Object(l.useEffect)((function(){if(o){var e=at(n,document);if(e){f(ut(e).color);for(var t=e,r=ut(t).backgroundColor;"rgba(0, 0, 0, 0)"===r&&t.parentNode&&t.parentNode.nodeType===t.parentNode.ELEMENT_NODE;)r=ut(t=t.parentNode).backgroundColor;s(r)}}})),Object(l.createElement)(ce,null,Object(l.createElement)(rt,{title:Object(w.__)("Color settings"),initialOpen:!1,settings:t},o&&Object(l.createElement)(it,{backgroundColor:a,textColor:b})))}function bt(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 ft(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!Object(p.hasBlockSupport)(t,"__experimentalTextDecoration"),r=ge("typography.customTextDecorations");return n||!r}var Pt=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})),Tt=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M10.8 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.1-.4-.3-.9-.4-1.6-.4-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.3 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.5.1-.7 0-.8-.1zM9.1 16c-.2.3-.5.6-.9.8-.4.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.5-3.9c-.3-.6-.7-1.1-1.2-1.5-.5-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1 0-.6-.2-1.3-.5-1.9zm-1.6 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.5-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})),Nt=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})),Dt=[{name:Object(w.__)("Uppercase"),value:"uppercase",icon:Pt},{name:Object(w.__)("Lowercase"),value:"lowercase",icon:Tt},{name:Object(w.__)("Capitalize"),value:"capitalize",icon:Nt}];function At(e){var t=e.value,n=e.onChange;return Object(l.createElement)("fieldset",{className:"block-editor-text-transform-control"},Object(l.createElement)("legend",null,Object(w.__)("Letter case")),Object(l.createElement)("div",{className:"block-editor-text-transform-control__buttons"},Dt.map((function(e){return Object(l.createElement)(v.Button,{key:e.value,icon:e.icon,isSmall:!0,isPressed:t===e.value,"aria-label":e.name,onClick:function(){return n(t===e.value?void 0:e.value)}})}))))}function Rt(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 Lt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!Object(p.hasBlockSupport)(t,"__experimentalTextTransform"),r=ge("typography.customTextTransforms");return n||!r}function Vt(e){var t=!xt(e),n=!Ft(e);return t||n?Object(l.createElement)("div",{className:"block-editor-text-decoration-and-transform"},t&&Object(l.createElement)(It,e),n&&Object(l.createElement)(Mt,e)):null}var Ht=n(17);function zt(e){var t=e.value,n=e.onChange,r=function(e){return void 0!==e&&""!==e}(t),o=r?t:"";return Object(l.createElement)("div",{className:"block-editor-line-height-control"},Object(l.createElement)(v.TextControl,{autoComplete:"off",onKeyDown:function(e){e.keyCode!==Ht.ZERO||r||(e.preventDefault(),n("0"))},onChange:function(e){if(r)n(e);else{var t=e;switch(e){case"".concat(.1):t=1.6;break;case"0":t=1.4}n(t)}},label:Object(w.__)("Line height"),placeholder:1.5,step:.1,type:"number",value:o,min:0}))}function Gt(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 Ut(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!ge("typography.customLineHeight");return!Object(p.hasBlockSupport)(t,"lineHeight")||n}var qt=[{name:Object(w.__)("Regular"),value:"normal"},{name:Object(w.__)("Italic"),value:"italic"}],$t=[{name:Object(w.__)("Thin"),value:"100"},{name:Object(w.__)("Extra Light"),value:"200"},{name:Object(w.__)("Light"),value:"300"},{name:Object(w.__)("Regular"),value:"400"},{name:Object(w.__)("Medium"),value:"500"},{name:Object(w.__)("Semi Bold"),value:"600"},{name:Object(w.__)("Bold"),value:"700"},{name:Object(w.__)("Extra Bold"),value:"800"},{name:Object(w.__)("Black"),value:"900"}];function Yt(e){var t=e.onChange,n=e.hasFontStyles,r=void 0===n||n,o=e.hasFontWeights,c=void 0===o||o,i=e.value,a=i.fontStyle,s=i.fontWeight,u=r||c,d={key:"default",name:Object(w.__)("Default"),style:{fontStyle:void 0,fontWeight:void 0}},b=Object(l.useMemo)((function(){return r&&c?(e=[d],qt.forEach((function(t){var n=t.name,r=t.value;$t.forEach((function(t){var o=t.name,c=t.value,i="normal"===r?o:Object(w.sprintf)(Object(w.__)("%1$s %2$s"),o,n);e.push({key:"".concat(r,"-").concat(c),name:i,style:{fontStyle:r,fontWeight:c}})}))})),e):r?function(){var e=[d];return qt.forEach((function(t){var n=t.name,r=t.value;e.push({key:r,name:n,style:{fontStyle:r,fontWeight:void 0}})})),e}():function(){var e=[d];return $t.forEach((function(t){var n=t.name,r=t.value;e.push({key:r,name:n,style:{fontStyle:void 0,fontWeight:r}})})),e}();var e}),[e.options]),f=b.find((function(e){return e.style.fontStyle===a&&e.style.fontWeight===s}));return Object(l.createElement)("fieldset",{className:"components-font-appearance-control"},u&&Object(l.createElement)(v.CustomSelectControl,{className:"components-font-appearance-control__select",label:r?c?Object(w.__)("Appearance"):Object(w.__)("Font style"):Object(w.__)("Font weight"),options:b,value:f,onChange:function(e){var n=e.selectedItem;return t(n.style)}}))}function Xt(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 Qt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=Object(p.hasBlockSupport)(t,"__experimentalFontStyle"),r=ge("typography.customFontStyle");return!n||!r}function en(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=Object(p.hasBlockSupport)(t,"__experimentalFontWeight"),r=ge("typography.customFontWeight");return!n||!r}function tn(e){var t=Jt(e),n=en(e);return t&&n}function nn(e){var t=e.value,n=void 0===t?"":t,r=e.onChange,o=e.fontFamilies,c=Object(Fe.a)(e,["value","onChange","fontFamilies"]),a=ge("typography.fontFamilies");if(o||(o=a),Object(d.isEmpty)(o))return null;var s=[{value:"",label:Object(w.__)("Default")}].concat(Object(pe.a)(o.map((function(e){var t=e.fontFamily;return{value:t,label:e.name||t}}))));return Object(l.createElement)(v.SelectControl,Object(i.a)({label:Object(w.__)("Font family"),options:s,value:n,onChange:r,labelPosition:"top"},c))}function rn(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 on(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=ge("typography.fontSizes"),r=!(null==n||!n.length);return!Object(p.hasBlockSupport)(t,"fontSize")||!r}var hn=Object(b.createHigherOrderComponent)((function(e){return function(t){var n,r=ge("typography.fontSizes"),o=t.name,c=t.attributes,i=c.fontSize,a=c.style,s=t.wrapperProps,u=mn({},t);if(Object(p.hasBlockSupport)(o,"fontSize")&&i&&(null==a||null===(n=a.typography)||void 0===n||!n.fontSize)){var d,b=un(r,i,null==a||null===(d=a.typography)||void 0===d?void 0:d.fontSize).size;u.wrapperProps=mn(mn({},s),{},{style:mn({fontSize:b},null==s?void 0:s.style)})}return Object(l.createElement)(e,u)}}),"withFontSizeInlineStyles");Object(f.addFilter)("blocks.registerBlockType","core/font/addAttribute",(function(e){return Object(p.hasBlockSupport)(e,"fontSize")?(e.attributes.fontSize||Object.assign(e.attributes,{fontSize:{type:"string"}}),e):e})),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/font/addSaveProps",vn),Object(f.addFilter)("blocks.registerBlockType","core/font/addEditProps",(function(e){if(!Object(p.hasBlockSupport)(e,"fontSize"))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),vn(r,e,n)},e})),Object(f.addFilter)("editor.BlockListBlock","core/font-size/with-font-size-inline-styles",hn);var jn=["lineHeight","fontSize","__experimentalFontStyle","__experimentalFontWeight","__experimentalFontFamily","__experimentalTextDecoration","__experimentalTextTransform"];function kn(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[tn(e),On(e),Kt(e),an(e),xt(e),Ft(e)];return t.filter(Boolean).length===t.length}(e),n=yn(e.name);return t||!n?null:Object(l.createElement)(ce,null,Object(l.createElement)(v.PanelBody,{title:Object(w.__)("Typography")},Object(l.createElement)(v.__unstableComponentSystemProvider,{__unstableNextInclude:["WPComponentsFontSizePicker"]},Object(l.createElement)(cn,e),Object(l.createElement)(gn,e),Object(l.createElement)(Zt,e),Object(l.createElement)(Wt,e),Object(l.createElement)(Vt,e))))}var yn=function(e){return"web"===l.Platform.OS&&jn.some((function(t){return Object(p.hasBlockSupport)(e,t)}))};function _n(e){var t=e.units,n=Object(Fe.a)(e,["units"]),r=En(t);return Object(l.createElement)(v.__experimentalUnitControl,Object(i.a)({units:r},n))}function En(e){var t=ge("spacing.units"),n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.filter((function(t){return e.includes(t.value)}))}(t||[],e);return 0!==n.length&&n}function Cn(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 wn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={};return Object.keys(p.__EXPERIMENTAL_STYLE_PROPERTY).forEach((function(n){var r=p.__EXPERIMENTAL_STYLE_PROPERTY[n].value,o=p.__EXPERIMENTAL_STYLE_PROPERTY[n].properties;Object(d.has)(e,r)&&(o?o.forEach((function(o){t[n+Object(d.capitalize)(o)]=Nn(Object(d.get)(e,[].concat(Object(pe.a)(r),[o])))})):t[n]=Nn(Object(d.get)(e,r)))})),t}(r)),e.style),e}var An=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=Object(p.hasBlockSupport)(n,"spacing");return[Object(l.createElement)(kn,Object(i.a)({key:"typography"},t)),Object(l.createElement)(Ce,Object(i.a)({key:"border"},t)),Object(l.createElement)(kt,Object(i.a)({key:"colors"},t)),Object(l.createElement)(e,Object(i.a)({key:"edit"},t)),r&&Object(l.createElement)(Bn,{key:"spacing"},Object(l.createElement)(Sn,t))]}}),"withToolbarControls");Object(f.addFilter)("blocks.registerBlockType","core/style/addAttribute",(function(e){return Tn(e)?(e.attributes.style||Object.assign(e.attributes,{style:{type:"object"}}),e):e})),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/style/addSaveProps",Dn),Object(f.addFilter)("blocks.registerBlockType","core/style/addEditProps",(function(e){if(!Tn(e))return e;var t=e.getEditWrapperProps;return e.getEditWrapperProps=function(n){var r={};return t&&(r=t(n)),Dn(r,e,n)},e})),Object(f.addFilter)("editor.BlockEdit","core/style/with-block-controls",An);var Rn=n(25),Ln=n(26),Mn=n(18),Fn=n(28),Vn=n(29),Hn=n(19);function zn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Hn.a)(e);if(t){var o=Object(Hn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Vn.a)(this,n)}}function Gn(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 Un(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function cr(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]:{panelTitle:Object(w.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(w.__)("Color settings"):n,o=t.colorPanelProps,c=t.contrastCheckers,i=t.panelChildren,s=t.colorDetector,b=(s=void 0===s?{}:s).targetRef,f=s.backgroundColorTargetRef,p=void 0===f?b:f,v=s.textColorTargetRef,g=void 0===v?b:v,O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],j=h(),k=j.clientId,y=ge("color.palette")||sr,_=Object(m.useSelect)((function(e){return{attributes:(0,e("core/block-editor").getBlockAttributes)(k)}}),[k]),E=_.attributes,C=Object(m.useDispatch)("core/block-editor"),S=C.updateBlockAttributes,B=Object(l.useCallback)((function(e){return S(k,e)}),[S,k]),I=Object(l.useMemo)((function(){return Zn()((function(e,t,n,r,o,c){return function(i){var s,b=i.children,f=i.className,p=void 0===f?"":f,m=i.style,v=void 0===m?{}:m,g={};r?g=Object(a.a)({},t,o):c&&(g=Object(a.a)({},t,c));var O={className:u()(p,(s={},Object(a.a)(s,"has-".concat(Object(d.kebabCase)(r),"-").concat(Object(d.kebabCase)(t)),r),Object(a.a)(s,n||"has-".concat(Object(d.kebabCase)(e)),r||c),s)),style:ar(ar({},g),v)};return Object(d.isFunction)(b)?b(O):l.Children.map(b,(function(e){return Object(l.cloneElement)(e,{className:u()(e.props.className,O.className),style:ar(ar({},O.style),e.props.style||{})})}))}}),{maxSize:e.length})}),[e.length]),x=Object(l.useMemo)((function(){return Zn()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));B(Object(a.a)({},r?Object(d.camelCase)("custom ".concat(e)):e,void 0)),B(Object(a.a)({},r?e:Object(d.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[B,e.length]),P=Object(l.useState)(),T=Object(Me.a)(P,2),N=T[0],D=T[1],A=Object(l.useState)(),R=Object(Me.a)(A,2),L=R[0],M=R[1];return Object(l.useEffect)((function(){if(c){var e,t=!1,n=!1,r=or(Object(d.castArray)(c));try{for(r.s();!(e=r.n()).done;){var o=e.value,i=o.backgroundColor,a=o.textColor;if(t||(t=!0===i),n||(n=!0===a),t&&n)break}}catch(e){r.e(e)}finally{r.f()}if(n&&M(lr(g.current).color),t){for(var l=p.current,s=lr(l).backgroundColor;"rgba(0, 0, 0, 0)"===s&&l.parentNode&&l.parentNode.nodeType===l.parentNode.ELEMENT_NODE;)s=lr(l=l.parentNode).backgroundColor;D(s)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(E[t.name]," | ").concat(E[Object(d.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(pe.a)(O))),Object(l.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=ar(ar({},n),{},{color:E[n.name]}),o=r.name,c=r.property,i=void 0===c?o:c,a=r.className,l=r.panelLabel,s=void 0===l?n.label||ur[o]||Object(d.startCase)(o):l,u=r.componentName,b=void 0===u?Object(d.startCase)(o).replace(/\s/g,""):u,f=r.color,p=void 0===f?n.color:f,m=r.colors,v=void 0===m?y:m,g=E[Object(d.camelCase)("custom ".concat(o))],O=g?void 0:v.find((function(e){return e.slug===p}));return e[b]=I(o,i,a,p,O&&O.color,g),e[b].displayName=b,e[b].color=g||O&&O.color,e[b].slug=p,e[b].setColor=x(o,v),t[b]={value:O?O.color:E[Object(d.camelCase)("custom ".concat(o))],onChange:e[b].setColor,label:s,colors:v},v||delete t[b].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:c,detectedBackgroundColor:N,detectedColor:L,panelChildren:i};return ar(ar({},n),{},{ColorPanel:Object(l.createElement)(rr,a),InspectorControlsColorPanel:Object(l.createElement)(dr,a)})}),[E,B,L,N].concat(Object(pe.a)(O)))}function fr(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 pr(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(d.deburr)(e)).replace(/^\//,"")).toLowerCase()}var Nr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(d.words)(Tr(e))},Dr=function(e,t){return Object(d.differenceWith)(e,Nr(t),(function(e,t){return t.includes(e)}))},Ar=function(e,t,n,r){return 0===Nr(r).length?e:Rr(e,r,{getCategory:function(e){var n;return null===(n=Object(d.find)(t,{slug:e.category}))||void 0===n?void 0:n.title},getCollection:function(e){var t;return null===(t=n[e.name.split("/")[0]])||void 0===t?void 0:t.title}})},Rr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Nr(t);if(0===r.length)return e;var o=e.map((function(e){return[e,Lr(e,t,n)]})).filter((function(e){return Object(Me.a)(e,2)[1]>0}));return o.sort((function(e,t){var n=Object(Me.a)(e,2)[1];return Object(Me.a)(t,2)[1]-n})),o.map((function(e){return Object(Me.a)(e,1)[0]}))};function Lr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getName,o=void 0===r?wr:r,c=n.getTitle,i=void 0===c?Sr:c,a=n.getDescription,l=void 0===a?Br:a,s=n.getKeywords,u=void 0===s?Ir:s,b=n.getCategory,f=void 0===b?xr:b,p=n.getCollection,m=void 0===p?Pr:p,v=o(e),g=i(e),O=l(e),h=u(e),j=f(e),k=m(e),y=Tr(t),_=Tr(g),E=0;if(y===_)E+=30;else if(_.startsWith(y))E+=20;else{var C=[v,g,O].concat(Object(pe.a)(h),[j,k]).join(" "),w=Object(d.words)(y),S=Dr(w,C);0===S.length&&(E+=10)}return 0!==E&&v.startsWith("core/")&&E++,E}var Mr=function(e,t){var n=Object(m.useSelect)((function(t){var n=t("core/block-editor").getInserterItems,r=t(p.store),o=r.getCategories,c=r.getCollections;return{categories:o(),collections:c(),items:n(e)}}),[e]),r=n.categories,o=n.collections;return[n.items,r,o,Object(l.useCallback)((function(e){var n=e.name,r=e.initialAttributes,o=e.innerBlocks,c=Object(p.createBlock)(n,r,Object(p.createBlocksFromInnerBlocksTemplate)(o));t(c)}),[t])]},Fr=n(215);function Vr(e){var t,n=e.icon,r=e.showColors,o=void 0!==r&&r,c=e.className;"block-default"===(null===(t=n)||void 0===t?void 0:t.src)&&(n={src:Fr.a});var i=Object(l.createElement)(v.Icon,{icon:n&&n.src?n.src:n}),a=o?{backgroundColor:n&&n.background,color:n&&n.foreground}:{};return Object(l.createElement)("span",{style:a,className:u()("block-editor-block-icon",c,{"has-colors":o})},i)}var Hr={name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems:function(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockName,o=t.getBlockInsertionPoint,c=n();return{selectedBlockName:c?r(c):null,rootClientId:o().rootClientId}}),[]),n=t.rootClientId,r=t.selectedBlockName,o=Mr(n,d.noop),c=Object(Me.a)(o,3),i=c[0],a=c[1],s=c[2],u=Object(l.useMemo)((function(){return(e.trim()?Ar(i,a,s,e):Object(d.orderBy)(i,["frecency"],["desc"])).filter((function(e){return e.name!==r})).slice(0,9)}),[e,r,i,a,s]);return[Object(l.useMemo)((function(){return u.map((function(e){var t=e.title,n=e.icon,r=e.isDisabled;return{key:"block-".concat(e.id),value:e,label:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Vr,{key:"icon",icon:n,showColors:!0}),t),isDisabled:r}}))}),[u])]},allowContext:function(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion:function(e){var t=e.name,n=e.initialAttributes,r=e.innerBlocks;return{action:"replace",value:Object(p.createBlock)(t,n,Object(p.createBlocksFromInnerBlocksTemplate)(r))}}},zr=[];var Gr=function(e){var t=h().name,n=e.completers,r=void 0===n?zr:n;return r=Object(l.useMemo)((function(){var e=r;return t===Object(p.getDefaultBlockName)()&&(e=e.concat([Hr])),Object(f.hasFilter)("editor.Autocomplete.completers")&&(e===r&&(e=e.map(d.clone)),e=Object(f.applyFilters)("editor.Autocomplete.completers",e,t)),e}),[r,t]),Object(l.createElement)(v.Autocomplete,Object(i.a)({},e,{completers:r}))},Ur=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M4.2 9h1.5V5.8H9V4.2H4.2V9zm14 9.2H15v1.5h4.8V15h-1.5v3.2zM15 4.2v1.5h3.2V9h1.5V4.2H15zM5.8 15H4.2v4.8H9v-1.5H5.8V15z"}));var Wr=function(e){var t=e.isActive,n=e.label,r=void 0===n?Object(w.__)("Toggle full height"):n,o=e.onToggle,c=e.isDisabled;return Object(l.createElement)(v.ToolbarGroup,null,Object(l.createElement)(v.ToolbarButton,{isActive:t,icon:Ur,label:r,onClick:function(){return o(!t)},disabled:c}))};var Kr=function(e){var t=e.label,n=void 0===t?Object(w.__)("Change matrix alignment"):t,r=e.onChange,o=void 0===r?d.noop:r,c=e.value,i=void 0===c?"center":c,a=e.isDisabled,s=Object(l.createElement)(v.__experimentalAlignmentMatrixControl.Icon,{value:i}),u="block-editor-block-alignment-matrix-toolbar",b="".concat(u,"__popover");return Object(l.createElement)(v.Dropdown,{position:"bottom right",className:u,popoverProps:{className:b,isAlternate:!0},renderToggle:function(e){var t=e.onToggle,r=e.isOpen;return Object(l.createElement)(v.ToolbarGroup,null,Object(l.createElement)(v.ToolbarButton,{onClick:t,"aria-haspopup":"true","aria-expanded":r,onKeyDown:function(e){r||e.keyCode!==Ht.DOWN||(e.preventDefault(),e.stopPropagation(),t())},label:n,icon:s,showTooltip:!0,disabled:a}))},renderContent:function(){return Object(l.createElement)(v.__experimentalAlignmentMatrixControl,{hasFocusBorder:!1,onChange:o,value:i})}})},qr={insertUsage:{}},$r={alignWide:!1,colors:[{name:Object(w.__)("Black"),slug:"black",color:"#000000"},{name:Object(w.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(w.__)("White"),slug:"white",color:"#ffffff"},{name:Object(w.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(w.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(w.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(w.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(w.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(w.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(w.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(w.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(w.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:Object(w._x)("Small","font size name"),size:13,slug:"small"},{name:Object(w._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(w._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(w._x)("Large","font size name"),size:36,slug:"large"},{name:Object(w._x)("Huge","font size name"),size:42,slug:"huge"}],imageSizes:[{slug:"thumbnail",name:Object(w.__)("Thumbnail")},{slug:"medium",name:Object(w.__)("Medium")},{slug:"large",name:Object(w.__)("Large")},{slug:"full",name:Object(w.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],__experimentalSpotlightEntityBlocks:[],gradients:[{name:Object(w.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:Object(w.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:Object(w.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:Object(w.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:Object(w.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:Object(w.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:Object(w.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(w.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:Object(w.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:Object(w.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:Object(w.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(w.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function Yr(e,t,n){return[].concat(Object(pe.a)(e.slice(0,n)),Object(pe.a)(Object(d.castArray)(t)),Object(pe.a)(e.slice(n)))}function Xr(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(pe.a)(e);return o.splice(t,r),Yr(o,e.slice(t,t+r),n)}function Qr(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 Zr(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=Object(a.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Jr(o,r))})),n}function eo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(a.a)({},n.clientId,t),eo(n.innerBlocks,n.clientId))}),{})}function to(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.identity,n={},r=Object(pe.a)(e);r.length;){var o=r.shift(),c=o.innerBlocks,i=Object(Fe.a)(o,["innerBlocks"]);r.push.apply(r,Object(pe.a)(c)),n[i.clientId]=t(i)}return n}function no(e){return to(e,(function(e){return Object(d.omit)(e,"attributes")}))}function ro(e){return to(e,(function(e){return e.attributes}))}function oo(e,t){return e===t?Zr({},e):t}function co(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&Object(d.isEqual)(e.clientIds,t.clientIds)&&(n=e.attributes,r=t.attributes,Object(d.isEqual)(Object(d.keys)(n),Object(d.keys)(r)));var n,r}var io=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var ao=Object(d.flow)(m.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Zr({},t)).attributes=Object(d.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Zr(Zr({},e),{},{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r&&!t.controlledInnerBlocks[r]);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(d.mapValues)(to(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var c=Object(d.keys)(to(n.blocks));n.rootClientId&&!t.controlledInnerBlocks[n.rootClientId]&&c.push(n.rootClientId),r.cache=Zr(Zr({},r.cache),io(o(c)));break;case"UPDATE_BLOCK":r.cache=Zr(Zr({},r.cache),io(o([n.clientId])));break;case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Zr(Zr({},r.cache),io(o(n.clientIds)));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var i=io(o(n.replacedClientIds));r.cache=Zr(Zr(Zr({},Object(d.omit)(r.cache,n.replacedClientIds)),Object(d.omit)(i,n.replacedClientIds)),io(Object(d.keys)(to(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Zr(Zr({},Object(d.omit)(r.cache,n.removedClientIds)),io(Object(d.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCKS_TO_POSITION":var a=Object(pe.a)(n.clientIds);n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Zr(Zr({},r.cache),io(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Zr(Zr({},r.cache),io(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(d.keys)(Object(d.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Zr(Zr({},r.cache),io(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var r=e,o=0;o1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(d.reduce)(t[n],(function(n,o){return r[o]?n:[].concat(Object(pe.a)(n),[o],Object(pe.a)(e(t,o)))}),[])}(t.order,"",t.controlledInnerBlocks),o=Object.keys(Object(d.pickBy)(t.controlledInnerBlocks));return Zr(Zr({},t),{},{byClientId:Zr(Zr({},Object(d.omit)(t.byClientId,r)),no(n.blocks)),attributes:Zr(Zr({},Object(d.omit)(t.attributes,r)),ro(n.blocks)),order:Zr(Zr({},Object(d.omit)(t.order,r)),Object(d.omit)(Jr(n.blocks),o)),parents:Zr(Zr({},Object(d.omit)(t.parents,r)),eo(n.blocks)),cache:Zr(Zr({},Object(d.omit)(t.cache,r)),Object(d.omit)(Object(d.mapValues)(to(n.blocks),(function(){return{}})),o))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var c=e(r,o),i="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===c&&!i){var a;n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var l=null===(a=null==r?void 0:r.isPersistentChange)||void 0===a||a;return r.isPersistentChange===l?r:Zr(Zr({},c),{},{isPersistentChange:l})}return c=Zr(Zr({},c),{},{isPersistentChange:i?!n:!co(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,c}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return no(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Zr(Zr({},e),no(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(d.omit)(t.updates,"attributes");return Object(d.isEmpty)(n)?e:Zr(Zr({},e),{},Object(a.a)({},t.clientId,Zr(Zr({},e[t.clientId]),n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Zr(Zr({},Object(d.omit)(e,t.replacedClientIds)),no(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ro(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Zr(Zr({},e),ro(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Zr(Zr({},e),{},Object(a.a)({},t.clientId,Zr(Zr({},e[t.clientId]),t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(t.clientIds.every((function(t){return!e[t]})))return e;var n=t.clientIds.reduce((function(n,r){return Zr(Zr({},n),{},Object(a.a)({},r,Object(d.reduce)(t.attributes,(function(t,n,o){return n!==t[o]&&((t=oo(e[r],t))[o]=n),t}),e[r])))}),{});return t.clientIds.every((function(t){return n[t]===e[t]}))?e:Zr(Zr({},e),n);case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Zr(Zr({},Object(d.omit)(e,t.replacedClientIds)),ro(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Jr(t.blocks);case"RECEIVE_BLOCKS":return Zr(Zr({},e),Object(d.omit)(Jr(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],c=Jr(t.blocks,r),i=t.index,l=void 0===i?o.length:i;return Zr(Zr(Zr({},e),c),{},Object(a.a)({},r,Yr(o,c[r],l)));case"MOVE_BLOCKS_TO_POSITION":var s,u=t.fromRootClientId,b=void 0===u?"":u,f=t.toRootClientId,p=void 0===f?"":f,m=t.clientIds,v=t.index,g=void 0===v?e[p].length:v;if(b===p){var O=e[p],h=O.indexOf(m[0]);return Zr(Zr({},e),{},Object(a.a)({},p,Xr(e[p],h,g,m.length)))}return Zr(Zr({},e),{},(s={},Object(a.a)(s,b,d.without.apply(void 0,[e[b]].concat(Object(pe.a)(m)))),Object(a.a)(s,p,Yr(e[p],m,g)),s));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(d.first)(j),E=e[y];if(!E.length||_===Object(d.first)(E))return e;var C=E.indexOf(_);return Zr(Zr({},e),{},Object(a.a)({},y,Xr(E,C,C-1,j.length)));case"MOVE_BLOCKS_DOWN":var w=t.clientIds,S=t.rootClientId,B=void 0===S?"":S,I=Object(d.first)(w),x=Object(d.last)(w),P=e[B];if(!P.length||x===Object(d.last)(P))return e;var T=P.indexOf(I);return Zr(Zr({},e),{},Object(a.a)({},B,Xr(P,T,T+1,w.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var D=Jr(t.blocks);return Object(d.flow)([function(e){return Object(d.omit)(e,t.replacedClientIds)},function(e){return Zr(Zr({},e),Object(d.omit)(D,""))},function(e){return Object(d.mapValues)(e,(function(e){return Object(d.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(pe.a)(e),Object(pe.a)(D[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.flow)([function(e){return Object(d.omit)(e,t.removedClientIds)},function(e){return Object(d.mapValues)(e,(function(e){return d.without.apply(void 0,[e].concat(Object(pe.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return eo(t.blocks);case"RECEIVE_BLOCKS":return Zr(Zr({},e),eo(t.blocks));case"INSERT_BLOCKS":return Zr(Zr({},e),eo(t.blocks,t.rootClientId||""));case"MOVE_BLOCKS_TO_POSITION":return Zr(Zr({},e),t.clientIds.reduce((function(e,n){return e[n]=t.toRootClientId||"",e}),{}));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Zr(Zr({},Object(d.omit)(e,t.replacedClientIds)),eo(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(d.omit)(e,t.removedClientIds)}return e},controlledInnerBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.clientId,o=t.hasControlledInnerBlocks;return"SET_HAS_CONTROLLED_INNER_BLOCKS"===n?Zr(Zr({},e),{},Object(a.a)({},r,o)):e}});function lo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection&&t.blocks.length?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];if(!r)return{};if(r.clientId===e.clientId)return e;var o={clientId:r.clientId};return"number"==typeof t.initialPosition&&(o.initialPosition=t.initialPosition),o}return e}function so(e,t,n){switch(t.type){case"CLEAR_SELECTED_BLOCK":case"SELECT_BLOCK":case"SELECTION_CHANGE":case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":case"REMOVE_BLOCKS":case"REPLACE_BLOCKS":return n}return e}var uo=Object(m.combineReducers)({blocks:ao,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},draggedBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selection:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"SELECTION_CHANGE":return{selectionStart:{clientId:r.clientId,attributeKey:r.attributeKey,offset:r.startOffset},selectionEnd:{clientId:r.clientId,attributeKey:r.attributeKey,offset:r.endOffset}};case"RESET_SELECTION":var o=r.selectionStart,c=r.selectionEnd;return{selectionStart:o,selectionEnd:c};case"MULTI_SELECT":var i=r.start,a=r.end;return{selectionStart:{clientId:i},selectionEnd:{clientId:a}};case"RESET_BLOCKS":var l=null==n||null===(e=n.selectionStart)||void 0===e?void 0:e.clientId,s=null==n||null===(t=n.selectionEnd)||void 0===t?void 0:t.clientId;if(!l&&!s)return n;if(!r.blocks.some((function(e){return e.clientId===l})))return{selectionStart:{},selectionEnd:{}};if(!r.blocks.some((function(e){return e.clientId===s})))return Zr(Zr({},n),{},{selectionEnd:n.selectionStart})}return{selectionStart:lo(n.selectionStart,r),selectionEnd:lo(n.selectionEnd,r)}},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"REPLACE_BLOCKS"===t.type&&"number"==typeof t.initialPosition||"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type||"START_TYPING"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Zr(Zr({},e),{},Object(a.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(d.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(d.isEqual)(e[n],t.settings)?e:Zr(Zr({},e),{},Object(a.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(d.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_INSERTION_POINT":case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r}}return so(e,t,null)},insertionPointVisibility:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return!0;case"HIDE_INSERTION_POINT":return!1}return so(e,t,!1)},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Zr(Zr({},e),{},{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$r,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Zr(Zr({},e),t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qr,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(p.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Zr(Zr({},e),{},{insertUsage:Zr(Zr({},e.insertUsage),{},Object(a.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(a.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((function(e,n){return Zr(Zr({},e),{},Object(a.a)({},n,t.attributes))}),{})}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},hasBlockMovingClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"SET_BLOCK_MOVING_MODE"===t.type?t.hasBlockMovingClientId:"SET_NAVIGATION_MODE"===t.type?null:e},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"START_TYPING":case"STOP_TYPING":return e}},highlightedBlock:function(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":var n=t.clientId;return t.isHighlighted?n:e===n?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}}),bo=n(42),fo=n(41);function po(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return mo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mo(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function mo(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]:"";return Object(d.map)(ic(e,t),(function(t){return wo(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Bo=function e(t,n){return Object(d.flatMap)(n,(function(n){var r=ic(t,n);return[].concat(Object(pe.a)(r),Object(pe.a)(e(t,r)))}))},Io=Object(fo.a)((function(e){var t=ic(e);return[].concat(Object(pe.a)(t),Object(pe.a)(Bo(e,t)))}),(function(e){return[e.blocks.order]})),xo=Object(fo.a)((function(e,t){var n=Io(e);return t?Object(d.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),Po=Object(fo.a)((function(e,t){return Object(d.map)(Object(d.castArray)(t),(function(t){return _o(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function To(e,t){return ic(e,t).length}function No(e){return e.selection.selectionStart}function Do(e){return e.selection.selectionEnd}function Ao(e){return e.selection.selectionStart.clientId}function Ro(e){return e.selection.selectionEnd.clientId}function Lo(e){var t=Qo(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function Mo(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return!!n.clientId&&n.clientId===r.clientId}function Fo(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd,o=n.clientId;return o&&o===r.clientId?o:null}function Vo(e){var t=Fo(e);return t?_o(e,t):null}function Ho(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var zo=Object(fo.a)((function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]})),Go=Object(fo.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=zo(e,t,r);return Object(d.map)(Object(d.filter)(Object(d.map)(o,(function(t){return{id:t,name:jo(e,t)}})),(function(e){var t=e.name;return Array.isArray(n)?n.includes(t):t===n})),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Uo(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Wo(e,t){for(var n,r=Fo(e),o=[].concat(Object(pe.a)(zo(e,t)),[t]),c=[].concat(Object(pe.a)(zo(e,r)),[r]),i=Math.min(o.length,c.length),a=0;a2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Fo(e)),void 0===t&&(t=n<0?Jo(e):ec(e)),!t)return null;var r=Ho(e,t);if(null===r)return null;var o=e.blocks.order,c=o[r],i=c.indexOf(t),a=i+1*n;return a<0||a===c.length?null:c[a]}function qo(e,t){return Ko(e,t,-1)}function $o(e,t){return Ko(e,t,1)}function Yo(e){return e.initialPosition}var Xo=Object(fo.a)((function(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;if(void 0===n.clientId||void 0===r.clientId)return ho;if(n.clientId===r.clientId)return[n.clientId];var o=Ho(e,n.clientId);if(null===o)return ho;var c=ic(e,o),i=c.indexOf(n.clientId),a=c.indexOf(r.clientId);return i>a?c.slice(a,i+1):c.slice(i,a+1)}),(function(e){return[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]}));function Qo(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return n.clientId===r.clientId?ho:Xo(e)}var Zo=Object(fo.a)((function(e){var t=Qo(e);return t.length?t.map((function(t){return _o(e,t)})):ho}),(function(e){return[].concat(Object(pe.a)(Xo.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Jo(e){return Object(d.first)(Qo(e))||null}function ec(e){return Object(d.last)(Qo(e))||null}function tc(e,t){return Jo(e)===t}function nc(e,t){return-1!==Qo(e).indexOf(t)}var rc=Object(fo.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=nc(e,n=Ho(e,n));return r}),(function(e){return[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]}));function oc(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return n.clientId===r.clientId?null:n.clientId||null}function cc(e){var t=e.selection,n=t.selectionStart,r=t.selectionEnd;return n.clientId===r.clientId?null:r.clientId||null}function ic(e,t){return e.blocks.order[t||""]||ho}function ac(e,t,n){return ic(e,n).indexOf(t)}function lc(e,t){var n=e.selection,r=n.selectionStart,o=n.selectionEnd;return r.clientId===o.clientId&&r.clientId===t}function sc(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(d.some)(ic(e,t),(function(t){return lc(e,t)||nc(e,t)||n&&sc(e,t,n)}))}function uc(e,t){if(!t)return!1;var n=Qo(e),r=n.indexOf(t);return r>-1&&r2&&void 0!==arguments[2]?arguments[2]:null,o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(d.isBoolean)(e)?e:Object(d.isArray)(e)?!(!e.includes("core/post-content")||null!==t)||e.includes(t):n};if(t&&"object"===Object(bo.a)(t)?t=(n=t).name:n=Object(p.getBlockType)(t),!n)return!1;var c=Fc(e),i=c.allowedBlockTypes,a=o(i,t,!0);if(!a)return!1;var l=!!Cc(e,r);if(l)return!1;var s=Mc(e,r);if(r&&void 0===s)return!1;var u=null==s?void 0:s.allowedBlocks,b=o(u,t),f=n.parent,m=jo(e,r),v=o(f,m);return null!==b&&null!==v?b||v:null!==b?b:null===v||v},Sc=Object(fo.a)(wc,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Bc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.every((function(t){return Sc(e,jo(e,t),n)}))}function Ic(e,t){var n,r;return null!==(n=null===(r=e.preferences.insertUsage)||void 0===r?void 0:r[t])&&void 0!==n?n:null}var xc=function(e,t,n){return!!Object(p.hasBlockSupport)(t,"inserter",!0)&&wc(e,t.name,n)},Pc=function(e){return function(t){return go(go({},e),{},{id:"".concat(e.id,"-").concat(t.name),icon:t.icon||e.icon,title:t.title||e.title,description:t.description||e.description,category:t.category||e.category,example:t.hasOwnProperty("example")?t.example:e.example,initialAttributes:go(go({},e.initialAttributes),t.attributes),innerBlocks:t.innerBlocks,keywords:t.keywords||e.keywords})}},Tc=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},Nc=function(e,t){var n=t.buildScope,r=void 0===n?"inserter":n;return function(t){var n=t.name,o=!1;Object(p.hasBlockSupport)(t.name,"multiple",!0)||(o=Object(d.some)(Po(e,Io(e)),{name:t.name}));var c=Ic(e,n)||{},i=c.time,a=c.count,l=void 0===a?0:a,s={id:n,name:t.name,title:t.title,icon:t.icon,isDisabled:o,frecency:Tc(i,l)};if("transform"===r)return s;var u=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return go(go({},s),{},{initialAttributes:{},description:t.description,category:t.category,keywords:t.keywords,variations:u,example:t.example,utility:1})}},Dc=Object(fo.a)((function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=Nc(e,{buildScope:"inserter"}),o=function(t){var n,r="core/block/".concat(t.id),o=zc(e,t.id);1===o.length&&(n=Object(p.getBlockType)(o[0].name));var c=Ic(e,r)||{},i=c.time,a=c.count,l=Tc(i,void 0===a?0:a);return{id:r,name:"core/block",initialAttributes:{ref:t.id},title:t.title.raw,icon:n?n.icon:Oo,category:"reusable",keywords:[],isDisabled:!1,utility:1,frecency:l}},c=Object(p.getBlockTypes)().filter((function(t){return xc(e,t,n)})).map(r),i=wc(e,"core/block",n)?Kc(e).map(o):[],a=c.filter((function(e){var t=e.variations;return!(void 0===t?[]:t).some((function(e){return e.isDefault}))})),l=[],s=po(c);try{for(s.s();!(t=s.n()).done;){var u=t.value,d=u.variations,b=void 0===d?[]:d;if(b.length){var f=Pc(u);l.push.apply(l,Object(pe.a)(b.map(f)))}}}catch(e){s.e(e)}finally{s.f()}return[].concat(Object(pe.a)(a),l,Object(pe.a)(i))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Kc(e),Object(p.getBlockTypes)()]})),Ac=Object(fo.a)((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=Nc(e,{buildScope:"transform"}),o=Object(p.getBlockTypes)().filter((function(t){return xc(e,t,n)})).map(r),c=Object(d.mapKeys)(o,(function(e){return e.name})),i=Object(p.getPossibleBlockTransformations)(t).reduce((function(e,t){return c[null==t?void 0:t.name]&&e.push(c[t.name]),e}),[]),a=Object(d.orderBy)(i,(function(e){return c[e.name].frecency}),"desc");return a}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Object(p.getBlockTypes)()]})),Rc=Object(fo.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(d.some)(Object(p.getBlockTypes)(),(function(n){return xc(e,n,t)}));if(n)return!0;var r=wc(e,"core/block",t)&&Kc(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Kc(e),Object(p.getBlockTypes)()]})),Lc=Object(fo.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(d.filter)(Object(p.getBlockTypes)(),(function(n){return xc(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(p.getBlockTypes)()]}));function Mc(e,t){return e.blockListSettings[t]}function Fc(e){return e.settings}function Vc(e){return e.blocks.isPersistentChange}var Hc=Object(fo.a)((function(e,t){return Object(d.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),zc=Object(fo.a)((function(e,t){var n=Object(d.find)(Kc(e),(function(e){return e.id===t}));return n?Object(p.parse)("string"==typeof n.content.raw?n.content.raw:n.content):null}),(function(e){return[Kc(e)]})),Gc=Object(fo.a)((function(e,t){var n,r=Object(d.find)(Kc(e),(function(e){return e.id===t}));return r?null===(n=r.title)||void 0===n?void 0:n.raw:null}),(function(e){return[Kc(e)]}));function Uc(e){return e.blocks.isIgnoredChange}function Wc(e){return e.lastBlockAttributesChange}function Kc(e){var t,n;return null!==(t=null==e||null===(n=e.settings)||void 0===n?void 0:n.__experimentalReusableBlocks)&&void 0!==t?t:ho}function qc(e){return e.isNavigationMode}function $c(e){return e.hasBlockMovingClientId}function Yc(e){return!!e.automaticChangeStatus}function Xc(e,t){return e.highlightedBlock===t}function Qc(e,t){return!!e.blocks.controlledInnerBlocks[t]}var Zc=Object(fo.a)((function(e,t){if(!t.length)return null;var n=Fo(e);if(t.includes(jo(e,n)))return n;var r=Qo(e),o=Go(e,n||r[0],t);return o?Object(d.last)(o):null}),(function(e,t){return[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]})),Jc=n(16),ei=n.n(Jc),ti={SLEEP:function(e){var t=e.duration;return new Promise((function(e){setTimeout(e,t)}))},MARK_AUTOMATIC_CHANGE_FINAL_CONTROL:Object(m.createRegistryControl)((function(e){return function(){var t=window.requestIdleCallback;(void 0===t?function(e){return setTimeout(e,100)}:t)((function(){return e.dispatch("core/block-editor").__unstableMarkAutomaticChangeFinal()}))}}))};function ni(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ri(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ri(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function ri(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]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Di(e){var t;return ei.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,m.controls.select("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,Ni(t,-1);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),si)}function Ai(e){var t;return ei.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,m.controls.select("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=7;break}return n.next=6,Ni(t);case 6:return n.abrupt("return",[t]);case 7:case"end":return n.stop()}}),ui)}function Ri(){return{type:"START_MULTI_SELECT"}}function Li(){return{type:"STOP_MULTI_SELECT"}}function Mi(e,t){var n;return ei.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{type:"MULTI_SELECT",start:e,end:t};case 2:return r.next=4,m.controls.select("core/block-editor","getSelectedBlockCount");case 4:n=r.sent,Object(ot.speak)(Object(w.sprintf)(Object(w._n)("%s block selected.","%s blocks selected.",n),n),"assertive");case 6:case"end":return r.stop()}}),di)}function Fi(){return{type:"CLEAR_SELECTED_BLOCK"}}function Vi(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Hi(e,t){var n,r,o=null!==(n=null==t||null===(r=t.__experimentalPreferredStyleVariations)||void 0===r?void 0:r.value)&&void 0!==n?n:{};return e.map((function(e){var t,n=e.name;if(!Object(p.hasBlockSupport)(n,"defaultStylePicker",!0))return e;if(!o[n])return e;var r=null===(t=e.attributes)||void 0===t?void 0:t.className;if(null!=r&&r.includes("is-style-"))return e;var c=e.attributes,i=void 0===c?{}:c,a=o[n];return ci(ci({},e),{},{attributes:ci(ci({},i),{},{className:"".concat(r||""," is-style-").concat(a).trim()})})}))}function zi(e,t,n,r,o){var c,i,a;return ei.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return e=Object(d.castArray)(e),l.t0=Hi,l.t1=Object(d.castArray)(t),l.next=5,m.controls.select("core/block-editor","getSettings");case 5:return l.t2=l.sent,t=(0,l.t0)(l.t1,l.t2),l.next=9,m.controls.select("core/block-editor","getBlockRootClientId",Object(d.first)(e));case 9:c=l.sent,i=0;case 11:if(!(i1&&void 0!==i[1]?i[1]:"",n=i.length>2&&void 0!==i[2]?i[2]:"",r=i.length>3?i[3]:void 0,a.next=5,m.controls.select("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=a.sent)){a.next=8;break}return a.abrupt("return");case 8:if(c={type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientIds:e,index:r},t!==n){a.next=13;break}return a.next=12,c;case 12:return a.abrupt("return");case 13:if("insert"!==o){a.next=15;break}return a.abrupt("return");case 15:return a.next=17,m.controls.select("core/block-editor","canInsertBlocks",e,n);case 17:if(!a.sent){a.next=21;break}return a.next=21,c;case 21:case"end":return a.stop()}}),fi)}function $i(e){var t,n,r,o=arguments;return ei.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=o.length>1&&void 0!==o[1]?o[1]:"",n=o.length>2&&void 0!==o[2]?o[2]:"",r=o.length>3?o[3]:void 0,c.next=5,qi([e],t,n,r);case 5:case"end":return c.stop()}}),pi)}function Yi(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Xi([e],t,n,r)}function Xi(e,t,n){var r,o,c,i,a,l,s=arguments;return ei.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return r=!(s.length>3&&void 0!==s[3])||s[3],o=s.length>4?s[4]:void 0,u.t0=Hi,u.t1=Object(d.castArray)(e),u.next=6,m.controls.select("core/block-editor","getSettings");case 6:u.t2=u.sent,e=(0,u.t0)(u.t1,u.t2),c=[],i=ni(e),u.prev=10,i.s();case 12:if((a=i.n()).done){u.next=20;break}return l=a.value,u.next=16,m.controls.select("core/block-editor","canInsertBlockType",l.name,n);case 16:u.sent&&c.push(l);case 18:u.next=12;break;case 20:u.next=25;break;case 22:u.prev=22,u.t3=u.catch(10),i.e(u.t3);case 25:return u.prev=25,i.f(),u.finish(25);case 28:if(!c.length){u.next=30;break}return u.abrupt("return",{type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:n,time:Date.now(),updateSelection:r,meta:o});case 30:case"end":return u.stop()}}),mi,null,[[10,22,25,28]])}function Qi(e,t){return{type:"SET_INSERTION_POINT",rootClientId:e,index:t}}function Zi(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Ji(){return{type:"HIDE_INSERTION_POINT"}}function ea(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ta(){var e,t,n;return ei.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,{type:"SYNCHRONIZE_TEMPLATE"};case 2:return r.next=4,m.controls.select("core/block-editor","getBlocks");case 4:return e=r.sent,r.next=7,m.controls.select("core/block-editor","getTemplate");case 7:return t=r.sent,n=Object(p.synchronizeBlocksWithTemplate)(e,t),r.next=11,Si(n);case 11:return r.abrupt("return",r.sent);case 12:case"end":return r.stop()}}),vi)}function na(e,t){var n,r,o,i,a,l,s,u,b,f,v,g,O,h,j,k,y,_,E,C,w,S,B,I,x,P,T,N,D,A,R,L,M,F;return ei.a.wrap((function(V){for(;;)switch(V.prev=V.next){case 0:return n=[e,t],V.next=3,{type:"MERGE_BLOCKS",blocks:n};case 3:return r=n[0],o=n[1],V.next=6,m.controls.select("core/block-editor","getBlock",r);case 6:if(i=V.sent,(a=Object(p.getBlockType)(i.name)).merge){V.next=12;break}return V.next=11,Ni(i.clientId);case 11:return V.abrupt("return");case 12:return V.next=14,m.controls.select("core/block-editor","getBlock",o);case 14:return l=V.sent,s=Object(p.getBlockType)(l.name),V.next=18,m.controls.select("core/block-editor","getSelectionStart");case 18:if(u=V.sent,b=u.clientId,f=u.attributeKey,v=u.offset,g=(b===r?a:s).attributes[f],O=(b===r||b===o)&&void 0!==f&&void 0!==v&&!!g,g||("number"==typeof f?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(Object(bo.a)(f))):window.console.error("The RichText identifier prop does not match any attributes defined by the block.")),h="†",j=Object(p.cloneBlock)(i),k=Object(p.cloneBlock)(l),O&&(_=(y=b===r?j:k).attributes[f],E=g.multiline,C=g.__unstableMultilineWrapperTags,w=g.__unstablePreserveWhiteSpace,S=Object(c.insert)(Object(c.create)({html:_,multilineTag:E,multilineWrapperTags:C,preserveWhiteSpace:w}),h,v,v),y.attributes[f]=Object(c.toHTMLString)({value:S,multilineTag:E,preserveWhiteSpace:w})),(B=i.name===l.name?[k]:Object(p.switchToBlockType)(k,i.name))&&B.length){V.next=33;break}return V.abrupt("return");case 33:if(I=a.merge(j.attributes,B[0].attributes),!O){V.next=45;break}return x=Object(d.findKey)(I,(function(e){return"string"==typeof e&&-1!==e.indexOf(h)})),P=I[x],T=a.attributes[x],N=T.multiline,D=T.__unstableMultilineWrapperTags,A=T.__unstablePreserveWhiteSpace,R=Object(c.create)({html:P,multilineTag:N,multilineWrapperTags:D,preserveWhiteSpace:A}),L=R.text.indexOf(h),M=Object(c.remove)(R,L,L+1),F=Object(c.toHTMLString)({value:M,multilineTag:N,preserveWhiteSpace:A}),I[x]=F,V.next=45,fa(i.clientId,x,L,L);case 45:return V.delegateYield(zi([i.clientId,l.clientId],[ci(ci({},i),{},{attributes:ci(ci({},i.attributes),I)})].concat(Object(pe.a)(B.slice(1)))),"t0",46);case 46:case"end":return V.stop()}}),gi)}function ra(e){var t,n,r,o,c=arguments;return ei.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=!(c.length>1&&void 0!==c[1])||c[1],e&&e.length){i.next=3;break}return i.abrupt("return");case 3:return e=Object(d.castArray)(e),i.next=6,m.controls.select("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=i.sent,i.next=9,m.controls.select("core/block-editor","getTemplateLock",n);case 9:if(!i.sent){i.next=12;break}return i.abrupt("return");case 12:if(!t){i.next=18;break}return i.next=15,Di(e[0]);case 15:r=i.sent,i.next=21;break;case 18:return i.next=20,m.controls.select("core/block-editor","getPreviousBlockClientId",e[0]);case 20:r=i.sent;case 21:return i.next=23,{type:"REMOVE_BLOCKS",clientIds:e};case 23:return i.delegateYield(wi(),"t0",24);case 24:return o=i.t0,i.abrupt("return",[r||o]);case 26:case"end":return i.stop()}}),Oi)}function oa(e,t){return ra([e],t)}function ca(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function ia(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function aa(){return{type:"START_TYPING"}}function la(){return{type:"STOP_TYPING"}}function sa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function ua(){return{type:"STOP_DRAGGING_BLOCKS"}}function da(){return{type:"ENTER_FORMATTED_TEXT"}}function ba(){return{type:"EXIT_FORMATTED_TEXT"}}function fa(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function pa(e,t,n){var r=Object(p.getDefaultBlockName)();if(r)return Yi(Object(p.createBlock)(r,e),n,t)}function ma(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function va(e){return{type:"UPDATE_SETTINGS",settings:e}}function ga(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Oa(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function ha(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function ja(){return ei.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"MARK_AUTOMATIC_CHANGE"};case 2:return e.next=4,{type:"MARK_AUTOMATIC_CHANGE_FINAL_CONTROL"};case 4:case"end":return e.stop()}}),hi)}function ka(){return{type:"MARK_AUTOMATIC_CHANGE_FINAL"}}function ya(){var e,t=arguments;return ei.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(ot.speak)(Object(w.__)("You are currently in navigation mode. Navigate blocks using the Tab key and Arrow keys. Use Left and Right Arrow keys to move between nesting levels. To exit navigation mode and edit the selected block, press Enter.")):Object(ot.speak)(Object(w.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),ji)}function _a(){var e,t=arguments;return ei.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.length>0&&void 0!==t[0]?t[0]:null,n.next=3,{type:"SET_BLOCK_MOVING_MODE",hasBlockMovingClientId:e};case 3:e&&Object(ot.speak)(Object(w.__)("Use the Tab key and Arrow keys to choose new block location. Use Left and Right Arrow keys to move between nesting levels. Once location is selected press Enter or Space to move the block."));case 4:case"end":return n.stop()}}),ki)}function Ea(e){var t,n,r,o,c,i,a=arguments;return ei.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(t=!(a.length>1&&void 0!==a[1])||a[1],e||e.length){l.next=3;break}return l.abrupt("return");case 3:return l.next=5,m.controls.select("core/block-editor","getBlocksByClientId",e);case 5:return n=l.sent,l.next=8,m.controls.select("core/block-editor","getBlockRootClientId",e[0]);case 8:if(r=l.sent,!Object(d.some)(n,(function(e){return!e}))){l.next=11;break}return l.abrupt("return");case 11:if(o=n.map((function(e){return e.name})),!Object(d.some)(o,(function(e){return!Object(p.hasBlockSupport)(e,"multiple",!0)}))){l.next=14;break}return l.abrupt("return");case 14:return l.next=16,m.controls.select("core/block-editor","getBlockIndex",Object(d.last)(Object(d.castArray)(e)),r);case 16:return c=l.sent,i=n.map((function(e){return Object(p.cloneBlock)(e)})),l.next=20,Xi(i,c+1,r,t);case 20:if(!(i.length>1&&t)){l.next=23;break}return l.next=23,Mi(Object(d.first)(i).clientId,Object(d.last)(i).clientId);case 23:return l.abrupt("return",i.map((function(e){return e.clientId})));case 24:case"end":return l.stop()}}),yi)}function Ca(e){var t,n;return ei.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,m.controls.select("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,m.controls.select("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,m.controls.select("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,pa({},t,n);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),_i)}function wa(e){var t,n;return ei.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,m.controls.select("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,m.controls.select("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,m.controls.select("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,pa({},t,n+1);case 15:return r.abrupt("return",r.sent);case 16:case"end":return r.stop()}}),Ei)}function Sa(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}function Ba(e){return ei.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Sa(e,!0);case 2:return t.next=4,{type:"SLEEP",duration:150};case 4:return t.next=6,Sa(e,!1);case 6:case"end":return t.stop()}}),Ci)}function Ia(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function xa(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 Pa(e){for(var t=1;t1||Object(p.hasBlockSupport)(o,"lightBlockWrapper",!1))return Object(l.createElement)(s,Object(i.a)({},e,{context:a}));var b=Object(p.hasBlockSupport)(o,"className",!0)?Object(p.getBlockDefaultClassName)(r):null,f=u()(b,n.className);return Object(l.createElement)(s,Object(i.a)({},e,{context:a,className:f}))}));function qa(e){var t={name:e.name,isSelected:e.isSelected,clientId:e.clientId,onFocus:e.onFocus,onCaretVerticalPositionChange:e.onCaretVerticalPositionChange};return Object(l.createElement)(O,{value:Object(l.useMemo)((function(){return t}),Object.values(t))},Object(l.createElement)(Ka,e))}var $a=Object(v.createSlotFill)("BlockFormatControls"),Ya=$a.Fill,Xa=$a.Slot;var Qa=function(e){return h().isSelected?Object(l.createElement)(Ya,null,(function(t){var n=Object(d.isEmpty)(t)?null:t;return Object(l.createElement)(v.__experimentalToolbarContext.Provider,{value:n},e.children)})):null};Qa.Slot=function(e){var t=Object(l.useContext)(v.__experimentalToolbarContext);return Object(l.createElement)(Xa,Object(i.a)({},e,{fillProps:t}))};var Za=Qa,Ja=n(46),el=n(47),tl=n(311),nl=n(113),rl=n(27),ol=function(e){return e+1},cl=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var il=function(e,t,n,r,o){var c=Object(b.useReducedMotion)()||!r,i=Object(l.useReducer)(ol,0),a=Object(Me.a)(i,2),s=a[0],u=a[1],d=Object(l.useReducer)(ol,0),f=Object(Me.a)(d,2),p=f[0],m=f[1],v=Object(l.useState)({x:0,y:0}),g=Object(Me.a)(v,2),O=g[0],h=g[1],j=Object(l.useMemo)((function(){return e.current?cl(e.current):null}),[o]),k=Object(l.useMemo)((function(){if(!n||!e.current)return function(){};var t=Object(rl.getScrollContainer)(e.current);if(!t)return function(){};var r=e.current.getBoundingClientRect();return function(){var n=e.current.getBoundingClientRect().top-r.top;n&&(t.scrollTop+=n)}}),[o,n]);function y(n){var r=n.x,o=n.y;r=Math.round(r),o=Math.round(o),r===y.x&&o===y.y||(!function(n){var r=n.x,o=n.y;if(e.current){var c=0===r&&0===o;e.current.style.transformOrigin=c?"":"center",e.current.style.transform=c?"":"translate3d(".concat(r,"px,").concat(o,"px,0)"),e.current.style.zIndex=!t||c?"":"1",k()}}({x:r,y:o}),y.x=r,y.y=o)}Object(l.useLayoutEffect)((function(){s&&m()}),[s]),Object(l.useLayoutEffect)((function(){if(j)if(c)k();else{e.current.style.transform="";var t=cl(e.current);u(),h({x:Math.round(j.left-t.left),y:Math.round(j.top-t.top)})}}),[o]),y.x=0,y.y=0,Object(nl.useSpring)({from:{x:O.x,y:O.y},to:{x:0,y:0},reset:s!==p,config:{mass:5,tension:2e3,friction:200},immediate:c,onFrame:y})},al=Object(nl.animated)(v.__experimentalTreeGridRow);function ll(e){var t=e.isSelected,n=e.position,r=e.level,o=e.rowCount,c=e.children,a=e.className,s=e.path,d=Object(Fe.a)(e,["isSelected","position","level","rowCount","children","className","path"]),b=Object(l.useRef)(null),f=s.join("_"),p=il(b,t,!1,!0,f);return Object(l.createElement)(al,Object(i.a)({ref:b,style:p,className:u()("block-editor-block-navigation-leaf",a),level:r,positionInSet:n,setSize:o},d),c)}var sl=n(218),ul=n(219),dl=n(309),bl=n(310);function fl(e,t,n,r,o,c,i){var a=n+1,l=function(e){return"up"===e?"horizontal"===i?Object(w.isRTL)()?"right":"left":"up":"down"===e?"horizontal"===i?Object(w.isRTL)()?"left":"right":"down":null};if(e>1)return function(e,t,n,r,o){var c=t+1;if(o<0&&n)return Object(w.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(w.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(w.sprintf)(Object(w._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,c);if(o>0&&!r)return Object(w.sprintf)(Object(w._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,c)}(e,n,r,o,c);if(r&&o)return Object(w.sprintf)(Object(w.__)("Block %s is the only block, and cannot be moved"),t);if(c>0&&!o){var s=l("down");if("down"===s)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d down to position %3$d"),t,a,a+1);if("left"===s)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d left to position %3$d"),t,a,a+1);if("right"===s)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d right to position %3$d"),t,a,a+1)}if(c>0&&o){var u=l("down");if("down"===u)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===u)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===u)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(c<0&&!r){var d=l("up");if("up"===d)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d up to position %3$d"),t,a,a-1);if("left"===d)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d left to position %3$d"),t,a,a-1);if("right"===d)return Object(w.sprintf)(Object(w.__)("Move %1$s block from position %2$d right to position %3$d"),t,a,a-1)}if(c<0&&r){var b=l("up");if("up"===b)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(w.sprintf)(Object(w.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var pl=function(e,t){return"up"===e?"horizontal"===t?Object(w.isRTL)()?sl.a:ul.a:dl.a:"down"===e?"horizontal"===t?Object(w.isRTL)()?ul.a:sl.a:bl.a:null},ml=function(e,t){return"up"===e?"horizontal"===t?Object(w.isRTL)()?Object(w.__)("Move right"):Object(w.__)("Move left"):Object(w.__)("Move up"):"down"===e?"horizontal"===t?Object(w.isRTL)()?Object(w.__)("Move left"):Object(w.__)("Move right"):Object(w.__)("Move down"):null},vl=Object(l.forwardRef)((function(e,t){var n=e.clientIds,r=e.direction,o=e.orientation,c=Object(Fe.a)(e,["clientIds","direction","orientation"]),a=Object(b.useInstanceId)(vl),s=Object(d.castArray)(n).length,f=Object(m.useSelect)((function(e){var t=e("core/block-editor"),c=t.getBlockIndex,i=t.getBlockRootClientId,a=t.getBlockOrder,l=t.getBlock,s=t.getBlockListSettings,u=Object(d.castArray)(n),b=Object(d.first)(u),f=i(b),m=c(b,f),v=c(Object(d.last)(u),f),g=a(f),O=l(b),h=0===m,j=v===g.length-1,k=(s(f)||{}).orientation;return{blockType:O?Object(p.getBlockType)(O.name):null,isDisabled:"up"===r?h:j,rootClientId:f,firstIndex:m,isFirst:h,isLast:j,orientation:o||k}}),[n,r]),g=f.blockType,O=f.isDisabled,h=f.rootClientId,j=f.isFirst,k=f.isLast,y=f.firstIndex,_=f.orientation,E=void 0===_?"vertical":_,C=Object(m.useDispatch)("core/block-editor"),w=C.moveBlocksDown,S=C.moveBlocksUp,B="up"===r?S:w,I="block-editor-block-mover-button__description-".concat(a);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.Button,Object(i.a)({ref:t,className:u()("block-editor-block-mover-button","is-".concat(r,"-button")),icon:pl(r,E),label:ml(r,E),"aria-describedby":I},c,{onClick:O?null:function(e){B(n,h),c.onClick&&c.onClick(e)},"aria-disabled":O})),Object(l.createElement)("span",{id:I,className:"block-editor-block-mover-button__description"},fl(s,g&&g.title,y,j,k,"up"===r?-1:1,E)))})),gl=Object(l.forwardRef)((function(e,t){return Object(l.createElement)(vl,Object(i.a)({direction:"up",ref:t},e))})),Ol=Object(l.forwardRef)((function(e,t){return Object(l.createElement)(vl,Object(i.a)({direction:"down",ref:t},e))})),hl=Object(l.createContext)({__experimentalFeatures:!1}),jl=function(){return Object(l.useContext)(hl)},kl=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}));var yl=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(l.createElement)("div",{className:u()(t,"block-editor-warning")},Object(l.createElement)("div",{className:"block-editor-warning__contents"},Object(l.createElement)("p",{className:"block-editor-warning__message"},r),(l.Children.count(n)>0||o)&&Object(l.createElement)("div",{className:"block-editor-warning__actions"},l.Children.count(n)>0&&l.Children.map(n,(function(e,t){return Object(l.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})),o&&Object(l.createElement)(v.DropdownMenu,{className:"block-editor-warning__secondary",icon:kl,label:Object(w.__)("More options"),popoverProps:{position:"bottom left",className:"block-editor-warning__dropdown"},noIcons:!0},(function(){return Object(l.createElement)(v.MenuGroup,null,o.map((function(e,t){return Object(l.createElement)(v.MenuItem,{onClick:e.onClick,key:t},e.title)})))})))))},_l=n(279),El=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,c=e.actionText,i=e.className;return Object(l.createElement)("div",{className:i},Object(l.createElement)("div",{className:"block-editor-block-compare__content"},Object(l.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(l.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(l.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(l.createElement)("div",{className:"block-editor-block-compare__action"},Object(l.createElement)(v.Button,{isSecondary:!0,tabIndex:"0",onClick:o},c)))};var Cl=function(e){var t,n,r,o,c=e.block,i=e.onKeep,a=e.onConvert,s=e.convertor,b=e.convertButtonText,f={rawContent:c.originalContent,renderedContent:Object(p.getSaveElement)(c.name,c.attributes)},m=(t=s(c),n=Object(d.castArray)(t),r=n.map((function(e){return Object(p.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),o=n.map((function(e){return Object(p.getSaveElement)(e.name,e.attributes,e.innerBlocks)})),{rawContent:r.join(""),renderedContent:o}),v=function(e,t){return Object(_l.diffChars)(e,t).map((function(e,t){var n=u()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(l.createElement)("span",{key:t,className:n},e.value)}))}(f.rawContent,m.rawContent);return Object(l.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(l.createElement)(El,{title:Object(w.__)("Current"),className:"block-editor-block-compare__current",action:i,actionText:Object(w.__)("Convert to HTML"),rawContent:f.rawContent,renderedContent:f.renderedContent}),Object(l.createElement)(El,{title:Object(w.__)("After Conversion"),className:"block-editor-block-compare__converted",action:a,actionText:b,rawContent:v,renderedContent:m.renderedContent}))};var wl=function(e){return Object(p.rawHandler)({HTML:e.originalContent})},Sl=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(m.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(p.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(p.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,wl(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(p.createBlock)(t,o,c)))}}}))])((function(e){var t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,i=!!Object(p.getBlockType)("core/html"),a=Object(l.useState)(!1),s=Object(Me.a)(a,2),u=s[0],d=s[1],b=Object(l.useCallback)((function(){return d(!0)}),[]),f=Object(l.useCallback)((function(){return d(!1)}),[]),m=Object(l.useMemo)((function(){return[{title:Object(w._x)("Resolve","imperative verb"),onClick:b},i&&{title:Object(w.__)("Convert to HTML"),onClick:t},{title:Object(w.__)("Convert to Classic Block"),onClick:r}].filter(Boolean)}),[b,t,r]);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(yl,{actions:[Object(l.createElement)(v.Button,{key:"recover",onClick:o,isPrimary:!0},Object(w.__)("Attempt Block Recovery"))],secondaryActions:m},Object(w.__)("This block contains unexpected or invalid content.")),u&&Object(l.createElement)(v.Modal,{title:Object(w.__)("Resolve Block"),onRequestClose:f,className:"block-editor-block-compare"},Object(l.createElement)(Cl,{block:c,onKeep:t,onConvert:n,convertor:wl,convertButtonText:Object(w.__)("Convert to Blocks")})))})),Bl=Object(l.createElement)(yl,{className:"block-editor-block-list__block-crash-warning"},Object(w.__)("This block has encountered an error and cannot be previewed.")),Il=function(){return Bl};function xl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Hn.a)(e);if(t){var o=Object(Hn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Vn.a)(this,n)}}var Pl=function(e){Object(Fn.a)(n,e);var t=xl(n);function n(){var e;return Object(Rn.a)(this,n),(e=t.apply(this,arguments)).state={hasError:!1},e}return Object(Ln.a)(n,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),n}(l.Component),Tl=n(91),Nl=n.n(Tl);var Dl=function(e){var t=e.clientId,n=Object(l.useState)(""),r=Object(Me.a)(n,2),o=r[0],c=r[1],i=Object(m.useSelect)((function(e){return e("core/block-editor").getBlock(t)}),[t]),a=Object(m.useDispatch)("core/block-editor").updateBlock;return Object(l.useEffect)((function(){c(Object(p.getBlockContent)(i))}),[i]),Object(l.createElement)(Nl.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(p.getBlockType)(i.name),n=Object(p.getBlockAttributes)(e,o,i.attributes),r=o||Object(p.getSaveContent)(e,n),l=!o||Object(p.isValidBlockContent)(e,n,r);a(t,{attributes:n,originalContent:r,isValid:l}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})},Al=n(64),Rl=n(216),Ll=[Object(l.createInterpolateElement)(Object(w.__)("While writing, you can press / to quickly insert new blocks."),{kbd:Object(l.createElement)("kbd",null)}),Object(l.createInterpolateElement)(Object(w.__)("Indent a list by pressing space at the beginning of a line."),{kbd:Object(l.createElement)("kbd",null)}),Object(l.createInterpolateElement)(Object(w.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:Object(l.createElement)("kbd",null)}),Object(w.__)("Drag files into the editor to automatically insert media blocks."),Object(w.__)("Change a block's type by pressing the block icon on the toolbar.")];var Ml=function(){var e=Object(l.useState)(Math.floor(Math.random()*Ll.length)),t=Object(Me.a)(e,1)[0];return Object(l.createElement)(v.Tip,null,Ll[t])},Fl=n(159),Vl=n(138),Hl=n(217);var zl=function e(t){var n=t.className,r=t.onChange,o=t.value,c=t.placeholder,i=Object(b.useInstanceId)(e),a=Object(l.useRef)();return Object(l.createElement)("div",{className:u()("block-editor-inserter__search",n)},Object(l.createElement)(v.VisuallyHidden,{as:"label",htmlFor:"block-editor-inserter__search-".concat(i)},c),Object(l.createElement)("input",{ref:a,className:"block-editor-inserter__search-input",id:"block-editor-inserter__search-".concat(i),type:"search",placeholder:c,onChange:function(e){return r(e.target.value)},autoComplete:"off",value:o||""}),Object(l.createElement)("div",{className:"block-editor-inserter__search-icon"},!!o&&Object(l.createElement)(v.Button,{icon:Fl.a,label:Object(w.__)("Reset search"),onClick:function(){r(""),a.current.focus()}}),!o&&Object(l.createElement)(Vl.a,{icon:Hl.a})))},Gl=n(35),Ul=n.n(Gl);var Wl=function(e){var t=e.title,n=e.icon,r=e.description,o=e.blockType;return o&&(Ul()("`blockType` property in `BlockCard component`",{alternative:"`title, icon and description` properties"}),t=o.title,n=o.icon,r=o.description),Object(l.createElement)("div",{className:"block-editor-block-card"},Object(l.createElement)(Vr,{icon:n,showColors:!0}),Object(l.createElement)("div",{className:"block-editor-block-card__content"},Object(l.createElement)("h2",{className:"block-editor-block-card__title"},t),Object(l.createElement)("span",{className:"block-editor-block-card__description"},r)))};function Kl(e){var t=e.clientId,n=void 0===t?null:t,r=e.value,o=e.selectionStart,c=e.selectionEnd,i=e.onChange,a=void 0===i?d.noop:i,s=e.onInput,u=void 0===s?d.noop:s,b=Object(m.useRegistry)(),f=b.dispatch("core/block-editor"),v=f.resetBlocks,g=f.resetSelection,O=f.replaceInnerBlocks,h=f.setHasControlledInnerBlocks,j=f.__unstableMarkNextChangeAsNotPersistent,k=b.select("core/block-editor"),y=k.getBlockName,_=k.getBlocks,E=Object(l.useRef)({incoming:null,outgoing:[]}),C=Object(l.useRef)(!1),w=Object(l.useRef)(u),S=Object(l.useRef)(a);Object(l.useEffect)((function(){w.current=u,S.current=a}),[u,a]),Object(l.useEffect)((function(){E.current.outgoing.includes(r)?Object(d.last)(E.current.outgoing)===r&&(E.current.outgoing=[]):_(n)!==r&&(E.current.outgoing=[],function(){if(r)if(j(),n){h(n,!0),j();var e=r.map((function(e){return Object(p.cloneBlock)(e)}));C.current&&(E.current.incoming=e),O(n,e)}else C.current&&(E.current.incoming=r),v(r)}(),o&&c&&g(o,c))}),[r,n]),Object(l.useEffect)((function(){var e=b.select("core/block-editor"),t=e.getSelectionStart,r=e.getSelectionEnd,o=e.isLastBlockChangePersistent,c=e.__unstableIsLastBlockChangeIgnored,i=_(n),a=o(),l=!1;C.current=!0;var s=b.subscribe((function(){if(null===n||null!==y(n)){var e=o(),s=_(n),u=s!==i;if(i=s,u&&(E.current.incoming||c()))return E.current.incoming=null,void(a=e);if(u||l&&!u&&e&&!a)a=e,E.current.outgoing.push(i),(a?S.current:w.current)(i,{selectionStart:t(),selectionEnd:r()});l=u}}));return function(){return s()}}),[b,n])}var ql,$l=Object(b.createHigherOrderComponent)((function(e){return Object(m.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,c=Object(Fe.a)(t,["useSubRegistry","registry"]);if(!r)return Object(l.createElement)(e,Object(i.a)({registry:o},c));var a=Object(l.useState)(null),s=Object(Me.a)(a,2),u=s[0],d=s[1];return Object(l.useEffect)((function(){var e=Object(m.createRegistry)({},o);e.registerStore("core/block-editor",Ta),d(e)}),[o]),u?Object(l.createElement)(m.RegistryProvider,{value:u},Object(l.createElement)(e,Object(i.a)({registry:u},c))):null}))}),"withRegistryProvider")((function(e){var t=e.children,n=e.settings,r=Object(m.useDispatch)("core/block-editor").updateSettings;return Object(l.useEffect)((function(){r(n)}),[n]),Kl(e),t}));function Yl(e){var t=e.onClick;return Object(l.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},Object(l.createElement)(v.Disabled,null,Object(l.createElement)(ed,null)))}var Xl=function(e){var t=e.viewportWidth,n=e.__experimentalPadding,r=Object(b.useResizeObserver)(),o=Object(Me.a)(r,2),c=o[0],i=o[1].width,a=Object(b.useResizeObserver)(),s=Object(Me.a)(a,2),u=s[0],d=s[1].height;ql=ql||Object(b.pure)(ed);var f=(i-2*n)/t;return Object(l.createElement)("div",{className:"block-editor-block-preview__container editor-styles-wrapper","aria-hidden":!0,style:{height:d*f+2*n}},c,Object(l.createElement)(v.Disabled,{style:{transform:"scale(".concat(f,")"),width:t,left:n,right:n,top:n},className:"block-editor-block-preview__content"},u,Object(l.createElement)(ql,null)))};var Ql=Object(l.memo)((function(e){var t=e.blocks,n=e.__experimentalPadding,r=void 0===n?0:n,o=e.viewportWidth,c=void 0===o?1200:o,i=e.__experimentalLive,a=void 0!==i&&i,s=e.__experimentalOnClick,u=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings()}),[]),b=Object(l.useMemo)((function(){return Object(d.castArray)(t)}),[t]);return t&&0!==t.length?Object(l.createElement)($l,{value:b,settings:u},a?Object(l.createElement)(Yl,{onClick:s}):Object(l.createElement)(Xl,{viewportWidth:c,__experimentalPadding:r})):null}));function Zl(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 Jl(e){for(var t=1;t6||h.length>6,E=Object(m.useSelect)((function(e){var t=e("core/block-editor"),o=t.getSettings,c=t.getBlockIndex;return{setInserterIsOpened:o().__experimentalSetIsInserterOpened,blockIndex:c(r,n)}}),[r,n]),C=E.setInserterIsOpened,S=E.blockIndex;Object(l.useEffect)((function(){C&&C(!1)}),[C]);var B=Object(m.useDispatch)("core/block-editor").__unstableSetInsertionPoint;return Object(l.createElement)("div",{className:u()("block-editor-inserter__quick-inserter",{"has-search":_,"has-expand":C})},_&&Object(l.createElement)(zl,{value:s,onChange:function(e){d(e)},placeholder:Object(w.__)("Search for a block")}),Object(l.createElement)("div",{className:"block-editor-inserter__quick-inserter-results"},Object(l.createElement)(ws,{filterValue:s,onSelect:t,rootClientId:n,clientId:r,isAppender:o,selectBlockOnInsert:c,maxBlockPatterns:y?2:0,maxBlockTypes:6,isDraggable:!1})),C&&Object(l.createElement)(v.Button,{className:"block-editor-inserter__quick-inserter-expand",onClick:function(){B(n,S),C(!0)},"aria-label":Object(w.__)("Browse all. This will open the main inserter panel in the editor toolbar.")},Object(w.__)("Browse all")))}function Ns(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Hn.a)(e);if(t){var o=Object(Hn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Vn.a)(this,n)}}var Ds=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType,s=e.toggleProps,u=void 0===s?{}:s;t=a?Object(w.sprintf)(Object(w._x)("Add %s","directly add the only allowed block"),c):Object(w._x)("Add block","Generic label for block inserter button");var d=u.onClick,b=Object(Fe.a)(u,["onClick"]);return Object(l.createElement)(v.Button,Object(i.a)({icon:Rl.a,label:t,tooltipPosition:"bottom",onClick:function(e){n&&n(e),d&&d(e)},className:"block-editor-inserter__toggle","aria-haspopup":!a&&"true","aria-expanded":!a&&o,disabled:r},b))},As=function(e){Object(Fn.a)(n,e);var t=Ns(n);function n(){var e;return Object(Rn.a)(this,n),(e=t.apply(this,arguments)).onToggle=e.onToggle.bind(Object(Mn.a)(e)),e.renderToggle=e.renderToggle.bind(Object(Mn.a)(e)),e.renderContent=e.renderContent.bind(Object(Mn.a)(e)),e}return Object(Ln.a)(n,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,c=r.blockTitle,i=r.hasSingleBlockType,a=r.toggleProps,l=r.hasItems,s=r.renderToggle,u=void 0===s?Ds:s;return u({onToggle:t,isOpen:n,disabled:o||!l,blockTitle:c,hasSingleBlockType:i,toggleProps:a})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,c=n.isAppender,i=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return n.__experimentalIsQuick?Object(l.createElement)(Ts,{onSelect:function(){t()},rootClientId:r,clientId:o,isAppender:c,selectBlockOnInsert:a}):Object(l.createElement)(Ps,{onSelect:function(){t()},rootClientId:r,clientId:o,isAppender:c,showInserterHelpPanel:i,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock,o=e.__experimentalIsQuick,c=e.onSelectOrClose;return n?this.renderToggle({onToggle:r}):Object(l.createElement)(v.Dropdown,{className:"block-editor-inserter",contentClassName:u()("block-editor-inserter__popover",{"is-quick":o}),position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(w.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent,onClose:c})}}]),n}(l.Component),Rs=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),c=o.getBlockRootClientId,i=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e(p.store).getBlockVariations,s=a(r=r||c(n)||void 0),u=1===Object(d.size)(s)&&0===Object(d.size)(l(s[0].name,"inserter")),b=!1;return u&&(b=s[0]),{hasItems:i(r),hasSingleBlockType:u,blockTitle:b?b.title:"",allowedBlockType:b,rootClientId:r}})),Object(m.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,i=t.onSelectOrClose,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(p.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),i&&i(),!s)){var u=Object(w.sprintf)(Object(w.__)("%s block added"),l.title);Object(ot.speak)(u)}}}})),Object(b.ifCondition)((function(e){var t=e.hasItems,n=e.isAppender,r=e.rootClientId,o=e.clientId;return t||!n&&!r&&!o}))])(As);var Ls=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,i=n.getSettings,a=n.getTemplateLock,l=!r(t.rootClientId),s=o(t.lastBlockClientId)===Object(p.getDefaultBlockName)(),u=c(t.lastBlockClientId),d=i().bodyPlaceholder;return{isVisible:l||!s||!u,showPrompt:l,isLocked:!!a(t.rootClientId),placeholder:d}})),Object(m.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,c=e.placeholder,i=e.rootClientId;if(t||!n)return null;var a=Object(Al.decodeEntities)(c)||Object(w.__)("Start writing or type / to choose a block");return Object(l.createElement)("div",{"data-root-client-id":i||"",className:"wp-block block-editor-default-block-appender"},Object(l.createElement)(Nl.a,{role:"button","aria-label":Object(w.__)("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(l.createElement)(Rs,{rootClientId:i,position:"bottom right",isAppender:!0,__experimentalIsQuick:!0}))}));var Ms=Object(l.forwardRef)((function(e,t){var n=e.rootClientId,r=e.className,o=e.__experimentalSelectBlockOnInsert,c=e.onFocus,i=e.tabIndex;return Object(l.createElement)(Rs,{position:"bottom center",rootClientId:n,__experimentalSelectBlockOnInsert:o,__experimentalIsQuick:!0,renderToggle:function(e){var n,o=e.onToggle,a=e.disabled,s=e.isOpen,d=e.blockTitle,b=e.hasSingleBlockType;n=b?Object(w.sprintf)(Object(w._x)("Add %s","directly add the only allowed block"),d):Object(w._x)("Add block","Generic label for block inserter button");var f=!b,p=Object(l.createElement)(v.Button,{ref:t,onFocus:c,tabIndex:i,className:u()(r,"block-editor-button-block-appender"),onClick:o,"aria-haspopup":f?"true":void 0,"aria-expanded":f?s:void 0,disabled:a,label:n},!b&&Object(l.createElement)(v.VisuallyHidden,{as:"span"},n),Object(l.createElement)(Vl.a,{icon:Rl.a}));return(f||b)&&(p=Object(l.createElement)(v.Tooltip,{text:n},p)),p},isAppender:!0})}));Object(l.createContext)();function Fs(e){e.stopPropagation()}var Vs=Object(m.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType,i=r.getTemplateLock,a=r.getSelectedBlockClientId;return{isLocked:!!i(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(p.getDefaultBlockName)(),n),selectedBlockClientId:a()}}))((function(e){var t,n=e.blockClientIds,r=e.rootClientId,o=e.canInsertDefaultBlock,c=e.isLocked,i=e.renderAppender,a=e.className,s=e.selectedBlockClientId,b=e.tagName,f=void 0===b?"div":b;if(c||!1===i)return null;if(i)t=Object(l.createElement)(i,null);else{var p=!r,m=s===r,v=s&&!n.includes(s);if(!p&&!m&&(!s||v))return null;t=o?Object(l.createElement)(Ls,{rootClientId:r,lastBlockClientId:Object(d.last)(n)}):Object(l.createElement)(Ms,{rootClientId:r,className:"block-list-appender__toggle"})}return Object(l.createElement)(f,{tabIndex:-1,onFocus:Fs,className:u()("block-list-appender","wp-block",a)},t)}));function Hs(e,t,n,r,o,c,i){return function(a){var l=function(e){var t={srcRootClientId:null,srcClientIds:null,srcIndex:null,type:null,blocks:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(a),s=l.srcRootClientId,u=l.srcClientIds,d=l.type,b=l.blocks;if("inserter"===d&&(i(),c(b,t,e,!1)),"block"===d){var f=n(u[0],s);if(s===e&&f===t)return;if(u.includes(e)||r(u).some((function(t){return t===e})))return;var p=s===e,m=u.length;o(u,s,e,p&&f=s&&a<=u?a:a2&&void 0!==arguments[2]?arguments[2]:["top","bottom","left","right"];return o.forEach((function(o){var c=Ws(e,t,o);(void 0===n||c-1&&Object(ot.speak)(N)}),[]);var h=Object(m.useSelect)(Qs,[]),j=h.selectedBlockClientId,k=h.selectionBeforeEndClientId,y=h.selectionAfterEndClientId,_=h.hasBlockMovingClientId,E=h.getBlockIndex,C=h.getBlockRootClientId,w=h.getClientIdsOfDescendants,S=Object(m.useDispatch)("core/block-editor"),B=S.selectBlock,I=S.clearSelectedBlock,x=S.setBlockMovingClientId,P=S.moveBlockToPosition,T=Object(p.getBlockType)(i),N=Object(p.__experimentalGetAccessibleBlockLabel)(T,a,c+1,d),D=u()("block-editor-block-list__block-selection-button",{"is-block-moving-mode":!!s});return Object(l.createElement)("div",{className:D},Object(l.createElement)(v.Button,{ref:O,onClick:function(){return f(!1)},onKeyDown:function(e){var n=e.keyCode,o=n===Ht.UP,c=n===Ht.DOWN,i=n===Ht.LEFT,a=n===Ht.RIGHT,l=n===Ht.TAB,s=n===Ht.ESCAPE,u=n===Ht.ENTER,d=n===Ht.SPACE,b=e.shiftKey;if(n===Ht.BACKSPACE||n===Ht.DELETE)return g(t),void e.preventDefault();var f,p=l&&b||o,m=l&&!b||c,v=i,O=a;if(p)f=k;else if(m)f=y;else if(v){var h;f=null!==(h=C(j))&&void 0!==h?h:j}else if(O){var S;f=null!==(S=w([j])[0])&&void 0!==S?S:j}var T=_();if(s&&T&&x(null),(u||d)&&T){var N=C(T),D=C(j),A=E(T,N),R=E(j,D);Ac){var a=Math.max(o-c-50,0),l=Math.max(i-c-50,0)/a;n.current=25*l}else if(e.clientY=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function su(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n')})).join(""),n=""),{html:r,plainText:n}}(t),g=v.plainText,O=v.html,h=Object(p.pasteHandler)({HTML:O,plainText:g,mode:"BLOCKS",canUserUseUnfilteredHTML:m});u(i,h,h.length-1,-1)}}}}return e.current.addEventListener("copy",t),e.current.addEventListener("cut",t),e.current.addEventListener("paste",t),function(){e.current.removeEventListener("copy",t),e.current.removeEventListener("cut",t),e.current.removeEventListener("paste",t)}}),[])}var Eu=function(e){var t=e.children,n=Object(l.useRef)();return _u(n),Object(l.createElement)("div",{ref:n},t)};function Cu(e){var t=e.clientIds,n=e.children,r=e.__experimentalUpdateSelection,o=Object(m.useSelect)((function(e){return e("core/block-editor")}),[]),c=o.canInsertBlockType,i=o.getBlockRootClientId,a=o.getBlocksByClientId,l=o.getTemplateLock,s=Object(m.useSelect)((function(e){return e(p.store)}),[]),u=s.getDefaultBlockName,b=s.getGroupingBlockName,f=a(t),v=i(t[0]),g=Object(d.every)(f,(function(e){return!!e&&Object(p.hasBlockSupport)(e.name,"multiple",!0)&&c(e.name,v)})),O=c(u(),v),h=Object(m.useDispatch)("core/block-editor"),j=h.removeBlocks,k=h.replaceBlocks,y=h.duplicateBlocks,_=h.insertAfterBlock,E=h.insertBeforeBlock,C=h.flashBlock,w=h.setBlockMovingClientId,S=h.setNavigationMode,B=h.selectBlock,I=yu();return n({canDuplicate:g,canInsertDefaultBlock:O,isLocked:!!l(v),rootClientId:v,blocks:f,onDuplicate:function(){return y(t,r)},onRemove:function(){return j(t,r)},onInsertBefore:function(){E(Object(d.first)(Object(d.castArray)(t)))},onInsertAfter:function(){_(Object(d.last)(Object(d.castArray)(t)))},onMoveTo:function(){S(!0),B(t[0]),w(t[0])},onGroup:function(){if(f.length){var e=b(),n=Object(p.switchToBlockType)(f,e);n&&k(t,n)}},onUngroup:function(){if(f.length){var e=f[0].innerBlocks;e.length&&k(t,e)}},onCopy:function(){var e=f.map((function(e){return e.clientId}));1===f.length&&C(e[0]),I("copy",e)}})}var wu=Object(b.compose)([Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,i=r.getSettings,a=o(n),l=i().codeEditingEnabled;return{mode:c(n),blockType:a?Object(p.getBlockType)(a.name):null,isCodeEditingEnabled:l}})),Object(m.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?d.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,i=e.isCodeEditingEnabled,a=void 0===i||i;if(!Object(p.hasBlockSupport)(t,"html",!0)||!a)return null;var s="visual"===n?Object(w.__)("Edit as HTML"):Object(w.__)("Edit visually");return Object(l.createElement)(v.MenuItem,{onClick:r},!c&&s)}));var Su=Object(b.compose)(Object(m.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(m.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(p.rawHandler)({HTML:Object(p.getBlockContent)(n)}))}}})))((function(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(w.__)("Convert to Blocks");return Object(l.createElement)(v.MenuItem,{onClick:n},!r&&o)})),Bu=Object(v.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),Iu=Bu.Fill,xu=Bu.Slot;Iu.Slot=xu;var Pu=Iu;function Tu(e){var t=e.clientIds,n=e.isGroupable,r=e.isUngroupable,o=e.blocksSelection,c=e.groupingBlockName,i=e.onClose,a=void 0===i?function(){}:i,s=Object(m.useDispatch)(Na).replaceBlocks;return n||r?Object(l.createElement)(l.Fragment,null,n&&Object(l.createElement)(v.MenuItem,{onClick:function(){var e;(e=Object(p.switchToBlockType)(o,c))&&s(t,e),a()}},Object(w._x)("Group","verb")),r&&Object(l.createElement)(v.MenuItem,{onClick:function(){var e;(e=o[0].innerBlocks).length&&s(t,e),a()}},Object(w._x)("Ungroup","Ungrouping blocks from within a Group block back into individual blocks within the Editor "))):null}function Nu(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 Du(e){for(var t=1;t0||s)return Object(l.createElement)(v.MenuGroup,null,e,Object(l.createElement)(Tu,Object(i.a)({},a,{onClose:null==n?void 0:n.onClose})))}))};var Mu=Ru,Fu={className:"block-editor-block-settings-menu__popover",position:"bottom right",isAlternate:!0};var Vu=function(e){var t=e.clientIds,n=e.__experimentalSelectBlock,r=e.children,o=Object(Fe.a)(e,["clientIds","__experimentalSelectBlock","children"]),c=Object(d.castArray)(t),a=c.length,s=c[0],u=Object(m.useSelect)((function(e){var t=e(Ja.store).getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]),b=Object(l.useCallback)(n?function(){var e=Object(el.a)(ei.a.mark((function e(t){var r;return ei.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:(r=e.sent)&&r[0]&&n(r[0]);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}():d.noop,[n]),f=1===a?Object(w.__)("Remove block"):Object(w.__)("Remove blocks");return Object(l.createElement)(Cu,{clientIds:t,__experimentalUpdateSelection:!n},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,m=e.isLocked,g=e.onDuplicate,O=e.onInsertAfter,h=e.onInsertBefore,j=e.onRemove,k=e.onCopy,y=e.onMoveTo,_=e.blocks;return Object(l.createElement)(v.DropdownMenu,Object(i.a)({icon:tl.a,label:Object(w.__)("Options"),className:"block-editor-block-settings-menu",popoverProps:Fu,noIcons:!0},o),(function(e){var o=e.onClose;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.MenuGroup,null,Object(l.createElement)(Pu.Slot,{fillProps:{onClose:o}}),1===a&&Object(l.createElement)(Su,{clientId:s}),Object(l.createElement)(v.ClipboardButton,{text:function(){return Object(p.serialize)(_)},role:"menuitem",className:"components-menu-item__button",onCopy:k},Object(w.__)("Copy")),n&&Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,g,b),shortcut:u.duplicate},Object(w.__)("Duplicate")),c&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,h),shortcut:u.insertBefore},Object(w.__)("Insert before")),Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,O),shortcut:u.insertAfter},Object(w.__)("Insert after"))),!m&&Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,y)},Object(w.__)("Move to")),1===a&&Object(l.createElement)(wu,{clientId:s,onToggle:o})),Object(l.createElement)(Mu.Slot,{fillProps:{onClose:o},clientIds:t}),"function"==typeof r?r({onClose:o}):l.Children.map((function(e){return Object(l.cloneElement)(e,{onClose:o})})),Object(l.createElement)(v.MenuGroup,null,!m&&Object(l.createElement)(v.MenuItem,{onClick:Object(d.flow)(o,j,b),shortcut:u.remove},f)))}))}))};var Hu=function(e){var t=e.clientIds,n=Object(Fe.a)(e,["clientIds"]);return Object(l.createElement)(v.ToolbarGroup,null,Object(l.createElement)(v.ToolbarItem,null,(function(e){return Object(l.createElement)(Vu,Object(i.a)({clientIds:t,toggleProps:e},n))})))},zu=window,Gu=zu.clearTimeout,Uu=zu.setTimeout;function Wu(e){var t=e.ref,n=e.isFocused,r=e.debounceTimeout,o=void 0===r?200:r,c=e.onChange,i=void 0===c?d.noop:c,a=Object(l.useState)(!1),s=Object(Me.a)(a,2),u=s[0],b=s[1],f=Object(l.useRef)(),p=function(e){null!=t&&t.current&&b(e),i(e)},m=function(){var e=(null==t?void 0:t.current)&&t.current.matches(":hover");return!n&&!e},v=function(){var e=f.current;e&&Gu&&Gu(e)};return Object(l.useEffect)((function(){return function(){return v()}}),[]),{showMovers:u,debouncedShowMovers:function(e){e&&e.stopPropagation(),v(),u||p(!0)},debouncedHideMovers:function(e){e&&e.stopPropagation(),v(),f.current=Uu((function(){m()&&p(!1)}),o)}}}function Ku(e){var t=e.hideDragHandle,n=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.getBlockMode,o=t.getSelectedBlockClientIds,c=t.isBlockValid,i=t.getBlockRootClientId,a=t.getSettings,l=o(),s=l[0],u=i(s),d=a();return{blockClientIds:l,blockClientId:s,blockType:s&&Object(p.getBlockType)(n(s)),hasFixedToolbar:d.hasFixedToolbar,hasReducedUI:d.hasReducedUI,rootClientId:u,isValid:l.every((function(e){return c(e)})),isVisual:l.every((function(e){return"visual"===r(e)}))}}),[]),r=n.blockClientIds,o=n.blockClientId,c=n.blockType,a=n.hasFixedToolbar,s=n.hasReducedUI,f=n.isValid,g=n.isVisual,O=Object(m.useDispatch)("core/block-editor").toggleBlockHighlight,h=Object(l.useRef)(),j=function(e){var t=e.ref,n=e.debounceTimeout,r=void 0===n?200:n,o=e.onChange,c=void 0===o?d.noop:o,i=Object(l.useState)(!1),a=Object(Me.a)(i,2),s=a[0],u=a[1],b=Wu({ref:t,debounceTimeout:r,isFocused:s,onChange:c}),f=b.showMovers,p=b.debouncedShowMovers,m=b.debouncedHideMovers,v=Object(l.useRef)(!1),g=function(){return(null==t?void 0:t.current)&&t.current.contains(t.current.ownerDocument.activeElement)};return Object(l.useEffect)((function(){var e=t.current,n=function(){g()&&(u(!0),p())},r=function(){g()||(u(!1),m())};return e&&!v.current&&(e.addEventListener("focus",n,!0),e.addEventListener("blur",r,!0),v.current=!0),function(){e&&(e.removeEventListener("focus",n),e.removeEventListener("blur",r))}}),[t,v,u,p,m]),{showMovers:f,gestures:{onMouseMove:p,onMouseLeave:m}}}({ref:h,onChange:function(e){e&&s||O(o,e)}}),k=j.showMovers,y=j.gestures,_=Object(b.useViewportMatch)("medium","<")||a;if(c&&!Object(p.hasBlockSupport)(c,"__experimentalToolbar",!0))return null;var E=_||k;if(0===r.length)return null;var w=f&&g,S=r.length>1,B=u()("block-editor-block-toolbar",E&&"is-showing-movers");return Object(l.createElement)("div",{className:B},Object(l.createElement)("div",Object(i.a)({ref:h},y),!S&&Object(l.createElement)("div",{className:"block-editor-block-toolbar__block-parent-selector-wrapper"},Object(l.createElement)(ou,{clientIds:r})),(w||S)&&Object(l.createElement)(v.ToolbarGroup,{className:"block-editor-block-toolbar__block-controls"},Object(l.createElement)(ju,{clientIds:r}),Object(l.createElement)(ru,{clientIds:r,hideDragHandle:t||s}))),w&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(l.createElement)(Za.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(l.createElement)(Hu,{clientIds:r}))}var qu=function(e){var t=e.focusOnMount,n=Object(Fe.a)(e,["focusOnMount"]),r=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.getSelectedBlockClientIds,o=e(p.store).getBlockType,c=r()[0];return{blockType:c&&o(n(c))}}),[]).blockType;return r&&!Object(p.hasBlockSupport)(r,"__experimentalToolbar",!0)?null:Object(l.createElement)("div",{className:"block-editor-block-contextual-toolbar-wrapper"},Object(l.createElement)(tu,Object(i.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(w.__)("Block tools")},n),Object(l.createElement)(Ku,null)))};function $u(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,c=t.isTyping,i=t.isCaretWithinFormattedText,a=t.getSettings,l=t.getLastMultiSelectedBlockClientId;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:c(),isCaretWithinFormattedText:i(),hasMultiSelection:o(),hasFixedToolbar:a().hasFixedToolbar,lastClientId:l()}}function Yu(e){var t=e.clientId,n=e.rootClientId,r=e.isValid,o=e.isEmptyDefaultBlock,c=e.capturingClientId,i=Object(m.useSelect)($u,[]),a=i.isNavigationMode,s=i.isMultiSelecting,d=i.isTyping,f=i.isCaretWithinFormattedText,p=i.hasMultiSelection,g=i.hasFixedToolbar,O=i.lastClientId,h=Object(b.useViewportMatch)("medium"),j=Object(l.useState)(!1),k=Object(Me.a)(j,2),y=k[0],_=k[1],E=Object(l.useState)(!1),C=Object(Me.a)(E,2),w=C[0],S=C[1],B=Object(l.useContext)(Zu),I=Object(m.useDispatch)("core/block-editor").stopTyping,x=!d&&!a&&o&&r,P=a,T=!a&&!g&&h&&!x&&!s&&(!d||f),N=!(a||T||g||o);Object(Ja.useShortcut)("core/block-editor/focus-toolbar",Object(l.useCallback)((function(){_(!0),I(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!N}),Object(l.useEffect)((function(){T||_(!1)}),[T]);var D=Object(l.useRef)();if(Object(l.useEffect)((function(){D.current=void 0}),[t]),!(P||T||y||x))return null;var A=B[t];if(!A)return null;var R=A.ownerDocument;c&&(A=at(c,R));var L=A;if(p){var M=B[O];if(!M)return null;L={top:A,bottom:M}}var F=x?"top left right":"top right left",V=x?void 0:R.defaultView.frameElement||Object(rl.getScrollContainer)(A)||R.body;return Object(l.createElement)(v.Popover,{noArrow:!0,animate:!1,position:F,focusOnMount:!1,anchorRef:L,className:"block-editor-block-list__block-popover",__unstableStickyBoundaryElement:V,__unstableSlotName:"block-toolbar",__unstableBoundaryParent:!0,__unstableObserveElement:A,shouldAnchorIncludePadding:!0},(T||y)&&Object(l.createElement)("div",{onFocus:function(){S(!0)},onBlur:function(){S(!1)},tabIndex:-1,className:u()("block-editor-block-list__block-popover-inserter",{"is-visible":w})},Object(l.createElement)(Rs,{clientId:t,rootClientId:n,__experimentalIsQuick:!0})),(T||y)&&Object(l.createElement)(qu,{focusOnMount:y,__experimentalInitialIndex:D.current,__experimentalOnIndexChange:function(e){D.current=e}}),P&&Object(l.createElement)(Zs,{clientId:t,rootClientId:n,blockElement:A}),x&&Object(l.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(l.createElement)(Rs,{position:"bottom right",rootClientId:n,clientId:t,__experimentalIsQuick:!0})))}function Xu(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,c=t.__unstableGetBlockWithoutInnerBlocks,i=t.getBlockParents,a=t.__experimentalGetBlockListSettingsForBlocks,l=n()||r();if(l){var s,u=c(l)||{},b=u.name,f=u.attributes,m=void 0===f?{}:f,v=u.isValid,g=i(l),O=a(g),h=Object(d.findIndex)(O,["__experimentalCaptureToolbars",!0]);return-1!==h&&(s=g[h]),{clientId:l,rootClientId:o(l),name:b,isValid:v,isEmptyDefaultBlock:b&&Object(p.isUnmodifiedDefaultBlock)({name:b,attributes:m}),capturingClientId:s}}}function Qu(){var e=Object(m.useSelect)(Xu,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.name,o=e.isValid,c=e.isEmptyDefaultBlock,i=e.capturingClientId;return r?Object(l.createElement)(Yu,{clientId:t,rootClientId:n,isValid:o,isEmptyDefaultBlock:c,capturingClientId:i}):null}var Zu=Object(l.createContext)(),Ju=Object(l.createContext)();function ed(e){var t=e.className,n=Object(l.useRef)(),r=Object(l.useState)({}),o=Object(Me.a)(r,2),c=o[0],i=o[1],a=function(e){var t=Object(l.useState)(!1),n=Object(Me.a)(t,2),r=n[0],o=n[1],c=Object(l.useState)(!1),i=Object(Me.a)(c,2),a=i[0],s=i[1],u=Object(l.useState)(null),d=Object(Me.a)(u,2),b=d[0],f=d[1],p=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.isMultiSelecting,r=t.isBlockInsertionPointVisible,o=t.getBlockInsertionPoint,c=t.getBlockOrder,i=t.getBlockListSettings,a=o(),l=c(a.rootClientId);return{getBlockListSettings:i,isMultiSelecting:n(),isInserterVisible:r(),selectedClientId:l[a.index-1],selectedRootClientId:a.rootClientId}}),[]),v=p.isMultiSelecting,g=p.isInserterVisible,O=p.selectedClientId,h=p.selectedRootClientId,j=p.getBlockListSettings,k=Object(l.useCallback)((function(e){var t;if(e.target.classList.contains("block-editor-block-list__layout")){var n;if(!e.target.classList.contains("is-root-container"))n=(e.target.getAttribute("data-block")?e.target:e.target.closest("[data-block]")).getAttribute("data-block");var c=(null===(t=j(n))||void 0===t?void 0:t.orientation)||"vertical",i=e.target.getBoundingClientRect(),a=e.clientY-i.top,l=e.clientX-i.left,s=Array.from(e.target.children),u=s.find((function(e){return"vertical"===c&&e.offsetTop>a||"horizontal"===c&&e.offsetLeft>l})),d=u?s[s.indexOf(u)-1]:s[s.length-1];if(d&&(d.id||(d=d.firstElementChild))){var b=d.id.slice("block-".length);if(b){var p=d.getBoundingClientRect();"horizontal"===c&&(e.clientY>p.bottom||e.clientYp.right||e.clientX=o.right||a.right<=o.left)return!1}if(Object(rl.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return e.classList.contains("block-editor-block-list__layout")||!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var l,s=1;(l=i[c+s])&&n.contains(l);s++)if(t(l,c+s,i))return!1;return!0}))}function bd(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,c=t.getPreviousBlockClientId,i=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,b=t.isNavigationMode,f=t.isSelectionEnabled,p=t.getBlockSelectionStart,m=t.isMultiSelecting,v=t.getSettings,g=n(),O=r(),h=o(),j=u();return{selectedBlockClientId:g,selectionStartClientId:O,selectionBeforeEndClientId:c(h||g),selectionAfterEndClientId:i(h||g),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),firstBlock:Object(d.first)(j),lastBlock:Object(d.last)(j),isNavigationMode:b(),isSelectionEnabled:f(),blockSelectionStart:p(),isMultiSelecting:m(),keepCaretInsideBlock:v().keepCaretInsideBlock}}function fd(e){var t=e.children,n=Object(l.useRef)(),r=Object(l.useRef)(),o=Object(l.useRef)(),c=Object(l.useRef)(),i=Object(l.useRef)(),a=Object(l.useRef)(),s=Object(l.useRef)(),b=function(e){var t=Object(m.useSelect)(ld,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,c=t.hasMultiSelection,i=t.getBlockParents,a=t.selectedBlockClientId,s=Object(m.useDispatch)("core/block-editor"),u=s.startMultiSelect,d=s.stopMultiSelect,b=s.multiSelect,f=s.selectBlock,p=Object(l.useRef)(),v=Object(l.useRef)(),g=Object(l.useRef)();Object(l.useEffect)((function(){var t=e.current.ownerDocument,n=t.defaultView;if(c&&!r){var i=o.length;if(!(i<2)){var l=o[0],s=o[i-1],u=at(l,t),d=at(s,t),b=n.getSelection(),f=t.createRange();u=ad(u,"start"),d=ad(d,"end"),f.setStartBefore(u),f.setEndAfter(d),b.removeAllRanges(),b.addRange(f)}}else{if(!a||r)return;var p=n.getSelection();if(p.rangeCount&&!p.isCollapsed){var m=at(a,t),v=p.getRangeAt(0),g=v.startContainer,O=v.endContainer;!m||m.contains(g)&&m.contains(O)||p.removeAllRanges()}}}),[c,r,o,f,a]);var O=Object(l.useCallback)((function(t){var n=t.isSelectionEnd,r=e.current.ownerDocument.defaultView.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=st(r.focusNode);if(v.current===o){if(f(o),n&&(sd(e.current,!0),r.rangeCount)){var c=r.getRangeAt(0).commonAncestorContainer;g.current.contains(c)&&g.current.focus()}}else{var a=[].concat(Object(pe.a)(i(v.current)),[v.current]),l=[].concat(Object(pe.a)(i(o)),[o]),s=Math.min(a.length,l.length)-1;b(a[s],l[s])}}else sd(e.current,!0)}),[f,i,b]),h=Object(l.useCallback)((function(){var t=e.current.ownerDocument,n=t.defaultView;t.removeEventListener("selectionchange",O),n.removeEventListener("mouseup",h),p.current=n.requestAnimationFrame((function(){O({isSelectionEnd:!0}),d()}))}),[O,d]);return Object(l.useEffect)((function(){var t=e.current.ownerDocument,n=t.defaultView;return function(){t.removeEventListener("selectionchange",O),n.removeEventListener("mouseup",h),n.cancelAnimationFrame(p.current)}}),[O,h]),Object(l.useCallback)((function(t){if(n){var r=e.current.ownerDocument,o=r.defaultView;v.current=t,g.current=r.activeElement,u(),r.addEventListener("selectionchange",O),o.addEventListener("mouseup",h),sd(e.current,!1)}}),[n,u,h])}(n),f=Object(m.useSelect)(bd,[]),p=f.selectedBlockClientId,v=f.selectionStartClientId,g=f.selectionBeforeEndClientId,O=f.selectionAfterEndClientId,h=f.selectedFirstClientId,j=f.selectedLastClientId,k=f.hasMultiSelection,y=f.firstBlock,_=f.lastBlock,E=f.isNavigationMode,C=f.isSelectionEnabled,S=f.blockSelectionStart,B=f.isMultiSelecting,I=f.keepCaretInsideBlock,x=Object(m.useDispatch)("core/block-editor"),P=x.multiSelect,T=x.selectBlock,N=x.setNavigationMode;function D(e){var t=e?g:O;t&&P(v||p,t)}function A(e){var t=e?h:j;t&&T(t)}Object(l.useEffect)((function(){k&&!B&&c.current.focus()}),[k,B]);var R=u()("block-editor-writing-flow",{"is-navigate-mode":E});return Object(l.createElement)(ud.Provider,{value:b},Object(l.createElement)(id,{ref:r,selectedClientId:p,containerRef:n,noCapture:a,hasMultiSelection:k,multiSelectionContainer:c}),Object(l.createElement)("div",{ref:c,tabIndex:k?"0":void 0,"aria-label":k?Object(w.__)("Multiple selected blocks"):void 0,style:{position:"fixed"},onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey,c=t===Ht.UP,i=t===Ht.DOWN,l=t===Ht.LEFT,s=t===Ht.RIGHT,u=c||l,d=l||s||(c||i);if(t===Ht.TAB)a.current=!0,n?r.current.focus():o.current.focus();else if(d){(n?D:A)(u),e.preventDefault()}}}),Object(l.createElement)("div",{ref:n,className:R,onKeyDown:function(e){var t=e.keyCode,c=e.target;if(n.current.contains(c)){var l=t===Ht.UP,u=t===Ht.DOWN,b=t===Ht.LEFT,f=t===Ht.RIGHT,m=t===Ht.TAB,v=t===Ht.ESCAPE,h=l||b,j=b||f,k=l||u,E=j||k,C=e.shiftKey,w=C||e.ctrlKey||e.altKey||e.metaKey,S=k?rl.isVerticalEdge:rl.isHorizontalEdge,B=n.current.ownerDocument,x=B.defaultView;if(p)if(m){var T=at(p,B);if(C){if(c===T)return a.current=!0,void r.current.focus()}else{var A=rl.focus.tabbable.find(T);if(c===(Object(d.last)(A)||T))return a.current=!0,void o.current.focus()}}else v&&N(!0);if(k?s.current||(s.current=Object(rl.computeCaretRect)(x)):s.current=null,!E)return Ht.isKeyboardEvent.primary(e)&&(i.current=Object(rl.isEntirelySelected)(c)),void(Ht.isKeyboardEvent.primary(e,"a")&&((c.isContentEditable?i.current:Object(rl.isEntirelySelected)(c))&&(P(y,_),e.preventDefault()),i.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Ht.UP||t===Ht.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,t,w)){var R,L="rtl"===(R=c).ownerDocument.defaultView.getComputedStyle(R).direction?!h:h;if(C)(h&&g||!h&&O)&&function(e,t){var r,o,c=dd(e,t,n.current);return!(c&&(r=e,o=c,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(c,h)&&S(c,h)&&(D(h),e.preventDefault());else if(k&&Object(rl.isVerticalEdge)(c,h)&&!I){var M=dd(c,h,n.current,!0);M&&(Object(rl.placeCaretAtVerticalEdge)(M,h,s.current),e.preventDefault())}else if(j&&x.getSelection().isCollapsed&&Object(rl.isHorizontalEdge)(c,L)&&!I){var F=dd(c,L,n.current);Object(rl.placeCaretAtHorizontalEdge)(F,L),e.preventDefault()}}}},onMouseDown:function(e){s.current=null;var t=e.target.ownerDocument;if(E&&p&<(at(p,t),e.target)&&N(!1),C&&0===e.button){var n=st(e.target);n&&(e.shiftKey?S!==n&&(P(S,n),e.preventDefault()):k&&T(n))}}},t),Object(l.createElement)(id,{ref:o,selectedClientId:p,containerRef:n,noCapture:a,hasMultiSelection:k,multiSelectionContainer:c,isReverse:!0}))}function pd(e,t){var n=Object(l.useContext)(ud),r=Object(m.useSelect)((function(e){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.getBlockRootClientId,c=n.getBlockIndex;return{isSelected:r(t),rootClientId:o(t),index:c(t)}}),[t]),o=r.isSelected,c=r.rootClientId,i=r.index,a=Object(m.useDispatch)("core/block-editor"),s=a.insertDefaultBlock,u=a.removeBlock,d=a.selectBlock;Object(l.useEffect)((function(){if(!o){function r(n){lt(e.current,n.target)&&d(t)}return e.current.addEventListener("focusin",r),function(){e.current.removeEventListener("focusin",r)}}function a(n){var r=n.keyCode,o=n.target;r!==Ht.ENTER&&r!==Ht.BACKSPACE&&r!==Ht.DELETE||o!==e.current||Object(rl.isTextField)(o)||(n.preventDefault(),r===Ht.ENTER?s({},c,i+1):u(t))}function l(e){1===e.buttons&&n(t)}function b(e){e.preventDefault()}return e.current.addEventListener("keydown",a),e.current.addEventListener("mouseleave",l),e.current.addEventListener("dragstart",b),function(){e.current.removeEventListener("mouseleave",l),e.current.removeEventListener("keydown",a),e.current.removeEventListener("dragstart",b)}}),[o,c,i,n,s,u,d])}function md(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 vd(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.__unstableIsHtml,r=Object(l.useRef)(),o=e.ref||r,c=Object(l.useContext)(Ju),i=Object(l.useContext)(jd),s=i.clientId,b=i.isSelected,f=i.isFirstMultiSelected,p=i.isLastMultiSelected,m=i.isPartOfMultiSelection,v=i.enableAnimation,g=i.index,O=i.className,h=i.name,j=i.mode,k=i.blockTitle,y=i.wrapperProps,_=void 0===y?{}:y;Object(l.useEffect)((function(){if(b||f||p){var e=o.current;return c((function(t){return vd(vd({},t),{},Object(a.a)({},s,e))})),function(){c((function(e){return Object(d.omit)(e,s)}))}}}),[b,f,p]),Object(l.useEffect)((function(){var e=o.current;c((function(t){return t[s]&&t[s]!==e?vd(vd({},t),{},Object(a.a)({},s,e)):t}))}));var E=Object(w.sprintf)(Object(w.__)("Block: %s"),k);rd(o,s),pd(o,s),il(o,b||m,b||f,v,g);var C=od(o),S=cd(s),B="html"!==j||n?"":"-visual";return vd(vd(vd({},_),e),{},{ref:o,id:"block-".concat(s).concat(B),tabIndex:0,role:"group","aria-label":E,"data-block":s,"data-type":h,"data-title":k,className:u()(O,e.className,_.className,S,{"is-hovered":C}),style:vd(vd({},_.style),e.style)})}function Od(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 hd(e){for(var t=1;t1||Object(p.hasBlockSupport)(q,"lightBlockWrapper",!1),Y=_===Object(p.getUnregisteredTypeHandlerName)();q.getEditWrapperProps&&(t=w,n=q.getEditWrapperProps(C),r=hd(hd({},t),n),t&&n&&t.className&&n.className&&(r.className=u()(t.className,n.className)),t&&n&&t.style&&n.style&&(r.style=hd(hd({},t.style),n.style)),w=r);var X=$&&Object(p.hasBlockSupport)(q,"className",!0)?Object(p.getBlockDefaultClassName)(_):null,Q=$?C.className:null,Z=w&&!!w["data-align"],J=u()(X,Q,"block-editor-block-list__block",{"wp-block":!Z,"has-warning":!E||!!W||Y,"is-selected":s&&!L,"is-highlighted":M,"is-multi-selected":f,"is-reusable":Object(p.isReusableBlock)(q),"is-dragging":L,"is-typing":h,"is-focused":F&&A&&(s||j),"is-focus-mode":F&&A,"is-outline-mode":V,"has-child-selected":j&&!L,"is-active-entity":D===a},y),ee=Object(l.createElement)(qa,{name:_,isSelected:s,attributes:C,setAttributes:S,insertBlocksAfter:c?void 0:I,onReplace:c?void 0:B,onRemove:c?void 0:z,mergeBlocks:c?void 0:x,clientId:a,isSelectionEnabled:k,toggleSelection:P});if(Z){var te={"data-align":w["data-align"]};ee=Object(l.createElement)("div",Object(i.a)({className:"wp-block"},te),ee)}var ne,re={clientId:a,isSelected:s,isFirstMultiSelected:g,isLastMultiSelected:O,isPartOfMultiSelection:v,enableAnimation:N,index:T,className:J,isLocked:c,name:_,mode:o,blockTitle:q.title,wrapperProps:Object(d.omit)(w,["data-align"])},oe=Object(l.useMemo)((function(){return re}),Object.values(re));return ne=E?"html"===o?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{style:{display:"none"}},ee),Object(l.createElement)(kd,{isHtml:!0},Object(l.createElement)(Dl,{clientId:a}))):$?ee:Object(l.createElement)(kd,w,ee):Object(l.createElement)(kd,null,Object(l.createElement)(Sl,{clientId:a}),Object(l.createElement)("div",null,Object(p.getSaveElement)(q,C))),Object(l.createElement)(jd.Provider,{value:oe},Object(l.createElement)(Pl,{onError:function(){return K(!0)}},ne),!!W&&Object(l.createElement)(kd,null,Object(l.createElement)(Il,null)))}));function Cd(e){var t=e.level;return Object(d.times)(t-1,(function(e){var n=e+2===t;return Object(l.createElement)("div",{key:e,"aria-hidden":"true",className:u()("block-editor-block-navigator-indentation",{"has-item":n})})}))}var wd=function(e,t,n){return Object(w.sprintf)(Object(w.__)("Block %1$d of %2$d, Level %3$d"),e,t,n)};var Sd=Object(l.forwardRef)((function e(t,n){var r=t.className,o=t.block.clientId,c=t.isSelected,i=t.onClick,a=t.position,s=t.siblingBlockCount,d=t.level,f=t.tabIndex,p=t.onFocus,m=t.onDragStart,g=t.onDragEnd,O=t.draggable,h=Da(o),j=Object(b.useInstanceId)(e),k="block-navigation-block-select-button__".concat(j),y=wd(a,s,d);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.Button,{className:u()("block-editor-block-navigation-block-select-button",r),onClick:i,"aria-describedby":k,ref:n,tabIndex:f,onFocus:p,onDragStart:m,onDragEnd:g,draggable:O},Object(l.createElement)(Cd,{level:d}),Object(l.createElement)(Vr,{icon:null==h?void 0:h.icon,showColors:!0}),Object(l.createElement)(Aa,{clientId:o}),c&&Object(l.createElement)(v.VisuallyHidden,null,Object(w.__)("(selected block)"))),Object(l.createElement)("div",{className:"block-editor-block-navigation-block-select-button__description",id:k},y))}));function Bd(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 Id(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function Ad(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,x=g||k,P=u()("block-editor-block-navigation-block__mover-cell",{"is-visible":x}),T=jl().__experimentalFeatures,N=u()("block-editor-block-navigation-block__menu-cell",{"is-visible":x});return Object(l.useEffect)((function(){T&&n&&b.current.focus()}),[T,n]),Object(l.createElement)(ll,{className:u()({"is-selected":n,"is-dragging":C}),onMouseEnter:function(){return O(!0)},onMouseLeave:function(){return O(!1)},onFocus:function(){return y(!0)},onBlur:function(){return y(!1)},level:c,position:o,rowCount:i,path:d,id:"block-navigation-block-".concat(_),"data-block":_},Object(l.createElement)(v.__experimentalTreeGridCell,{className:"block-editor-block-navigation-block__contents-cell",colSpan:I?void 0:2,ref:b},(function(e){var i=e.ref,s=e.tabIndex,u=e.onFocus;return Object(l.createElement)("div",{className:"block-editor-block-navigation-block__contents-container"},Object(l.createElement)(Nd,{block:t,onClick:function(){return r(t.clientId)},isSelected:n,position:o,siblingBlockCount:a,level:c,ref:i,tabIndex:s,onFocus:u}))})),I&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.__experimentalTreeGridCell,{className:P,withoutGridItem:!0},Object(l.createElement)(v.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(l.createElement)(gl,{orientation:"vertical",clientIds:[_],ref:t,tabIndex:n,onFocus:r})})),Object(l.createElement)(v.__experimentalTreeGridItem,null,(function(e){var t=e.ref,n=e.tabIndex,r=e.onFocus;return Object(l.createElement)(Ol,{orientation:"vertical",clientIds:[_],ref:t,tabIndex:n,onFocus:r})})))),T&&Object(l.createElement)(v.__experimentalTreeGridCell,{className:N},(function(e){var t=e.ref,n=e.tabIndex,o=e.onFocus;return Object(l.createElement)(Vu,{clientIds:[_],icon:tl.a,toggleProps:{ref:t,tabIndex:n,onFocus:o},disableOpenOnArrowDown:!0,__experimentalSelectBlock:r},(function(e){var t=e.onClose;return Object(l.createElement)(v.MenuGroup,null,Object(l.createElement)(v.MenuItem,{onClick:Object(el.a)(ei.a.mark((function e(){var n,r,o;return ei.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S.length){e.next=20;break}n=Dd(S),e.prev=2,n.s();case 4:if((r=n.n()).done){e.next=10;break}return o=r.value,e.next=8,B(o);case 8:e.next=4;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),n.e(e.t0);case 15:return e.prev=15,n.f(),e.finish(15);case 18:e.next=22;break;case 20:return e.next=22,B(null);case 22:return e.next=24,B(_);case 24:t();case 25:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})))},Object(w.__)("Go to block")))}))})))}function Ld(e){var t=e.parentBlockClientId,n=e.position,r=e.level,o=e.rowCount,c=e.path,i=Object(m.useSelect)((function(e){var n=e("core/block-editor"),r=n.isBlockBeingDragged,o=n.isAncestorBeingDragged;return r(t)||o(t)}),[t]),a=Object(b.useInstanceId)(Ld),s="block-navigation-appender-row__description_".concat(a),d=Object(w.sprintf)(Object(w.__)("Add block at position %1$d, Level %2$d"),n,r);return Object(l.createElement)(ll,{className:u()({"is-dragging":i}),level:r,position:n,rowCount:o,path:c},Object(l.createElement)(v.__experimentalTreeGridCell,{className:"block-editor-block-navigation-appender__cell",colSpan:"3"},(function(e){var n=e.ref,o=e.tabIndex,c=e.onFocus;return Object(l.createElement)("div",{className:"block-editor-block-navigation-appender__container"},Object(l.createElement)(Cd,{level:r}),Object(l.createElement)(Rs,{rootClientId:t,__experimentalIsQuick:!0,__experimentalSelectBlockOnInsert:!1,"aria-describedby":s,toggleProps:{ref:n,tabIndex:o,onFocus:c}}),Object(l.createElement)("div",{className:"block-editor-block-navigation-appender__description",id:s},d))})))}function Md(e){var t=e.blocks,n=e.selectBlock,r=e.selectedBlockClientId,o=e.showAppender,c=e.showBlockMovers,i=e.showNestedBlocks,a=e.parentBlockClientId,s=e.level,u=void 0===s?1:s,b=e.terminatedLevels,f=void 0===b?[]:b,p=e.path,m=void 0===p?[]:p,v=!a,g=Object(d.compact)(t),O=function(e){return o&&!v&&r===e},h=O(a),j=g.length,k=h?j+1:j,y=k;return Object(l.createElement)(l.Fragment,null,Object(d.map)(g,(function(e,t){var a=e.clientId,s=e.innerBlocks,d=t+1,b=k===d?[].concat(Object(pe.a)(f),[u]):f,p=[].concat(Object(pe.a)(m),[d]),v=i&&!!s&&!!s.length,g=O(a);return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)(Rd,{block:e,onClick:n,isSelected:r===a,level:u,position:d,rowCount:k,siblingBlockCount:j,showBlockMovers:c,terminatedLevels:f,path:p}),(v||g)&&Object(l.createElement)(Md,{blocks:s,selectedBlockClientId:r,selectBlock:n,showAppender:o,showBlockMovers:c,showNestedBlocks:i,parentBlockClientId:a,level:u+1,terminatedLevels:b,path:p}))})),h&&Object(l.createElement)(Ld,{parentBlockClientId:a,position:k,rowCount:y,level:u,terminatedLevels:f,path:[].concat(Object(pe.a)(m),[y])}))}function Fd(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 Vd(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Hd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hd(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function Hd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.x&&t.top<=e.y&&t.bottom>=e.y}Md.defaultProps={selectBlock:function(){}};var Gd=["top","bottom"];function Ud(e){var t=Object(l.useState)(),n=Object(Me.a)(t,2),r=n[0],o=void 0===r?{}:r,c=n[1],i=Us(o.rootClientId,o.blockIndex),s=Object(v.__unstableUseDropZone)(function(e){for(var t=1;t0||function(e,t){var n=t.left+t.width/2;return e.x>n}(t,c)))return{rootClientId:r.clientId,blockIndex:0,dropPosition:"inside"};if(r.canInsertDraggedBlocksAsSibling){var O=g?1:0;return{rootClientId:r.rootClientId,clientId:r.clientId,blockIndex:r.blockIndex+O,dropPosition:n}}}}(b.current,u);e&&c(e)}}),[b,u]),u)return o}function Wd(e){var t=e.__experimentalFeatures,n=Object(Fe.a)(e,["__experimentalFeatures"]),r=Object(l.useRef)(),o=Ud(r);t||(o=void 0);var c=Object(l.useMemo)((function(){return{__experimentalFeatures:t,blockDropTarget:o}}),[t,o]);return Object(l.createElement)(v.__experimentalTreeGrid,{className:"block-editor-block-navigation-tree","aria-label":Object(w.__)("Block navigation structure"),ref:r},Object(l.createElement)(hl.Provider,{value:c},Object(l.createElement)(Md,n)))}var Kd=Object(b.compose)(Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.__unstableGetBlockWithBlockTree,c=t.__unstableGetBlockTree,i=n();return{rootBlocks:c(),rootBlock:i?o(r(i)):null,selectedBlockClientId:i}})),Object(m.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?d.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock,c=e.__experimentalFeatures;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(l.createElement)("div",{className:"block-editor-block-navigation__container"},Object(l.createElement)("p",{className:"block-editor-block-navigation__label"},Object(w.__)("List view")),Object(l.createElement)(Wd,{blocks:i?[t]:n,selectedBlockClientId:r,selectBlock:o,__experimentalFeatures:c,showNestedBlocks:!0}))})),qd=Object(l.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(l.createElement)(v.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));function $d(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen,o=e.innerRef,c=Object(Fe.a)(e,["isEnabled","onToggle","isOpen","innerRef"]);Object(Ja.useShortcut)("core/edit-post/toggle-block-navigation",Object(l.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var a=Object(m.useSelect)((function(e){return e(Ja.store).getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(l.createElement)(v.Button,Object(i.a)({},c,{ref:o,icon:qd,"aria-expanded":r,"aria-haspopup":"true",onClick:t?n:void 0,label:Object(w.__)("Outline"),className:"block-editor-block-navigation",shortcut:a,"aria-disabled":!t}))}var Yd=Object(l.forwardRef)((function(e,t){var n=e.isDisabled,r=e.__experimentalFeatures,o=Object(Fe.a)(e,["isDisabled","__experimentalFeatures"]),c=Object(m.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!n;return Object(l.createElement)(v.Dropdown,{contentClassName:"block-editor-block-navigation__popover",position:"bottom right",renderToggle:function(e){var n=e.isOpen,r=e.onToggle;return Object(l.createElement)($d,Object(i.a)({},o,{innerRef:t,isOpen:n,onToggle:r,isEnabled:c}))},renderContent:function(e){var t=e.onClose;return Object(l.createElement)(Kd,{onSelect:t,__experimentalFeatures:r})}})})),Xd=n(129),Qd=[Ht.rawShortcut.primary("z"),Ht.rawShortcut.primaryShift("z"),Ht.rawShortcut.primary("y")],Zd=Object(l.createElement)(v.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(d.fromPairs)(Qd.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Jd=function(){return Zd};function eb(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'')})).join("")}var tb={position:"bottom right",isAlternate:!0},nb=function(){return Object(l.createElement)("div",{className:"block-editor-format-toolbar"},Object(l.createElement)(v.ToolbarGroup,null,["bold","italic","link","text-color"].map((function(e){return Object(l.createElement)(v.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(l.createElement)(v.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(l.createElement)(v.ToolbarItem,null,(function(t){return Object(l.createElement)(v.DropdownMenu,{icon:bl.a,label:Object(w.__)("More"),toggleProps:t,controls:Object(d.orderBy)(e.map((function(e){return Object(Me.a)(e,1)[0].props})),"title"),popoverProps:tb})}))}))))},rb=function(e){var t=e.inline,n=e.anchorRef;return t?Object(l.createElement)(v.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar",__unstableSlotName:"block-toolbar"},Object(l.createElement)(nb,null)):Object(l.createElement)(Za,null,Object(l.createElement)(nb,null))};function ob(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 cb(e){for(var t=1;t0,Ie=a,xe=s;Array.isArray(a)&&(Ie=p.children.toHTML(a),xe=function(e){return s(p.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var Pe=Object(l.useCallback)((function(e,t){Ee(ae,P,e,t)}),[ae,P]),Te=Object(l.useCallback)((function(e){var t=e.value,n=e.isReverse;S&&S(!n),w&&Object(c.isEmpty)(t)&&n&&w(!n)}),[S,w]),Ne=Object(l.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(j&&B){var n=[],r=Object(c.split)(e),o=Object(Me.a)(r,2),i=o[0],a=o[1],l=t.length>0,s=-1;l&&Object(c.isEmpty)(i)||(n.push(B(Object(c.toHTMLString)({value:i,multilineTag:we}))),s+=1),l?(n.push.apply(n,Object(pe.a)(t)),s+=t.length):x&&n.push(x()),(l||x)&&Object(c.isEmpty)(a)||n.push(B(Object(c.toHTMLString)({value:a,multilineTag:we})));var u=l?s:1,d=l?-1:null;j(n,u,d)}}),[j,B,we,x]),De=Object(l.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=j&&B;if(j){var i=Object(p.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),a=Object(p.findTransform)(i,(function(e){return e.regExp.test(t.text)}));a&&(j([a.transform({content:t.text})]),Ce())}if(f)r?R||n(Object(c.insert)(t,"\n")):o&&Object(c.__unstableIsEmptyLine)(t)?Ne(t):n(Object(c.__unstableInsertLineSeparator)(t));else{var l=t.text,s=t.start,u=t.end,d=I&&s===u&&u===l.length;r||!o&&!d?R||n(Object(c.insert)(t,"\n")):!o&&d?I():o&&Ne(t)}}),[j,B,Ce,f,Ne,I]),Ae=Object(l.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,i=e.plainText,a=e.files,l=e.activeFormats;if(N)n(Object(c.insert)(t,Object(c.create)({text:i})));else{if(a&&a.length&&!r){var s=Object(p.pasteHandler)({HTML:eb(a),mode:"BLOCKS",tagName:o,preserveWhiteSpace:T});return window.console.log("Received items:\n\n",a),void(j&&Object(c.isEmpty)(t)?j(s):Ne(t,s))}var u,d=j&&B?"AUTO":"INLINE";"AUTO"===d&&Object(c.isEmpty)(t)&&(u=i,Object(Xd.regexp)(".*").test(u))&&(d="BLOCKS"),D&&Object(c.isEmpty)(t)&&Object(gs.isURL)(i.trim())&&(d="BLOCKS");var b=Object(p.pasteHandler)({HTML:r,plainText:i,mode:d,tagName:o,preserveWhiteSpace:T});if("string"==typeof b){var m=Object(c.create)({html:b});if(l.length)for(var v=m.formats.length;v--;)m.formats[v]=[].concat(Object(pe.a)(l),Object(pe.a)(m.formats[v]||[]));f&&(m=Object(c.replace)(m,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,m))}else b.length>0&&(j&&Object(c.isEmpty)(t)?j(b,b.length-1,-1):Ne(t,b))}}),[o,j,B,Ne,D,f,T,N]),Re=Object(l.useCallback)((function(e,t){if(j){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),i=Object(p.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),a=Object(p.findTransform)(i,(function(e){var t=e.prefix;return o===t}));if(a){var l=t(Object(c.slice)(e,n,r.length)),s=a.transform(l);j([s]),Ce()}}}}),[j,Ce]),Le=Object(l.createElement)(c.__experimentalRichText,{clientId:ae,identifier:P,ref:ce,value:Ie,onChange:xe,selectionStart:be,selectionEnd:fe,onSelectionChange:Pe,tagName:o,placeholder:k,allowedFormats:Se,withoutInteractiveFormatting:C,onEnter:De,onDelete:Te,onPaste:Ae,__unstableIsSelected:me,__unstableInputRule:Re,__unstableMultilineTag:we,__unstableIsCaretWithinFormattedText:de,__unstableOnEnterFormattedText:ye,__unstableOnExitFormattedText:_e,__unstableOnCreateUndoLevel:ke,__unstableMarkAutomaticChange:Ce,__unstableDidAutomaticChange:ve,__unstableUndo:Oe,__unstableDisableFormats:A,preserveWhiteSpace:T,disabled:ge,unstableOnFocus:L,__unstableAllowPrefixTransformations:M,__unstableMultilineRootTag:F,onCaretVerticalPositionChange:le,blockIsSelected:void 0!==d?d:se,shouldBlurOnUnmount:he,__unstableMobileNoFocusOnMount:V,deleteEnter:H,placeholderTextColor:z,textAlign:G,selectionColor:U,tagsToEliminate:W,rootTagsToEliminate:K,disableEditingMenu:q,fontSize:$,fontFamily:Y,fontWeight:X,fontStyle:Q,minWidth:Z,maxWidth:J,onBlur:ee,setRef:te,id:ne.id,style:ne.style},(function(e){var t=e.isSelected,n=e.value,o=e.onChange,c=e.onFocus,a=e.editableProps,s=e.editableTagName;return Object(l.createElement)(l.Fragment,null,r&&r({value:n,onChange:o,onFocus:c}),t&&Be&&Object(l.createElement)(rb,{inline:v,anchorRef:ce.current}),t&&Object(l.createElement)(Jd,null),Object(l.createElement)(Gr,{onReplace:j,completers:O,record:n,onChange:o,isSelected:t,contentRef:ce},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(l.createElement)(s,Object(i.a)({},a,ne,{style:ne.style?cb(cb({},ne.style),a.style):a.style,className:u()("block-editor-rich-text__editable",ne.className,a.className,{"keep-placeholder-on-focus":y}),"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,onKeyDown:function(e){r(e),a.onKeyDown(e)}}))})))}));return g?(Ul()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(l.createElement)("div",{className:u()("block-editor-rich-text",g)},Le)):Le}));lb.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(Fe.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=p.children.toHTML(t));var c=ib(r);!t&&c&&(t="<".concat(c,">"));var i=Object(l.createElement)(l.RawHTML,null,t);return n?Object(l.createElement)(n,Object(d.omit)(o,["format"]),i):i},lb.isEmpty=function(e){return!e||0===e.length},lb.Content.defaultProps={format:"string",value:""};var sb=lb;function ub(e){var t=e.value,n=e.onChange;return Object(l.createElement)(Td,null,Object(l.createElement)(sb,{value:t,onChange:n,placeholder:Object(w.__)("Navigation item"),keepPlaceholderOnFocus:!0,withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic","core/image","core/strikethrough"]}))}var db=n(313);var bb=function(e){var t=e.icon,n=void 0===t?db.a:t,r=e.label,o=void 0===r?Object(w.__)("Choose variation"):r,c=e.instructions,i=void 0===c?Object(w.__)("Select a variation to start with."):c,a=e.variations,s=e.onSelect,d=e.allowSkip,b=u()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(l.createElement)(v.Placeholder,{icon:n,label:o,instructions:i,className:b},Object(l.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list","aria-label":Object(w.__)("Block variations")},a.map((function(e){return Object(l.createElement)("li",{key:e.name},Object(l.createElement)(v.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return s(e)},className:"block-editor-block-variation-picker__variation",label:e.description||e.title}),Object(l.createElement)("span",{className:"block-editor-block-variation-picker__variation-label",role:"presentation"},e.title))}))),d&&Object(l.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(l.createElement)(v.Button,{isLink:!0,onClick:function(){return s()}},Object(w.__)("Skip"))))},fb=function(e,t){if(t&&e){var n=t.filter((function(t){var n=t.attributes;return!(!n||!Object.keys(n).length)&&Object(d.isMatch)(e,n)}));if(1===n.length)return n[0]}};function pb(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}var mb=function(e){var t=e.blockClientId,n=Object(l.useState)(),r=Object(Me.a)(n,2),o=r[0],c=r[1],i=Object(m.useDispatch)("core/block-editor").updateBlockAttributes,s=Object(m.useSelect)((function(e){var n=e(p.store).getBlockVariations,r=e("core/block-editor"),o=r.getBlockName,c=r.getBlockAttributes,i=t&&o(t);return{variations:i&&n(i,"transform"),blockAttributes:c(t)}}),[t]),u=s.variations,d=s.blockAttributes;if(Object(l.useEffect)((function(){var e;c(null===(e=fb(d,u))||void 0===e?void 0:e.name)}),[d,u]),null==u||!u.length)return null;var b=u.map((function(e){return{value:e.name,label:e.title,info:e.description}})),f=function(e){i(t,function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(l.useRef)(),r=h(),o=r.clientId,c=Object(b.useViewportMatch)("medium","<"),a=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockName,r=t.isBlockSelected,i=t.hasSelectedInnerBlock,a=(0,t.isNavigationMode)()||c;return"core/template"!==n(o)&&!r(o)&&!i(o,!0)&&a}),[o,c]),s=e.ref||n,d=t.value&&t.onChange?Wb:Ub;return Gb(Gb({},e),{},{ref:s,className:u()(e.className,"block-editor-block-list__layout",{"has-overlay":a}),children:Object(l.createElement)(d,Object(i.a)({},t,{clientId:o,wrapperRef:s}))})}Kb.DefaultBlockAppender=Mb,Kb.ButtonBlockAppender=Lb,Kb.Content=Object(p.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(l.createElement)(t,null)}));var $b=Kb,Yb=n(220);function Xb(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 Qb(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var c=!(t&&t.length);if(c||!(t.length<2||!o&&Object(gs.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({selectedSuggestion:null,loading:!0});var i=r(t,{isInitialSuggestions:c});i.then((function(t){e.suggestionsRequest===i&&(e.setState({suggestions:t,loading:!1,showSuggestions:!!t.length}),t.length?e.props.debouncedSpeak(Object(w.sprintf)(Object(w._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(w.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===i&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=i}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t.trim())}},{key:"onFocus",value:function(){var e=this.state.suggestions,t=this.props,n=t.disableSuggestions,r=t.value;!r||n||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(r.trim())}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,c=t.loading;if(n&&o.length&&!c){var i=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Ht.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Ht.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Ht.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(i),this.props.speak(Object(w.__)("Link selected.")));break;case Ht.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(i))}}else switch(e.keyCode){case Ht.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Ht.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){return Object(l.createElement)(l.Fragment,null,this.renderControl(),this.renderSuggestions())}},{key:"renderControl",value:function(){var e=this.props,t=e.label,n=e.className,r=e.isFullWidth,o=e.instanceId,c=e.placeholder,i=void 0===c?Object(w.__)("Paste URL or type to search"):c,a=e.__experimentalRenderControl,s=e.value,d=void 0===s?"":s,b=this.state,f=b.loading,p=b.showSuggestions,m=b.selectedSuggestion,g=b.suggestionsListboxId,O=b.suggestionOptionIdPrefix,h={id:"url-input-control-".concat(o),label:t,className:u()("block-editor-url-input",n,{"is-full-width":r})},j={value:d,required:!0,className:"block-editor-url-input__input",type:"text",onChange:this.onChange,onFocus:this.onFocus,placeholder:i,onKeyDown:this.onKeyDown,role:"combobox","aria-label":Object(w.__)("URL"),"aria-expanded":p,"aria-autocomplete":"list","aria-owns":g,"aria-activedescendant":null!==m?"".concat(O,"-").concat(m):void 0,ref:this.inputRef};return a?a(h,j,f):Object(l.createElement)(v.BaseControl,h,Object(l.createElement)("input",j),f&&Object(l.createElement)(v.Spinner,null))}},{key:"renderSuggestions",value:function(){var e=this,t=this.props,n=t.className,r=t.__experimentalRenderSuggestions,o=t.value,c=void 0===o?"":o,a=t.__experimentalShowInitialSuggestions,s=void 0!==a&&a,b=this.state,f=b.showSuggestions,p=b.suggestions,m=b.selectedSuggestion,g=b.suggestionsListboxId,O=b.suggestionOptionIdPrefix,h=b.loading,j={id:g,ref:this.autocompleteRef,role:"listbox"},k=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(O,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===m}};return Object(d.isFunction)(r)&&f&&p.length?r({suggestions:p,selectedSuggestion:m,suggestionsListProps:j,buildSuggestionItemProps:k,isLoading:h,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:s&&!(c&&c.length)}):!Object(d.isFunction)(r)&&f&&p.length?Object(l.createElement)(v.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(l.createElement)("div",Object(i.a)({},j,{className:u()("block-editor-url-input__suggestions","".concat(n,"__suggestions"))}),p.map((function(t,n){return Object(l.createElement)(v.Button,Object(i.a)({},k(0,n),{key:t.id,className:u()("block-editor-url-input__suggestion",{"is-selected":n===m}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.instanceId,o=e.disableSuggestions,c=e.__experimentalShowInitialSuggestions,i=void 0!==c&&c,a=t.showSuggestions,l=n&&n.length;return i||l||(a=!1),!0===o&&(a=!1),{showSuggestions:a,suggestionsListboxId:"block-editor-url-input-suggestions-".concat(r),suggestionOptionIdPrefix:"block-editor-url-input-suggestion-".concat(r)}}}]),n}(l.Component),of=Object(b.compose)(b.withSafeTimeout,v.withSpokenMessages,b.withInstanceId,Object(m.withSelect)((function(e,t){if(!Object(d.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(rf),cf=function(e){var t,n=e.searchTerm,r=e.onClick,o=e.itemProps,c=e.isSelected,a=e.buttonText;return n?(t=a?Object(d.isFunction)(a)?a(n):a:Object(l.createInterpolateElement)(Object(w.sprintf)(Object(w.__)("Create: %s"),n),{mark:Object(l.createElement)("mark",null)}),Object(l.createElement)(v.Button,Object(i.a)({},o,{className:u()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":c}),onClick:r}),Object(l.createElement)(Vl.a,{className:"block-editor-link-control__search-item-icon",icon:Rl.a}),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-title"},t)))):null},af=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(l.createElement)(S.Path,{d:"M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z"})),lf=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,c=e.onClick,a=e.isURL,s=void 0!==a&&a,d=e.searchTerm,b=void 0===d?"":d,f=e.shouldShowType,p=void 0!==f&&f;return Object(l.createElement)(v.Button,Object(i.a)({},t,{onClick:c,className:u()("block-editor-link-control__search-item",{"is-selected":o,"is-url":s,"is-entity":!s})}),s&&Object(l.createElement)(Vl.a,{className:"block-editor-link-control__search-item-icon",icon:af}),Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(l.createElement)(v.TextHighlight,{text:n.title,highlight:b})),Object(l.createElement)("span",{"aria-hidden":!s,className:"block-editor-link-control__search-item-info"},!s&&(Object(gs.filterURLForDisplay)(Object(gs.safeDecodeURI)(n.url))||""),s&&Object(w.__)("Press ENTER to add this link"))),p&&n.type&&Object(l.createElement)("span",{className:"block-editor-link-control__search-item-type"},"post_tag"===n.type?"tag":n.type))};function sf(e){var t=e.instanceId,n=e.withCreateSuggestion,r=e.currentInputValue,o=e.handleSuggestionClick,c=e.suggestionsListProps,a=e.buildSuggestionItemProps,s=e.suggestions,d=e.selectedSuggestion,b=e.isLoading,f=e.isInitialSuggestions,p=e.createSuggestionButtonText,m=e.suggestionsQuery,g=u()("block-editor-link-control__search-results",{"is-loading":b}),O=["url","mailto","tel","internal"],h=1===s.length&&O.includes(s[0].type.toLowerCase()),j=n&&!h&&!f,k=!(null!=m&&m.type),y="block-editor-link-control-search-results-label-".concat(t),_=f?Object(w.__)("Recently updated"):Object(w.sprintf)(Object(w.__)('Search results for "%s"'),r),E=Object(l.createElement)(f?l.Fragment:v.VisuallyHidden,{},Object(l.createElement)("span",{className:"block-editor-link-control__search-results-label",id:y},_));return Object(l.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},E,Object(l.createElement)("div",Object(i.a)({},c,{className:g,"aria-labelledby":y}),s.map((function(e,t){return j&&"__CREATE__"===e.type?Object(l.createElement)(cf,{searchTerm:r,buttonText:p,onClick:function(){return o(e)},key:e.type,itemProps:a(e,t),isSelected:t===d}):"__CREATE__"===e.type?null:Object(l.createElement)(lf,{key:"".concat(e.id,"-").concat(e.type),itemProps:a(e,t),suggestion:e,index:t,onClick:function(){o(e)},isSelected:t===d,isURL:O.includes(e.type.toLowerCase()),searchTerm:r,shouldShowType:k})}))))}function uf(e){var t=Object(d.startsWith)(e,"#");return Object(gs.isURL)(e)||e&&e.includes("www.")||t}function df(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 bf(e){for(var t=1;t=1)&&k(gf(gf({},Object(d.omit)(c,"id","url")),n),n);case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t){return e.apply(this,arguments)}}();return Object(l.createElement)("form",{onSubmit:function(e){e.preventDefault(),W(G||{url:n})}},Object(l.createElement)(of,{className:a,value:n,onChange:function(e,t){h(e),U(t)},placeholder:null!=u?u:Object(w.__)("Search or type url"),__experimentalRenderSuggestions:_?function(e){return C(gf(gf({},e),{},{instanceId:V,withCreateSuggestion:p,currentInputValue:n,createSuggestionButtonText:L,suggestionsQuery:D,handleSuggestionClick:function(t){e.handleSuggestionClick&&e.handleSuggestionClick(t),W(t)}}))}:null,__experimentalFetchLinkSuggestions:F,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:T,ref:t}),r)})),jf=hf,kf=Object(v.createSlotFill)("BlockEditorLinkControlViewer"),yf=kf.Slot,_f=kf.Fill;function Ef(e){var t=e.value,n=e.onEditClick,r=t&&Object(gs.filterURLForDisplay)(Object(gs.safeDecodeURI)(t.url),16)||"";return Object(l.createElement)("div",{"aria-label":Object(w.__)("Currently selected"),"aria-selected":"true",className:u()("block-editor-link-control__search-item",{"is-current":!0})},Object(l.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(l.createElement)(v.ExternalLink,{className:"block-editor-link-control__search-item-title",href:t.url},t&&t.title||r),t&&t.title&&Object(l.createElement)("span",{className:"block-editor-link-control__search-item-info"},r)),Object(l.createElement)(v.Button,{isSecondary:!0,onClick:function(){return n()},className:"block-editor-link-control__search-item-action"},Object(w.__)("Edit")),Object(l.createElement)(yf,{fillProps:t}))}var Cf=function(e){var t=!1;return{promise:new Promise((function(n,r){e.then((function(e){return t?r({isCanceled:!0}):n(e)}),(function(e){return r(t?{isCanceled:!0}:e)}))})),cancel:function(){t=!0}}};function wf(e){var t=e.searchInputPlaceholder,n=e.value,r=e.settings,o=e.onChange,c=void 0===o?d.noop:o,i=e.noDirectEntry,a=void 0!==i&&i,s=e.showSuggestions,u=void 0===s||s,b=e.showInitialSuggestions,f=e.forceIsEditingLink,p=e.createSuggestion,m=e.withCreateSuggestion,g=e.inputValue,O=void 0===g?"":g,h=e.suggestionsQuery,j=void 0===h?{}:h,k=e.noURLSuggestion,y=void 0!==k&&k,_=e.createSuggestionButtonText;void 0===m&&p&&(m=!0);var E=Object(l.useRef)(!0),C=Object(l.useRef)(),S=Object(l.useState)(n&&n.url||""),B=Object(Me.a)(S,2),I=B[0],x=B[1],P=O||I,T=Object(l.useState)(void 0!==f?f:!n||!n.url),N=Object(Me.a)(T,2),D=N[0],A=N[1],R=Object(l.useRef)(!1);Object(l.useEffect)((function(){void 0!==f&&f!==D&&A(f)}),[f]),Object(l.useEffect)((function(){if(E.current)E.current=!1;else{if(!C.current.contains(C.current.ownerDocument.activeElement))(rl.focus.focusable.find(C.current)[0]||C.current).focus();R.current=!1}}),[D]);var L=function(e){var t=Object(l.useRef)(),n=Object(l.useState)(!1),r=Object(Me.a)(n,2),o=r[0],c=r[1],i=Object(l.useState)(null),a=Object(Me.a)(i,2),s=a[0],u=a[1],d=function(){var n=Object(el.a)(ei.a.mark((function n(r){return ei.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c(!0),u(null),n.prev=2,t.current=Cf(Promise.resolve(e(r))),n.next=6,t.current.promise;case 6:return n.abrupt("return",n.sent);case 9:if(n.prev=9,n.t0=n.catch(2),!n.t0||!n.t0.isCanceled){n.next=13;break}return n.abrupt("return");case 13:throw u(n.t0.message||Object(w.__)("An unknown error occurred during creation. Please try again.")),n.t0;case 15:return n.prev=15,c(!1),n.finish(15);case 18:case"end":return n.stop()}}),n,null,[[2,9,15,18]])})));return function(e){return n.apply(this,arguments)}}();return Object(l.useEffect)((function(){return function(){t.current&&t.current.cancel()}}),[]),{createPage:d,isCreatingPage:o,errorMessage:s}}(p),M=L.createPage,F=L.isCreatingPage,V=L.errorMessage;return Object(l.createElement)("div",{tabIndex:-1,ref:C,className:"block-editor-link-control"},F&&Object(l.createElement)("div",{className:"block-editor-link-control__loading"},Object(l.createElement)(v.Spinner,null)," ",Object(w.__)("Creating"),"…"),(D||!n)&&!F&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(l.createElement)(jf,{currentLink:n,className:"block-editor-link-control__search-input",placeholder:t,value:P,withCreateSuggestion:m,onCreateSuggestion:M,onChange:x,onSelect:function(e){var t;c(e),R.current=!(null===(t=C.current)||void 0===t||!t.contains(C.current.ownerDocument.activeElement)),A(!1)},showInitialSuggestions:b,allowDirectEntry:!a,showSuggestions:u,suggestionsQuery:j,withURLSuggestion:!y,createSuggestionButtonText:_},Object(l.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(l.createElement)(v.Button,{type:"submit",label:Object(w.__)("Submit"),icon:Yb.a,className:"block-editor-link-control__search-submit"})))),V&&Object(l.createElement)(v.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},V)),n&&!D&&!F&&Object(l.createElement)(Ef,{value:n,onEditClick:function(){return A(!0)}}),Object(l.createElement)(Jb,{value:n,settings:r,onChange:c}))}wf.ViewerFill=_f;var Sf=wf,Bf=n(314),If=n(221),xf=Object(v.withFilters)("editor.MediaUpload")((function(){return null}));var Pf=function(e){var t=e.fallback,n=void 0===t?null:t,r=e.children;return Object(m.useSelect)((function(e){return!!(0,e("core/block-editor").getSettings)().mediaUpload}),[])?r:n},Tf=Object(b.compose)([Object(m.withDispatch)((function(e){var t=e(us.store);return{createNotice:t.createNotice,removeNotice:t.removeNotice}})),Object(v.withFilters)("editor.MediaReplaceFlow")])((function(e){var t=e.mediaURL,n=e.mediaId,r=e.allowedTypes,o=e.accept,c=e.onSelect,i=e.onSelectURL,a=e.onFilesUpload,s=void 0===a?d.noop:a,u=e.name,b=void 0===u?Object(w.__)("Replace"):u,f=e.createNotice,p=e.removeNotice,g=Object(l.useState)(t),O=Object(Me.a)(g,2),h=O[0],j=O[1],k=Object(m.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),y=Object(l.createRef)(),_=Object(d.uniqueId)("block-editor/media-replace-flow/error-notice/"),E=function(e){var t=document.createElement("div");t.innerHTML=Object(l.renderToString)(e);var n=t.textContent||t.innerText||"";setTimeout((function(){f("error",n,{speak:!0,id:_,isDismissible:!0})}),1e3)},C=function(e){c(e),j(e.url),Object(ot.speak)(Object(w.__)("The media file has been replaced")),p(_)},S=function(e){e.keyCode===Ht.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return Object(l.createElement)(v.Dropdown,{popoverProps:{isAlternate:!0},contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(l.createElement)(v.ToolbarGroup,{className:"media-replace-flow"},Object(l.createElement)(v.ToolbarButton,{ref:y,"aria-expanded":t,"aria-haspopup":"true",onClick:n,onKeyDown:S},b))},renderContent:function(e){e.onClose;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.NavigableMenu,{className:"block-editor-media-replace-flow__media-upload-menu"},Object(l.createElement)(xf,{value:n,onSelect:function(e){return C(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(l.createElement)(v.MenuItem,{icon:Bf.a,onClick:t},Object(w.__)("Open Media Library"))}}),Object(l.createElement)(Pf,null,Object(l.createElement)(v.FormFileUpload,{onChange:function(e){!function(e){var t=e.target.files;s(t);k({allowedTypes:r,filesList:t,onFileChange:function(e){var t=Object(Me.a)(e,1)[0];C(t)},onError:E})}(e)},accept:o,render:function(e){var t=e.openFileDialog;return Object(l.createElement)(v.MenuItem,{icon:If.a,onClick:function(){t()}},Object(w.__)("Upload"))}}))),i&&Object(l.createElement)("form",{className:"block-editor-media-flow__url-input",onKeyDown:function(e){[Ht.TAB,Ht.ESCAPE].includes(e.keyCode)||e.stopPropagation()},onKeyPress:function(e){[Ht.TAB,Ht.ESCAPE].includes(e.keyCode)||e.stopPropagation()}},Object(l.createElement)("span",{className:"block-editor-media-replace-flow__image-url-label"},Object(w.__)("Current media URL:")),Object(l.createElement)(Sf,{value:{url:h},settings:[],showSuggestions:!1,onChange:function(e){var t=e.url;j(t),i(t),y.current.focus()}})))}})})),Nf=n(276);function Df(e){var t=e.url,n=e.urlLabel,r=e.className,o=u()(r,"block-editor-url-popover__link-viewer-url");return t?Object(l.createElement)(v.ExternalLink,{className:o,href:t},n||Object(gs.filterURLForDisplay)(Object(gs.safeDecodeURI)(t))):Object(l.createElement)("span",{className:o})}function Af(e){var t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,c=void 0===o?"bottom center":o,a=e.focusOnMount,s=void 0===a?"firstElement":a,u=Object(Fe.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),d=Object(l.useState)(!1),b=Object(Me.a)(d,2),f=b[0],p=b[1],m=!!r&&f;return Object(l.createElement)(v.Popover,Object(i.a)({className:"block-editor-url-popover",focusOnMount:s,position:c},u),Object(l.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(l.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(l.createElement)(v.Button,{className:"block-editor-url-popover__settings-toggle",icon:bl.a,label:Object(w.__)("Link settings"),onClick:function(){p(!f)},"aria-expanded":f})),m&&Object(l.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!m&&Object(l.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}Af.LinkEditor=function(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,c=Object(Fe.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(l.createElement)("form",Object(i.a)({className:u()("block-editor-url-popover__link-editor",n)},c),Object(l.createElement)(of,{value:o,onChange:r,autocompleteRef:t}),Object(l.createElement)(v.Button,{icon:Yb.a,label:Object(w.__)("Apply"),type:"submit"}))},Af.LinkViewer=function(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,c=e.urlLabel,a=Object(Fe.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(l.createElement)("div",Object(i.a)({className:u()("block-editor-url-popover__link-viewer",t)},a),Object(l.createElement)(Df,{url:o,urlLabel:c,className:n}),r&&Object(l.createElement)(v.Button,{icon:Nf.a,label:Object(w.__)("Edit"),onClick:r}))};var Rf=Af,Lf=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(l.createElement)(Rf,{onClose:o},Object(l.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(l.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(w.__)("URL"),placeholder:Object(w.__)("Paste or type URL"),onChange:n,value:t}),Object(l.createElement)(v.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:Yb.a,label:Object(w.__)("Apply"),type:"submit"})))};var Mf=Object(v.withFilters)("editor.MediaPlaceholder")((function(e){var t=e.value,n=void 0===t?{}:t,r=e.allowedTypes,o=e.className,c=e.icon,i=e.labels,a=void 0===i?{}:i,s=e.mediaPreview,b=e.notices,f=e.isAppender,p=e.accept,g=e.addToGallery,O=e.multiple,h=void 0!==O&&O,j=e.dropZoneUIOnly,k=e.disableDropZone,y=e.disableMediaButtons,_=e.onError,E=e.onSelect,C=e.onCancel,S=e.onSelectURL,B=e.onDoubleClick,I=e.onFilesPreUpload,x=void 0===I?d.noop:I,P=e.onHTMLDrop,T=void 0===P?d.noop:P,N=e.children,D=Object(m.useSelect)((function(e){return(0,e("core/block-editor").getSettings)().mediaUpload}),[]),A=Object(l.useState)(""),R=Object(Me.a)(A,2),L=R[0],M=R[1],F=Object(l.useState)(!1),V=Object(Me.a)(F,2),H=V[0],z=V[1];Object(l.useEffect)((function(){var e;M(null!==(e=null==n?void 0:n.src)&&void 0!==e?e:"")}),[null==n?void 0:n.src]);var G=function(e){M(e.target.value)},U=function(){z(!0)},W=function(){z(!1)},K=function(e){e.preventDefault(),L&&S&&(S(L),W())},q=function(e){var t;if(x(e),h)if(g){var o=[];t=function(e){var t=(null!=n?n:[]).filter((function(e){return e.id?!o.some((function(t){var n=t.id;return Number(n)===Number(e.id)})):!o.some((function(t){var n=t.urlSlug;return e.url.includes(n)}))}));E(t.concat(e)),o=e.map((function(e){var t=e.url.lastIndexOf("."),n=e.url.slice(0,t);return{id:e.id,urlSlug:n}}))}}else t=E;else t=function(e){var t=Object(Me.a)(e,1)[0];return E(t)};D({allowedTypes:r,filesList:e,onFileChange:t,onError:_})},$=function(e){q(e.target.files)},Y=function(e,t){var n=a.instructions,i=a.title;if(D||S||(n=Object(w.__)("To edit this block, you need permission to upload media.")),void 0===n||void 0===i){var d=null!=r?r:[],p=Object(Me.a)(d,1)[0],m=1===d.length,g=m&&"audio"===p,O=m&&"image"===p,h=m&&"video"===p;void 0===n&&D&&(n=Object(w.__)("Upload a media file or pick one from your media library."),g?n=Object(w.__)("Upload an audio file, pick one from your media library, or add one with a URL."):O?n=Object(w.__)("Upload an image file, pick one from your media library, or add one with a URL."):h&&(n=Object(w.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===i&&(i=Object(w.__)("Media"),g?i=Object(w.__)("Audio"):O?i=Object(w.__)("Image"):h&&(i=Object(w.__)("Video")))}var j=u()("block-editor-media-placeholder",o,{"is-appender":f});return Object(l.createElement)(v.Placeholder,{icon:c,label:i,instructions:n,className:j,notices:b,onClick:t,onDoubleClick:B,preview:s},e,N)},X=function(){return k?null:Object(l.createElement)(v.DropZone,{onFilesDrop:q,onHTMLDrop:T})},Q=function(){return C&&Object(l.createElement)(v.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(w.__)("Cancel"),isLink:!0,onClick:C},Object(w.__)("Cancel"))},Z=function(){return S&&Object(l.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(l.createElement)(v.Button,{className:"block-editor-media-placeholder__button",onClick:U,isPressed:H,isTertiary:!0},Object(w.__)("Insert from URL")),H&&Object(l.createElement)(Lf,{src:L,onChange:G,onSubmit:K,onClose:W}))};return j||y?(j&&Ul()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(l.createElement)(Pf,null,X())):Object(l.createElement)(Pf,{fallback:Y(Z())},function(){var e=Object(l.createElement)(xf,{addToGallery:g,gallery:h&&!(!r||0===r.length)&&r.every((function(e){return"image"===e||e.startsWith("image/")})),multiple:h,onSelect:E,allowedTypes:r,value:Array.isArray(n)?n.map((function(e){return e.id})):n.id,render:function(e){var t=e.open;return Object(l.createElement)(v.Button,{isTertiary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(w.__)("Media Library"))}});if(D&&f)return Object(l.createElement)(l.Fragment,null,X(),Object(l.createElement)(v.FormFileUpload,{onChange:$,accept:p,multiple:h,render:function(t){var n=t.openFileDialog,r=Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.Button,{isPrimary:!0,className:u()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(w.__)("Upload")),e,Z(),Q());return Y(r,n)}}));if(D){var t=Object(l.createElement)(l.Fragment,null,X(),Object(l.createElement)(v.FormFileUpload,{isPrimary:!0,className:u()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:$,accept:p,multiple:h},Object(w.__)("Upload")),e,Z(),Q());return Y(t)}return Y(e)}())})),Ff=Object(l.forwardRef)((function(e,t){return Object(l.createElement)(sb,Object(i.a)({ref:t},e,{__unstableDisableFormats:!0,preserveWhiteSpace:!0}))}));Ff.Content=function(e){var t=e.value,n=void 0===t?"":t,r=e.tagName,o=void 0===r?"div":r,c=Object(Fe.a)(e,["value","tagName"]);return Object(l.createElement)(o,c,n)};var Vf=Ff,Hf=Object(l.forwardRef)((function(e,t){var n=e.__experimentalVersion,r=Object(Fe.a)(e,["__experimentalVersion"]);if(2===n)return Object(l.createElement)(Vf,Object(i.a)({ref:t},r));var o=r.className,c=r.onChange,a=Object(Fe.a)(r,["className","onChange"]);return Object(l.createElement)(Nl.a,Object(i.a)({ref:t,className:u()("block-editor-plain-text",o),onChange:function(e){return c(e.target.value)}},a))}));function zf(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(b.useInstanceId)(zf),c=r||Object(w.sprintf)(Object(w._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(l.createElement)(v.VisuallyHidden,{as:"span",id:"rbc-desc-".concat(o)},c))}var Gf=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,c=e.renderDefaultControl,i=e.renderResponsiveControls,a=e.isResponsive,s=void 0!==a&&a,d=e.defaultLabel,b=void 0===d?{id:"all",label:Object(w.__)("All")}:d,f=e.viewports,p=void 0===f?[{id:"small",label:Object(w.__)("Small screens")},{id:"medium",label:Object(w.__)("Medium screens")},{id:"large",label:Object(w.__)("Large screens")}]:f;if(!t||!n||!c)return null;var m=r||Object(w.sprintf)(Object(w.__)("Use the same %s on all screensizes."),n),g=Object(w.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),O=c(Object(l.createElement)(zf,{property:n,viewport:b}),b);return Object(l.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(l.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(l.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(l.createElement)(v.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:m,checked:!s,onChange:o,help:g}),Object(l.createElement)("div",{className:u()("block-editor-responsive-block-control__group",{"is-responsive":s})},!s&&O,s&&(i?i(p):p.map((function(e){return Object(l.createElement)(l.Fragment,{key:e.id},c(Object(l.createElement)(zf,{property:n,viewport:e}),e))}))))))};function Uf(e){var t=e.character,n=e.type,r=e.onUse;return Object(b.useKeyboardShortcut)(Ht.rawShortcut[n](t),(function(){return r(),!1}),{bindGlobal:!0}),null}function Wf(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,c=Object(Fe.a)(e,["name","shortcutType","shortcutCharacter"]),a="RichText.ToolbarControls";return n&&(a+=".".concat(n)),r&&o&&(t=Ht.displayShortcut[r](o)),Object(l.createElement)(v.Fill,{name:a},Object(l.createElement)(v.ToolbarButton,Object(i.a)({},c,{shortcut:t})))}function Kf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Hn.a)(e);if(t){var o=Object(Hn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Vn.a)(this,n)}}var qf=function(e){Object(Fn.a)(n,e);var t=Kf(n);function n(){var e;return Object(Rn.a)(this,n),(e=t.apply(this,arguments)).onInput=e.onInput.bind(Object(Mn.a)(e)),e}return Object(Ln.a)(n,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),n}(l.Component),$f=Object(l.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(v.Path,{d:"M9.4 20.5L5.2 3.8l14.6 9-2 .3c-.2 0-.4.1-.7.1-.9.2-1.6.3-2.2.5-.8.3-1.4.5-1.8.8-.4.3-.8.8-1.3 1.5-.4.5-.8 1.2-1.2 2l-.3.6-.9 1.9zM7.6 7.1l2.4 9.3c.2-.4.5-.8.7-1.1.6-.8 1.1-1.4 1.6-1.8.5-.4 1.3-.8 2.2-1.1l1.2-.3-8.1-5z"}));var Yf=Object(l.forwardRef)((function(e,t){var n=Object(m.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),r=Object(m.useDispatch)("core/block-editor").setNavigationMode,o=function(e){r("edit"!==e)};return Object(l.createElement)(v.Dropdown,{renderToggle:function(r){var o=r.isOpen,c=r.onToggle;return Object(l.createElement)(v.Button,Object(i.a)({},e,{ref:t,icon:n?$f:Nf.a,"aria-expanded":o,"aria-haspopup":"true",onClick:c,label:Object(w.__)("Modes")}))},position:"bottom right",renderContent:function(){return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.NavigableMenu,{role:"menu","aria-label":Object(w.__)("Modes")},Object(l.createElement)(v.MenuItemsChoice,{value:n?"select":"edit",onSelect:o,choices:[{value:"edit",label:Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Vl.a,{icon:Nf.a}),Object(w.__)("Edit"))},{value:"select",label:Object(l.createElement)(l.Fragment,null,$f,Object(w.__)("Select"))}]})),Object(l.createElement)("div",{className:"block-editor-tool-selector__help"},Object(w.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})})),Xf=n(192),Qf=Object(l.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(S.Path,{d:"M9.737 18.011L3.98 12.255l5.734-6.28 1.107 1.012-4.103 4.494h13.3v1.5H6.828l3.97 3.97-1.06 1.06z"}));function Zf(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Object(Hn.a)(e);if(t){var o=Object(Hn.a)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Object(Vn.a)(this,n)}}var Jf=function(e){Object(Fn.a)(n,e);var t=Zf(n);function n(){var e;return Object(Rn.a)(this,n),(e=t.apply(this,arguments)).toggle=e.toggle.bind(Object(Mn.a)(e)),e.submitLink=e.submitLink.bind(Object(Mn.a)(e)),e.state={expanded:!1},e}return Object(Ln.a)(n,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(w.__)("Edit link"):Object(w.__)("Insert link");return Object(l.createElement)("div",{className:"block-editor-url-input__button"},Object(l.createElement)(v.Button,{icon:Xf.a,label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(l.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(l.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(l.createElement)(v.Button,{className:"block-editor-url-input__back",icon:Qf,label:Object(w.__)("Close"),onClick:this.toggle}),Object(l.createElement)(of,{value:t||"",onChange:n}),Object(l.createElement)(v.Button,{icon:Yb.a,label:Object(w.__)("Submit"),type:"submit"}))))}}]),n}(l.Component),ep=n(160),tp=["noreferrer","noopener"],np=Object(l.createElement)(v.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(v.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(l.createElement)(v.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(l.createElement)(v.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),rp=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,c=void 0===o?"image":o,i=e.mediaUrl,a=e.mediaLink,s=e.linkTarget,u=e.linkClass,b=e.rel,f=Object(l.useState)(!1),p=Object(Me.a)(f,2),m=p[0],g=p[1],O=Object(l.useCallback)((function(){g(!0)})),h=Object(l.useState)(!1),j=Object(Me.a)(h,2),k=j[0],y=j[1],_=Object(l.useState)(null),E=Object(Me.a)(_,2),C=E[0],S=E[1],B=Object(l.useRef)(null),I=Object(l.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),y(!0)})),x=Object(l.useCallback)((function(){y(!1)})),P=Object(l.useCallback)((function(){S(null),x(),g(!1)})),T=function(e){var t=e;return void 0===e||Object(d.isEmpty)(t)||Object(d.isEmpty)(t)||(Object(d.each)(tp,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(d.isEmpty)(t)&&(t=void 0)),t},N=Object(l.useCallback)((function(){return function(e){var t=B.current;t&&t.contains(e.target)||(g(!1),S(null),x())}})),D=Object(l.useCallback)((function(){return function(e){if(C){var t,r=(null===(t=R().find((function(e){return e.url===C})))||void 0===t?void 0:t.linkDestination)||"custom";n({href:C,linkDestination:r})}x(),S(null),e.preventDefault()}})),A=Object(l.useCallback)((function(){n({linkDestination:"none",href:""})})),R=function(){var e=[{linkDestination:"media",title:Object(w.__)("Media File"),url:"image"===c?i:void 0,icon:np}];return"image"===c&&a&&e.push({linkDestination:"attachment",title:Object(w.__)("Attachment Page"),url:"image"===c?a:void 0,icon:Object(l.createElement)(v.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(v.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(l.createElement)(v.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}),e},L=Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.ToggleControl,{label:Object(w.__)("Open in new tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||b?T(b):void 0}}(e);n(t)},checked:"_blank"===s}),Object(l.createElement)(v.TextControl,{label:Object(w.__)("Link Rel"),value:T(b)||"",onChange:function(e){n({rel:e})}}),Object(l.createElement)(v.TextControl,{label:Object(w.__)("Link CSS Class"),value:u||"",onChange:function(e){n({linkClass:e})}})),M=null!==C?C:r,F=(Object(d.find)(R(),["linkDestination",t])||{}).title;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.ToolbarButton,{icon:Xf.a,className:"components-toolbar__control",label:r?Object(w.__)("Edit link"):Object(w.__)("Insert link"),"aria-expanded":m,onClick:O}),m&&Object(l.createElement)(Rf,{onFocusOutside:N(),onClose:P,renderSettings:function(){return L},additionalControls:!M&&Object(l.createElement)(v.NavigableMenu,null,Object(d.map)(R(),(function(e){return Object(l.createElement)(v.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=R(),r=t?(Object(d.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),x()}},e.title)})))},(!r||k)&&Object(l.createElement)(Rf.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:M,onChangeInputValue:S,onSubmit:D(),autocompleteRef:B}),r&&!k&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Rf.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",url:r,onEditLinkClick:I,urlLabel:F}),Object(l.createElement)(v.Button,{icon:ep.a,label:Object(w.__)("Remove link"),onClick:A}))))},op=n(161);function cp(e){var t=e.children,n=e.className,r=e.isEnabled,o=void 0===r||r,c=e.deviceType,i=e.setDeviceType;if(Object(b.useViewportMatch)("small","<"))return null;var a={className:u()(n,"block-editor-post-preview__dropdown-content"),position:"bottom left"},s={isTertiary:!0,className:"block-editor-post-preview__button-toggle",disabled:!o,children:Object(w.__)("Preview")};return Object(l.createElement)(v.DropdownMenu,{className:"block-editor-post-preview__dropdown",popoverProps:a,toggleProps:s,icon:null},(function(){return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(v.MenuGroup,null,Object(l.createElement)(v.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Desktop")},icon:"Desktop"===c&&op.a},Object(w.__)("Desktop")),Object(l.createElement)(v.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Tablet")},icon:"Tablet"===c&&op.a},Object(w.__)("Tablet")),Object(l.createElement)(v.MenuItem,{className:"block-editor-post-preview__button-resize",onClick:function(){return i("Mobile")},icon:"Mobile"===c&&op.a},Object(w.__)("Mobile"))),t)}))}var ip=n(280),ap=/\((min|max)-width:[^\(]*?\)/g;function lp(e){return!!e.media&&!!e.media.mediaText.match(ap)}function sp(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function up(e,t){return e.replace(ap,(function(e){return Object(ip.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)"}))}function dp(e,t){Object(l.useEffect)((function(){if(t){var n,r,o,c="undefined"==typeof window?[]:Object(d.filter)(null!==(n=null===(r=window)||void 0===r||null===(o=r.document)||void 0===o?void 0:o.styleSheets)&&void 0!==n?n:[],(function(e){return!!e.href&&Object(gs.getProtocol)(e.href)===window.location.protocol&&Object(gs.getAuthority)(e.href)===window.location.host})),i=[];return c.forEach((function(n,r){for(var o=!1,c=0;c0,selectedBlockName:a,selectedBlockClientId:i,blockType:l}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,i=e.showNoBlockSelectedMessage,a=void 0===i||i,s=e.bubblesVirtually,u=void 0===s||s;if(n>1)return Object(l.createElement)("div",{className:"block-editor-block-inspector"},Object(l.createElement)(mp,null),Object(l.createElement)(ce.Slot,{bubblesVirtually:u}));var d=c===Object(p.getUnregisteredTypeHandlerName)();return t&&o&&!d?Object(l.createElement)(gp,{clientId:o,blockName:t.name,hasBlockStyles:r,bubblesVirtually:u}):a?Object(l.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(w.__)("No block selected.")):null})),jp=["p","div","h1","h2","h3","h4","h5","h6","ol","ul","li","figure","nav","pre","header","section","aside","footer","main"];function kp(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 yp(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?qp(qp({},n),{},{selectors:n.selectors.map((function(n){return t.includes(n.trim())?n:n.match($p)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},Xp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(d.map)(e,(function(e){var n=e.css,r=e.baseURL,o=e.__experimentalNoWrapper,c=[];return t&&!(void 0!==o&&o)&&c.push(Yp(t)),r&&c.push(Wp(r)),c.length?Vp(n,Object(b.compose)(c)):n}))};function Qp(e){var t=Object(l.useRef)([]);return Object(l.useCallback)((function(n){if(n){var r=Xp(e,".editor-styles-wrapper"),o=n.ownerDocument;t.current=Object(d.map)(Object(d.compact)(r),(function(e){var t=o.createElement("style");return t.innerHTML=e,o.body.appendChild(t),t})),function(e){var t=window.getComputedStyle(e,null).getPropertyValue("background-color"),n=e.ownerDocument.getElementsByTagName("body")[0];Be()(t).getLuminance()>.5?n.classList.remove("is-dark-theme"):n.classList.add("is-dark-theme")}(n)}else t.current.forEach((function(e){return e.ownerDocument.body.removeChild(e)}))}),[e])}var Zp=function(e){var t=e.rootClientId,n=e.clientId,r=e.isAppender,o=e.showInserterHelpPanel,c=e.showMostUsedBlocks,i=void 0!==c&&c,a=e.__experimentalSelectBlockOnInsert,s=e.__experimentalInsertionIndex,u=e.onSelect,b=void 0===u?d.noop:u,f=Object(m.useSelect)((function(e){var r=e("core/block-editor").getBlockRootClientId;return t||r(n)||void 0}),[n,t]);return Object(l.createElement)(Ps,{onSelect:b,rootClientId:f,clientId:n,isAppender:r,showInserterHelpPanel:o,showMostUsedBlocks:i,__experimentalSelectBlockOnInsert:a,__experimentalInsertionIndex:s})};function Jp(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder,o=t.getBlockRootClientId,c=n(),i=Object(Me.a)(c,1)[0];return{clientIds:c,rootBlocksClientIds:r(),rootClientId:o(i)}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=e.rootClientId,o=Object(m.useDispatch)("core/block-editor"),c=o.duplicateBlocks,i=o.removeBlocks,a=o.insertAfterBlock,s=o.insertBeforeBlock,u=o.multiSelect,b=o.clearSelectedBlock,f=o.moveBlocksUp,p=o.moveBlocksDown;return Object(Ja.useShortcut)("core/block-editor/move-up",Object(l.useCallback)((function(e){e.preventDefault(),f(t,r)}),[t,f]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ja.useShortcut)("core/block-editor/move-down",Object(l.useCallback)((function(e){e.preventDefault(),p(t,r)}),[t,p]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ja.useShortcut)("core/block-editor/duplicate",Object(l.useCallback)((function(e){e.preventDefault(),c(t)}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ja.useShortcut)("core/block-editor/remove",Object(l.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ja.useShortcut)("core/block-editor/insert-after",Object(l.useCallback)((function(e){e.preventDefault(),a(Object(d.last)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ja.useShortcut)("core/block-editor/insert-before",Object(l.useCallback)((function(e){e.preventDefault(),s(Object(d.first)(t))}),[t,s]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ja.useShortcut)("core/block-editor/delete-multi-selection",Object(l.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<2}),Object(Ja.useShortcut)("core/block-editor/select-all",Object(l.useCallback)((function(e){e.preventDefault(),u(Object(d.first)(n),Object(d.last)(n))}),[n,u])),Object(Ja.useShortcut)("core/block-editor/unselect",Object(l.useCallback)((function(e){e.preventDefault(),b(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges()}),[t,b]),{isDisabled:t.length<2}),null}Jp.Register=function(){var e=Object(m.useDispatch)(Ja.store).registerShortcut;return Object(l.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(w.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(w.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(w.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(w.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:Object(w.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(w.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:Object(w.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(w.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(w.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(w.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var em=Jp;function tm(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting,c=n();if(c&&!o()&&r())return c}),[]);Object(l.useEffect)((function(){if(t){var n=e.current.ownerDocument,r=at(t,n);if(r){var o=Object(rl.getScrollContainer)(r);o&&tf()(r,o,{onlyScrollIfNeeded:!0})}}}),[t])}function nm(){var e=Object(l.useRef)();return tm(e),Object(l.createElement)("div",{ref:e})}var rm=new Set([Ht.UP,Ht.RIGHT,Ht.DOWN,Ht.LEFT,Ht.ENTER,Ht.BACKSPACE]);function om(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor").stopTyping;Object(l.useEffect)((function(){if(t){var r,o,c=e.current.ownerDocument;return c.addEventListener("mousemove",i),function(){c.removeEventListener("mousemove",i)}}function i(e){var t=e.clientX,c=e.clientY;r&&o&&(r!==t||o!==c)&&n(),r=t,o=c}}),[t,n])}function cm(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor"),r=n.startTyping,o=n.stopTyping;om(e),Object(l.useEffect)((function(){var n=e.current,c=n.ownerDocument,i=c.defaultView;if(t){var a;function l(e){var t=e.target;a=i.setTimeout((function(){Object(rl.isTextField)(t)||o()}))}function s(e){var t=e.keyCode;t!==Ht.ESCAPE&&t!==Ht.TAB||o()}function u(){var e=i.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||o()}return n.addEventListener("focus",l),n.addEventListener("keydown",s),c.addEventListener("selectionchange",u),function(){i.clearTimeout(a),n.removeEventListener("focus",l),n.removeEventListener("keydown",s),c.removeEventListener("selectionchange",u)}}function d(e){var t=e.type,o=e.target;Object(rl.isTextField)(o)&&n.contains(o)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&rm.has(t)}(e))&&r()}return n.addEventListener("keypress",d),n.addEventListener("keydown",d),function(){n.removeEventListener("keypress",d),n.removeEventListener("keydown",d)}}),[t,r,o])}var im=function(e){var t=e.children,n=Object(l.useRef)();return cm(n),Object(l.createElement)("div",{ref:n},t)};function am(){return Ul()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var lm=-1!==window.navigator.userAgent.indexOf("Trident"),sm=new Set([Ht.UP,Ht.DOWN,Ht.LEFT,Ht.RIGHT]);function um(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedBlock()}));Object(l.useEffect)((function(){if(t){var n,r,o,c=e.current.ownerDocument,i=c.defaultView;return i.addEventListener("scroll",a,!0),i.addEventListener("resize",a,!0),e.current.addEventListener("keydown",l),e.current.addEventListener("keyup",s),e.current.addEventListener("mousedown",u),e.current.addEventListener("touchstart",u),function(){i.removeEventListener("scroll",a,!0),i.removeEventListener("resize",a,!0),e.current.removeEventListener("keydown",l),e.current.removeEventListener("keyup",s),e.current.removeEventListener("mousedown",u),e.current.removeEventListener("touchstart",u),c.removeEventListener("selectionchange",d),i.cancelAnimationFrame(n),i.cancelAnimationFrame(r)}}function a(){n||(n=i.requestAnimationFrame((function(){b(),n=null})))}function l(e){r&&i.cancelAnimationFrame(r),r=i.requestAnimationFrame((function(){s(e),r=null}))}function s(t){var n=t.keyCode;if(f()){var r=Object(rl.computeCaretRect)(i);if(r)if(o)if(sm.has(n))o=r;else{var a=r.top-o.top;if(0!==a){var l=Object(rl.getScrollContainer)(e.current);if(l){var s=l===c.body,u=s?i.scrollY:l.scrollTop,d=s?0:l.getBoundingClientRect().top,b=s?o.top/i.innerHeight:(o.top-d)/(i.innerHeight-d);if(0===u&&b<.75&&(p=e.current.querySelectorAll('[contenteditable="true"]'))[p.length-1]===c.activeElement)o=r;else{var p,m=s?i.innerHeight:l.clientHeight;o.top+o.height>d+m||o.top=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 c,i=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw c}}}}function vm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nbody{margin:0}"+t}(r,o),gm(r),t=r,Array.from(document.styleSheets).forEach((function(e){try{e.cssRules}catch(e){return}var n=e.ownerNode,r=e.cssRules;r&&Array.from(r).find((function(e){var t=e.selectorText;return t&&(t.includes(".".concat("editor-styles-wrapper"))||t.includes(".".concat("wp-block")))}))&&!t.getElementById(n.id)&&t.head.appendChild(n.cloneNode(!0))})),function(e){var t=e.defaultView,n=t.frameElement;function r(e){var r=Object.getPrototypeOf(e).constructor.name,o=window[r],c={};for(var i in e)c[i]=e[i];if(e instanceof t.MouseEvent){var a=n.getBoundingClientRect();c.clientX+=a.left,c.clientY+=a.top}var l=new o(e.type,c);!n.dispatchEvent(l)&&e.preventDefault()}for(var o=0,c=["keydown","keypress","dragover"];o1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=c=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=i(l,a,e+1/3),o=i(l,a,e),c=i(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*c}}(e.h,r,l),d=!0,b="hsl"),e.hasOwnProperty("a")&&(n=e.a));var f,p,m;return n=T(n),{ok:d,format:e.format||b,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=a++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,c=u(e,t,n),i=s(e,t,n),a=(c+i)/2;if(c==i)r=o=0;else{var l=c-i;switch(o=a>.5?l/(2-c-i):l/(c+i),c){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+o)%360,c.push(b(r));return c}function I(e,t){t=t||6;for(var n=b(e).toHsv(),r=n.h,o=n.s,c=n.v,i=[],a=1/t;t--;)i.push(b({h:r,s:o,v:c})),c=(c+a)%1;return i}b.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=T(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var c=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(M(r))];if(o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1))return c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0);return c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=b(e);n="#"+v(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return b(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var r=b(e).toRgb(),o=b(t).toRgb(),c=n/100;return b({r:(o.r-r.r)*c+r.r,g:(o.g-r.g)*c+r.g,b:(o.b-r.b)*c+r.b,a:(o.a-r.a)*c+r.a})},b.readability=function(e,t){var n=b(e),r=b(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},b.isReadable=function(e,t,n){var r,o,c=b.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=c>=4.5;break;case"AAlarge":o=c>=3;break;case"AAAsmall":o=c>=7}return o},b.mostReadable=function(e,t,n){var r,o,c,i,a=null,l=0;o=(n=n||{}).includeFallbackColors,c=n.level,i=n.size;for(var s=0;sl&&(l=r,a=b(t[s]));return b.isReadable(e,a,{level:c,size:i})||!o?a:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var x=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(x);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return s(1,u(0,e))}function A(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,z,G=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",z="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}(Math)},63:function(e,t){e.exports=window.wp.isShallowEqual},64:function(e,t){e.exports=window.wp.htmlEntities},7:function(e,t){e.exports=window.wp.primitives},71:function(e,t,n){e.exports=function(e,t){var n,r,o=0;function c(){var c,i,a=n,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(i=0;iu*c?{width:u*c,height:u}:{width:s,height:s/c}}function Qe(e,t,r,n,c){void 0===c&&(c=0);var o=st(t.width,t.height,c),a=o.width,i=o.height;return{x:et(e.x,a,r.width,n),y:et(e.y,i,r.height,n)}}function et(e,t,r,n){var c=t*n/2-r/2;return Math.min(c,Math.max(e,-c))}function tt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function rt(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function nt(e,t,r,n,c,o,a){void 0===o&&(o=0),void 0===a&&(a=!0);var i=a&&0===o?ct:ot,l={x:i(100,((t.width-r.width/c)/2-e.x/c)/t.width*100),y:i(100,((t.height-r.height/c)/2-e.y/c)/t.height*100),width:i(100,r.width/t.width*100/c),height:i(100,r.height/t.height*100/c)},s=Math.round(i(t.naturalWidth,l.width*t.naturalWidth/100)),u=Math.round(i(t.naturalHeight,l.height*t.naturalHeight/100)),b=t.naturalWidth>=t.naturalHeight*n?{width:Math.round(u*n),height:u}:{width:s,height:Math.round(s/n)};return{croppedAreaPercentages:l,croppedAreaPixels:Ze(Ze({},b),{x:Math.round(i(t.naturalWidth-b.width,l.x*t.naturalWidth/100)),y:Math.round(i(t.naturalHeight-b.height,l.y*t.naturalHeight/100))})}}function ct(e,t){return Math.min(e,Math.max(0,t))}function ot(e,t){return t}function at(e,t,r){var n=t.width/t.naturalWidth,c=function(e,t,r){var n=t.width/t.naturalWidth;if(r)return r.height>r.width?r.height/n/e.height:r.width/n/e.width;var c=e.width/e.height;return t.naturalWidth>=t.naturalHeight*c?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,r),o=n*c;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*o,y:((t.naturalHeight-e.height)/2-e.y)*o},zoom:c}}function it(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function lt(e,t,r,n,c){var o=Math.cos,a=Math.sin,i=c*Math.PI/180;return[(e-r)*o(i)-(t-n)*a(i)+r,(e-r)*a(i)+(t-n)*o(i)+n]}function st(e,t,r){var n=e/2,c=t/2,o=[lt(0,0,n,c,r),lt(e,0,n,c,r),lt(e,t,n,c,r),lt(0,t,n,c,r)],a=Math.min.apply(Math,o.map((function(e){return e[0]}))),i=Math.max.apply(Math,o.map((function(e){return e[0]}))),l=Math.min.apply(Math,o.map((function(e){return e[1]})));return{width:i-a,height:Math.max.apply(Math,o.map((function(e){return e[1]})))-l}}function ut(){for(var e=[],t=0;t0})).join(" ").trim()}var bt=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.imageRef=null,r.videoRef=null,r.containerRef=null,r.styleRef=null,r.containerRect=null,r.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},r.dragStartPosition={x:0,y:0},r.dragStartCrop={x:0,y:0},r.lastPinchDistance=0,r.lastPinchRotation=0,r.rafDragTimeout=null,r.rafPinchTimeout=null,r.wheelTimer=null,r.state={cropSize:null,hasWheelJustStarted:!1},r.preventZoomSafari=function(e){return e.preventDefault()},r.cleanEvents=function(){document.removeEventListener("mousemove",r.onMouseMove),document.removeEventListener("mouseup",r.onDragStopped),document.removeEventListener("touchmove",r.onTouchMove),document.removeEventListener("touchend",r.onDragStopped)},r.clearScrollEvent=function(){r.containerRef&&r.containerRef.removeEventListener("wheel",r.onWheel),r.wheelTimer&&clearTimeout(r.wheelTimer)},r.onMediaLoad=function(){r.computeSizes(),r.emitCropData(),r.setInitialCrop(),r.props.onMediaLoaded&&r.props.onMediaLoaded(r.mediaSize)},r.setInitialCrop=function(){var e=r.props,t=e.initialCroppedAreaPixels,n=e.cropSize;if(t){var c=at(t,r.mediaSize,n),o=c.crop,a=c.zoom;r.props.onCropChange(o),r.props.onZoomChange&&r.props.onZoomChange(a)}},r.computeSizes=function(){var e,t,n,c,o,a,i=r.imageRef||r.videoRef;if(i&&r.containerRef){r.containerRect=r.containerRef.getBoundingClientRect(),r.mediaSize={width:i.offsetWidth,height:i.offsetHeight,naturalWidth:(null===(e=r.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=r.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(n=r.imageRef)||void 0===n?void 0:n.naturalHeight)||(null===(c=r.videoRef)||void 0===c?void 0:c.videoHeight)||0};var l=r.props.cropSize?r.props.cropSize:Xe(i.offsetWidth,i.offsetHeight,r.containerRect.width,r.containerRect.height,r.props.aspect,r.props.rotation);(null===(o=r.state.cropSize)||void 0===o?void 0:o.height)===l.height&&(null===(a=r.state.cropSize)||void 0===a?void 0:a.width)===l.width||r.props.onCropSizeChange&&r.props.onCropSizeChange(l),r.setState({cropSize:l},r.recomputeCropPosition)}},r.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",r.onMouseMove),document.addEventListener("mouseup",r.onDragStopped),r.onDragStart(t.getMousePoint(e))},r.onMouseMove=function(e){return r.onDrag(t.getMousePoint(e))},r.onTouchStart=function(e){e.preventDefault(),document.addEventListener("touchmove",r.onTouchMove,{passive:!1}),document.addEventListener("touchend",r.onDragStopped),2===e.touches.length?r.onPinchStart(e):1===e.touches.length&&r.onDragStart(t.getTouchPoint(e.touches[0]))},r.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?r.onPinchMove(e):1===e.touches.length&&r.onDrag(t.getTouchPoint(e.touches[0]))},r.onDragStart=function(e){var t,n,c=e.x,o=e.y;r.dragStartPosition={x:c,y:o},r.dragStartCrop=Ze({},r.props.crop),null===(n=(t=r.props).onInteractionStart)||void 0===n||n.call(t)},r.onDrag=function(e){var t=e.x,n=e.y;r.rafDragTimeout&&window.cancelAnimationFrame(r.rafDragTimeout),r.rafDragTimeout=window.requestAnimationFrame((function(){if(r.state.cropSize&&void 0!==t&&void 0!==n){var e=t-r.dragStartPosition.x,c=n-r.dragStartPosition.y,o={x:r.dragStartCrop.x+e,y:r.dragStartCrop.y+c},a=r.props.restrictPosition?Qe(o,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):o;r.props.onCropChange(a)}}))},r.onDragStopped=function(){var e,t;r.cleanEvents(),r.emitCropData(),null===(t=(e=r.props).onInteractionEnd)||void 0===t||t.call(e)},r.onWheel=function(e){e.preventDefault();var n=t.getMousePoint(e),c=Je()(e).pixelY,o=r.props.zoom-c*r.props.zoomSpeed/200;r.setNewZoom(o,n),r.state.hasWheelJustStarted||r.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=r.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),r.wheelTimer&&clearTimeout(r.wheelTimer),r.wheelTimer=window.setTimeout((function(){return r.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=r.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},r.getPointOnContainer=function(e){var t=e.x,n=e.y;if(!r.containerRect)throw new Error("The Cropper is not mounted");return{x:r.containerRect.width/2-(t-r.containerRect.left),y:r.containerRect.height/2-(n-r.containerRect.top)}},r.getPointOnMedia=function(e){var t=e.x,n=e.y,c=r.props,o=c.crop,a=c.zoom;return{x:(t+o.x)/a,y:(n+o.y)/a}},r.setNewZoom=function(e,t){if(r.state.cropSize&&r.props.onZoomChange){var n=r.getPointOnContainer(t),c=r.getPointOnMedia(n),o=Math.min(r.props.maxZoom,Math.max(e,r.props.minZoom)),a={x:c.x*o-n.x,y:c.y*o-n.y},i=r.props.restrictPosition?Qe(a,r.mediaSize,r.state.cropSize,o,r.props.rotation):a;r.props.onCropChange(i),r.props.onZoomChange(o)}},r.getCropData=function(){return r.state.cropSize?nt(r.props.restrictPosition?Qe(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop,r.mediaSize,r.state.cropSize,r.getAspect(),r.props.zoom,r.props.rotation,r.props.restrictPosition):null},r.emitCropData=function(){var e=r.getCropData();if(e){var t=e.croppedAreaPercentages,n=e.croppedAreaPixels;r.props.onCropComplete&&r.props.onCropComplete(t,n),r.props.onCropAreaChange&&r.props.onCropAreaChange(t,n)}},r.emitCropAreaChange=function(){var e=r.getCropData();if(e){var t=e.croppedAreaPercentages,n=e.croppedAreaPixels;r.props.onCropAreaChange&&r.props.onCropAreaChange(t,n)}},r.recomputeCropPosition=function(){if(r.state.cropSize){var e=r.props.restrictPosition?Qe(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;r.props.onCropChange(e),r.emitCropData()}},r}return function(e,t){function r(){this.constructor=e}qe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&this.styleRef.remove(),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){var t,r,n,c,o,a,i,l;e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(t=e.cropSize)||void 0===t?void 0:t.height)!==(null===(r=this.props.cropSize)||void 0===r?void 0:r.height)||(null===(n=e.cropSize)||void 0===n?void 0:n.width)!==(null===(c=this.props.cropSize)||void 0===c?void 0:c.width)?this.computeSizes():(null===(o=e.crop)||void 0===o?void 0:o.x)===(null===(a=this.props.crop)||void 0===a?void 0:a.x)&&(null===(i=e.crop)||void 0===i?void 0:i.y)===(null===(l=this.props.crop)||void 0===l?void 0:l.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,r=e.aspect;return t?t.width/t.height:r},t.prototype.onPinchStart=function(e){var r=t.getTouchPoint(e.touches[0]),n=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=tt(r,n),this.lastPinchRotation=rt(r,n),this.onDragStart(it(r,n))},t.prototype.onPinchMove=function(e){var r=this,n=t.getTouchPoint(e.touches[0]),c=t.getTouchPoint(e.touches[1]),o=it(n,c);this.onDrag(o),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=tt(n,c),t=r.props.zoom*(e/r.lastPinchDistance);r.setNewZoom(t,o),r.lastPinchDistance=e;var a=rt(n,c),i=r.props.rotation+(a-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(i),r.lastPinchRotation=a}))},t.prototype.render=function(){var e=this,t=this.props,r=t.image,n=t.video,c=t.mediaProps,o=t.transform,a=t.crop,i=a.x,l=a.y,s=t.rotation,u=t.zoom,b=t.cropShape,m=t.showGrid,d=t.style,p=d.containerStyle,g=d.cropAreaStyle,h=d.mediaStyle,f=t.classes,O=f.containerClassName,v=f.cropAreaClassName,j=f.mediaClassName;return Ye.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:p,className:ut("reactEasyCrop_Container",O)},r?Ye.a.createElement("img",Ze({alt:"",className:ut("reactEasyCrop_Image",j)},c,{src:r,ref:function(t){return e.imageRef=t},style:Ze(Ze({},h),{transform:o||"translate("+i+"px, "+l+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):n&&Ye.a.createElement("video",Ze({autoPlay:!0,loop:!0,muted:!0,className:ut("reactEasyCrop_Video",j)},c,{src:n,ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:Ze(Ze({},h),{transform:o||"translate("+i+"px, "+l+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1})),this.state.cropSize&&Ye.a.createElement("div",{style:Ze(Ze({},g),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:ut("reactEasyCrop_CropArea","round"===b&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",v)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(Ye.a.Component),mt={position:"bottom right",isAlternate:!0},dt=r(50),pt=r.n(dt);var gt=r(33);function ht(e,t){var r=function(e){var t=e.url,r=e.naturalWidth,n=e.naturalHeight,c=Object(Q.useState)(),o=Object(be.a)(c,2),a=o[0],i=o[1],l=Object(Q.useState)(),s=Object(be.a)(l,2),u=s[0],b=s[1],m=Object(Q.useState)({x:0,y:0}),d=Object(be.a)(m,2),p=d[0],g=d[1],h=Object(Q.useState)(),f=Object(be.a)(h,2),O=f[0],v=f[1],j=Object(Q.useState)(),y=Object(be.a)(j,2),w=y[0],_=y[1],k=Object(Q.useState)(),E=Object(be.a)(k,2),C=E[0],x=E[1],S=Object(Q.useState)(),P=Object(be.a)(S,2),B=P[0],T=P[1],z=Object(Q.useCallback)((function(){g({x:0,y:0}),v(100),_(0),x(r/n),T(r/n)}),[r,n,g,v,_,x,T]),N=Object(Q.useCallback)((function(){var e=(w+90)%360,c=r/n;if(w%180==90&&(c=n/r),0===e)return i(),_(e),x(1/C),void g({x:-p.y*c,y:p.x*c});var o=new window.Image;o.src=t,o.onload=function(t){var r=document.createElement("canvas"),n=0,o=0;e%180?(r.width=t.target.height,r.height=t.target.width):(r.width=t.target.width,r.height=t.target.height),90!==e&&180!==e||(n=r.width),270!==e&&180!==e||(o=r.height);var a=r.getContext("2d");a.translate(n,o),a.rotate(e*Math.PI/180),a.drawImage(t.target,0,0),r.toBlob((function(t){i(URL.createObjectURL(t)),_(e),x(1/C),g({x:-p.y*c,y:p.x*c})}))};var a=Object(gt.applyFilters)("media.crossOrigin",void 0,t);"string"==typeof a&&(o.crossOrigin=a)}),[w,r,n,i,_,x,g]);return Object(Q.useMemo)((function(){return{editedUrl:a,setEditedUrl:i,crop:u,setCrop:b,position:p,setPosition:g,zoom:O,setZoom:v,rotation:w,setRotation:_,rotateClockwise:N,aspect:C,setAspect:x,defaultAspect:B,initializeTransformValues:z}}),[a,i,u,b,p,g,O,v,w,_,N,C,x,B,z])}(e),n=r.initializeTransformValues;return Object(Q.useEffect)((function(){t&&n()}),[t,n]),r}function ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t0&&(e.rotation=r),e.src=a,pt()({path:"/wp/v2/media/".concat(i,"/edit"),method:"POST",data:e}).then((function(e){l({id:e.id,url:e.source_url,height:n&&c?c/o:void 0})})).catch((function(e){u(Object(X.sprintf)(Object(X.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})})).finally((function(){p(!1),s()}))}),[p,t,r,n,c,o,a,l,u,p,s]);return Object(Q.useMemo)((function(){return{isInProgress:d,apply:h,cancel:g}}),[d,h,g])}(Ot({id:t,url:r,onSaveImage:i,onFinishEditing:a},s)),b=Object(Q.useMemo)((function(){return Ot(Ot({},s),u)}),[s,u]);return Object(Q.createElement)(vt.Provider,{value:b},l)}function wt(e){var t=e.url,r=e.width,n=e.height,c=e.clientWidth,o=e.naturalHeight,a=e.naturalWidth,i=jt(),l=i.isInProgress,s=i.editedUrl,u=i.position,b=i.zoom,m=i.aspect,d=i.setPosition,p=i.setCrop,g=i.setZoom,h=n||c*o/a;return i.rotation%180==90&&(h=c*a/o),Object(Q.createElement)("div",{className:ne()("wp-block-image__crop-area",{"is-applying":l}),style:{width:r||c,height:h}},Object(Q.createElement)(bt,{image:s||t,disabled:l,minZoom:1,maxZoom:3,crop:u,zoom:b/100,aspect:m,onCropChange:d,onCropComplete:function(e){p(e)},onZoomChange:function(e){g(100*e)}}),l&&Object(Q.createElement)(me.Spinner,null))}var _t=r(217);function kt(){var e=jt(),t=e.isInProgress,r=e.zoom,n=e.setZoom;return Object(Q.createElement)(me.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:mt,renderToggle:function(e){var r=e.isOpen,n=e.onToggle;return Object(Q.createElement)(me.ToolbarButton,{icon:_t.a,label:Object(X.__)("Zoom"),onClick:n,"aria-expanded":r,disabled:t})},renderContent:function(){return Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Zoom"),min:100,max:300,value:Math.round(r),onChange:n})}})}var Et=r(161),Ct=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function xt(e){var t=e.aspectRatios,r=e.isDisabled,n=e.label,c=e.onClick,o=e.value;return Object(Q.createElement)(me.MenuGroup,{label:n},t.map((function(e){var t=e.title,n=e.aspect;return Object(Q.createElement)(me.MenuItem,{key:n,disabled:r,onClick:function(){c(n)},role:"menuitemradio",isSelected:n===o,icon:n===o?Et.a:void 0},t)})))}function St(e){var t=e.toggleProps,r=jt(),n=r.isInProgress,c=r.aspect,o=r.setAspect,a=r.defaultAspect;return Object(Q.createElement)(me.DropdownMenu,{icon:Ct,label:Object(X.__)("Aspect Ratio"),popoverProps:mt,toggleProps:t,className:"wp-block-image__aspect-ratio"},(function(e){var t=e.onClose;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(xt,{isDisabled:n,onClick:function(e){o(e),t()},value:c,aspectRatios:[{title:Object(X.__)("Original"),aspect:a},{title:Object(X.__)("Square"),aspect:1}]}),Object(Q.createElement)(xt,{label:Object(X.__)("Landscape"),isDisabled:n,onClick:function(e){o(e),t()},value:c,aspectRatios:[{title:Object(X.__)("16:10"),aspect:1.6},{title:Object(X.__)("16:9"),aspect:16/9},{title:Object(X.__)("4:3"),aspect:4/3},{title:Object(X.__)("3:2"),aspect:1.5}]}),Object(Q.createElement)(xt,{label:Object(X.__)("Portrait"),isDisabled:n,onClick:function(e){o(e),t()},value:c,aspectRatios:[{title:Object(X.__)("10:16"),aspect:.625},{title:Object(X.__)("9:16"),aspect:9/16},{title:Object(X.__)("3:4"),aspect:3/4},{title:Object(X.__)("2:3"),aspect:2/3}]}))}))}var Pt=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function Bt(){var e=jt(),t=e.isInProgress,r=e.rotateClockwise;return Object(Q.createElement)(me.ToolbarButton,{icon:Pt,label:Object(X.__)("Rotate"),onClick:r,disabled:t})}function Tt(){var e=jt(),t=e.isInProgress,r=e.apply,n=e.cancel;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ToolbarButton,{onClick:r,disabled:t},Object(X.__)("Apply")),Object(Q.createElement)(me.ToolbarButton,{onClick:n},Object(X.__)("Cancel")))}function zt(e){var t=e.url,r=e.width,n=e.height,c=e.clientWidth,o=e.naturalHeight,a=e.naturalWidth;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(wt,{url:t,width:r,height:n,clientWidth:c,naturalHeight:o,naturalWidth:a}),Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(kt,null),Object(Q.createElement)(me.ToolbarItem,null,(function(e){return Object(Q.createElement)(St,{toggleProps:e})}))),Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(Bt,null)),Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(Tt,null))))}var Nt=["image"];function Mt(e){var t=e.attributes,r=t.url,n=void 0===r?"":r,c=t.alt,o=t.caption,a=t.align,i=t.id,l=t.href,s=t.rel,u=t.linkClass,b=t.linkDestination,m=t.title,d=t.width,p=t.height,g=t.linkTarget,h=t.sizeSlug,f=e.setAttributes,O=e.isSelected,v=e.insertBlocksAfter,j=e.onReplace,y=e.onSelectImage,w=e.onSelectURL,_=e.onUploadError,k=e.containerRef,E=Object(Q.useRef)(),C=Object(xe.usePrevious)(n),x=Object(de.useSelect)((function(e){var t=e("core").getMedia,r=e("core/block-editor"),n=r.getMultiSelectedBlockClientIds,c=r.getBlockName,o=r.getSelectedBlock,a=r.getSelectedBlockClientId,l=n();return{block:o(),currentId:a(),image:i&&O?t(i):null,multiImageSelection:l.length&&l.every((function(e){return"core/image"===c(e)}))}}),[i,O]),S=x.block,P=x.currentId,B=x.image,T=x.multiImageSelection,z=Object(de.useSelect)((function(e){var t=e("core/block-editor").getSettings;return Object(J.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])})),N=z.imageEditing,M=z.imageSizes,R=z.maxWidth,V=z.mediaUpload,A=Object(de.useDispatch)("core/block-editor"),H=A.replaceBlocks,L=A.toggleSelection,I=Object(de.useDispatch)(ze.store),D=I.createErrorNotice,G=I.createSuccessNotice,F=Object(xe.useViewportMatch)("medium"),U=Object(Q.useState)(!1),W=Object(be.a)(U,2),q=W[0],Z=W[1],$=Object(J.includes)(["wide","full"],a),ee=Object(Q.useState)({}),te=Object(be.a)(ee,2),re=te[0],ne=re.naturalWidth,ce=re.naturalHeight,oe=te[1],ae=Object(Q.useState)(!1),ie=Object(be.a)(ae,2),le=ie[0],se=ie[1],ue=Object(Q.useState)(),pe=Object(be.a)(ue,2),ge=pe[0],he=pe[1],fe=function(e,t){var r=Object(Q.useState)(),n=Object(be.a)(r,2),c=n[0],o=n[1];function a(){o(e.current.clientWidth)}return Object(Q.useEffect)(a,t),Object(Q.useEffect)((function(){var t=e.current.ownerDocument.defaultView;return t.addEventListener("resize",a),function(){t.removeEventListener("resize",a)}}),[]),c}(k,[a]),Oe=!$&&F,ve=Object(J.map)(Object(J.filter)(M,(function(e){var t=e.slug;return Object(J.get)(B,["media_details","sizes",t,"source_url"])})),(function(e){var t=e.name;return{value:e.slug,label:t}})),je=!!Object(K.getBlockType)("core/cover");Object(Q.useEffect)((function(){O||Z(!1)}),[O]),Object(Q.useEffect)((function(){Ht(i,n)&&O&&!ge&&window.fetch(n).then((function(e){return e.blob()})).then((function(e){return he(e)}))}),[i,n,O,ge]),Object(Q.useEffect)((function(){n&&!C&&O&&E.current.focus()}),[n,C]),Object(Q.useEffect)((function(){O||se(!1)}),[O]);var ye,we=i&&ne&&ce&&N,_e=!T&&we&&!le,ke=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,!T&&!le&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(Y.__experimentalImageURLInputUI,{url:l||"",onChangeUrl:function(e){f(e)},linkDestination:b,mediaUrl:B&&B.source_url||n,mediaLink:B&&B.link,linkTarget:g,linkClass:u,rel:s})),_e&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{onClick:function(){return se(!0)},icon:Pe,label:Object(X.__)("Crop")})),ge&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{onClick:function(){V({filesList:[ge],onFileChange:function(e){var t=Object(be.a)(e,1)[0];y(t),Object(Ce.isBlobURL)(t.url)||(he(),G(Object(X.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Nt,onError:function(e){D(e,{type:"snackbar"})}})},icon:Be.a,label:Object(X.__)("Upload external image")})),!T&&!le&&Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:i,mediaURL:n,allowedTypes:Nt,accept:"image/*",onSelect:y,onSelectURL:w,onError:_}),!T&&je&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{icon:Te.a,label:Object(X.__)("Add text over image"),onClick:function(){return H(P,Object(K.switchToBlockType)(S,"core/cover"))}}))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Image settings")},!T&&Object(Q.createElement)(me.TextareaControl,{label:Object(X.__)("Alt text (alternative text)"),value:c,onChange:function(e){f({alt:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(X.__)("Describe the purpose of the image")),Object(X.__)("Leave empty if the image is purely decorative."))}),Object(Q.createElement)(Y.__experimentalImageSizeControl,{onChangeImage:function(e){var t=Object(J.get)(B,["media_details","sizes",e,"source_url"]);if(!t)return null;f({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:function(e){return f(e)},slug:h,width:d,height:p,imageSizeOptions:ve,isResizable:Oe,imageWidth:ne,imageHeight:ce}))),Object(Q.createElement)(Y.InspectorAdvancedControls,null,Object(Q.createElement)(me.TextControl,{label:Object(X.__)("Title attribute"),value:m||"",onChange:function(e){f({title:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(X.__)("Describe the role of this image on the page."),Object(Q.createElement)(me.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(X.__)("(Note: many devices and browsers do not display this text.)")))}))),Ee=function(e){var t=Object(Se.getPath)(e);if(t)return Object(J.last)(t.split("/"))}(n);ye=c||(Ee?Object(X.sprintf)(Object(X.__)("This image has an empty alt attribute; its file name is %s"),Ee):Object(X.__)("This image has an empty alt attribute"));var Ne,Me,Re=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("img",{src:n,alt:ye,onClick:function(){q&&Z(!1)},onError:function(){var e;void 0!==(e=Ge({attributes:{url:n}}))&&j(e)},onLoad:function(e){oe(Object(J.pick)(e.target,["naturalWidth","naturalHeight"]))}}),Object(Ce.isBlobURL)(n)&&Object(Q.createElement)(me.Spinner,null));if(fe&&ne&&ce){var Ve=ne>fe;Ne=Ve?fe:ne,Me=Ve?fe*(ce/ne):ce}if(we&&le)Re=Object(Q.createElement)(zt,{url:n,width:d,height:p,clientWidth:fe,naturalHeight:ce,naturalWidth:ne});else if(Oe&&Ne){var Ae=d||Ne,He=p||Me,Le=ne/ce,Ie=ne a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,__experimentalBorder:{radius:!0}},editorStyle:"wp-block-image-editor",style:"wp-block-image"},qt=Wt.name,Zt={title:Object(X._x)("Image","block title"),description:Object(X.__)("Insert an image to make a visual statement."),icon:_e,keywords:["img",Object(X.__)("photo"),Object(X.__)("picture")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(X.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(X._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(X.__)("Empty")}},getEditWrapperProps:function(e){return{"data-align":e.align}},transforms:Ut,edit:Lt,save:function(e){var t,r=e.attributes,n=r.url,c=r.alt,o=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,g=r.title,h=Object(J.isEmpty)(l)?void 0:l,f=ne()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"size-".concat(p),p),Object(Z.a)(t,"is-resized",u||b),t)),O=Object(Q.createElement)("img",{src:n,alt:c,className:m?"wp-image-".concat(m):null,width:u,height:b,title:g}),v=Object(Q.createElement)(Q.Fragment,null,i?Object(Q.createElement)("a",{className:s,href:i,target:d,rel:h},O):O,!Y.RichText.isEmpty(o)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:o}));return"left"===a||"right"===a||"center"===a?Object(Q.createElement)("div",Y.useBlockProps.save(),Object(Q.createElement)("figure",{className:f},v)):Object(Q.createElement)("figure",Y.useBlockProps.save({className:f}),v)},deprecated:Ee},$t=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"})),Yt=r(13);function Kt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jt(e){for(var t=1;t".concat(t,"

"),anchor:r})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation,n=e.anchor;return Object(K.createBlock)("core/quote",{value:t,citation:r,anchor:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(K.createBlock)("core/quote",{value:"

".concat(e,"

")})}},{type:"raw",isMatch:function(e){var t,r=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"

"!==t&&n.push.apply(n,Object(q.a)(Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(K.createBlock)("core/paragraph",{content:Object(_r.toHTMLString)({value:e})})})))),r&&"

"!==r&&n.push(Object(K.createBlock)("core/paragraph",{content:r})),0===n.length?Object(K.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(Yt.a)(e,["value","citation"]);if("

"===t)return Object(K.createBlock)("core/heading",{content:r});var c=Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028"),o=Object(K.createBlock)("core/heading",{content:Object(_r.toHTMLString)({value:c[0]})});if(!r&&1===c.length)return o;var a=c.slice(1);return[o,Object(K.createBlock)("core/quote",Er(Er({},n),{},{citation:r,value:Object(_r.toHTMLString)({value:a.length?Object(_r.join)(c.slice(1),"\u2028"):Object(_r.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation,n=e.anchor;return Object(K.createBlock)("core/pullquote",{value:t,citation:r,anchor:n})}}]};function xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sr(e){for(var t=1;t"+Object(X.__)("In quoting others, we cite ourselves.")+"

",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(X._x)("Large","block style")}],transforms:Cr,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,c=e.mergeBlocks,o=e.onReplace,a=e.className,i=e.insertBlocksAfter,l=e.mergedStyle,s=t.align,u=t.value,b=t.citation,m=Object(Y.useBlockProps)({className:ne()(a,Object(Z.a)({},"has-text-align-".concat(s),s)),style:l});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.AlignmentToolbar,{value:s,onChange:function(e){r({align:e})}})),Object(Q.createElement)(me.BlockQuotation,m,Object(Q.createElement)(Y.RichText,{identifier:"value",multiline:!0,value:u,onChange:function(e){return r({value:e})},onMerge:c,onRemove:function(e){var t=!b||0===b.length;!e&&t&&o([])},"aria-label":Object(X.__)("Quote text"),placeholder:Object(X.__)("Write quote…"),onReplace:o,onSplit:function(e){return Object(K.createBlock)("core/quote",wr(wr({},t),{},{value:e}))},__unstableOnSplitMiddle:function(){return Object(K.createBlock)("core/paragraph")},textAlign:s}),(!Y.RichText.isEmpty(b)||n)&&Object(Q.createElement)(Y.RichText,{identifier:"citation",value:b,onChange:function(e){return r({citation:e})},__unstableMobileNoFocusOnMount:!0,"aria-label":Object(X.__)("Quote citation text"),placeholder:Object(X.__)("Write citation…"),className:"wp-block-quote__citation",textAlign:s,__unstableOnSplitAtEnd:function(){return i(Object(K.createBlock)("core/paragraph"))}})))},save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)("blockquote",Y.useBlockProps.save({className:o}),Object(Q.createElement)(Y.RichText.Content,{multiline:!0,value:n}),!Y.RichText.isEmpty(c)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"cite",value:c}))},merge:function(e,t){var r=t.value,n=t.citation;return n||(n=e.citation),Sr(Sr({},e),{},r&&"

"!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:jr},zr=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function Nr(e){return Math.min(3,e.images.length)}var Mr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(J.pick)(e,["alt","id","link","caption"]);r.url=Object(J.get)(e,["sizes",t,"url"])||Object(J.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(J.get)(e,["sizes","full","url"])||Object(J.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function Rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vr(e){for(var t=1;t0&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(J.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return Vr(Vr({},e),{},{ids:Object(J.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?Nr(t):n,o=t.imageCrop,a=t.linkTo;return Object(Q.createElement)("ul",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?Nr(t):n,o=t.align,a=t.imageCrop,i=t.linkTo,l=ne()("columns-".concat(c),{alignnone:"none"===o,"is-cropped":a});return Object(Q.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(Q.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(Q.createElement)("a",{href:t},r):r)})))}}],Hr=r(114),Lr=Object(Q.createElement)(Y.BlockIcon,{icon:zr}),Ir=r(25),Dr=r(26),Gr=r(18),Fr=r(28),Ur=r(29),Wr=r(19),qr=r(219),Zr=r(218),$r=r(276),Yr=r(159);function Kr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(Wr.a)(e);if(t){var c=Object(Wr.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(Ur.a)(this,r)}}var Jr=function(e){Object(Fr.a)(r,e);var t=Kr(r);function r(){var e;return Object(Ir.a)(this,r),(e=t.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(Object(Gr.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Gr.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Gr.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Gr.a)(e)),e.onEdit=e.onEdit.bind(Object(Gr.a)(e)),e.onSelectImageFromLibrary=e.onSelectImageFromLibrary.bind(Object(Gr.a)(e)),e.onSelectCustomURL=e.onSelectCustomURL.bind(Object(Gr.a)(e)),e.state={captionSelected:!1,isEditing:!1},e}return Object(Dr.a)(r,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[cr.BACKSPACE,cr.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"onEdit",value:function(){this.setState({isEditing:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,c=t.url,o=t.__unstableMarkNextChangeAsNotPersistent;n&&!c&&(o(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"deselectOnBlur",value:function(){this.props.onDeselect()}},{key:"onSelectImageFromLibrary",value:function(e){var t=this.props,r=t.setAttributes,n=t.id,c=t.url,o=t.alt,a=t.caption,i=t.sizeSlug;if(e&&e.url){var l=Mr(e,i);(function(e,t){return!e&&Object(Ce.isBlobURL)(t)})(n,c)&&o&&(l=Object(J.omit)(l,["alt"])),a&&!Object(J.get)(l,["caption"])&&(l=Object(J.omit)(l,["caption"])),r(l),this.setState({isEditing:!1})}}},{key:"onSelectCustomURL",value:function(e){var t=this.props,r=t.setAttributes;e!==t.url&&(r({url:e,id:void 0}),this.setState({isEditing:!1}))}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,c=t.id,o=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,g=t["aria-label"],h=this.state.isEditing;switch(o){case"file":e=r;break;case"post":e=a}var f=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("img",{src:r,alt:n,"data-id":c,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":g,ref:this.bindContainer}),Object(Ce.isBlobURL)(r)&&Object(Q.createElement)(me.Spinner,null)),O=ne()({"is-selected":s,"is-transient":Object(Ce.isBlobURL)(r)});return Object(Q.createElement)("figure",{className:O},!h&&(e?Object(Q.createElement)("a",{href:e},f):f),h&&Object(Q.createElement)(Y.MediaPlaceholder,{labels:{title:Object(X.__)("Edit gallery image")},icon:_e,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:c,src:r}}),Object(Q.createElement)(me.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(Q.createElement)(me.Button,{icon:qr.a,onClick:i?void 0:d,label:Object(X.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(Q.createElement)(me.Button,{icon:Zr.a,onClick:l?void 0:m,label:Object(X.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(Q.createElement)(me.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(Q.createElement)(me.Button,{icon:$r.a,onClick:this.onEdit,label:Object(X.__)("Replace image"),disabled:!s}),Object(Q.createElement)(me.Button,{icon:Yr.a,onClick:b,label:Object(X.__)("Remove image"),disabled:!s})),!h&&(s||u)&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Image caption text"),placeholder:s?Object(X.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),r}(Q.Component),Xr=Object(xe.compose)([Object(de.withSelect)((function(e,t){var r=e("core").getMedia,n=t.id;return{image:n?r(parseInt(n,10)):null}})),Object(de.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(Jr);function Qr(e){var t=e.isHidden,r=Object(Yt.a)(e,["isHidden"]);return t?Object(Q.createElement)(me.VisuallyHidden,Object(ue.a)({as:Y.RichText},r)):Object(Q.createElement)(Y.RichText,r)}var en=function(e){var t,r=e.attributes,n=e.isSelected,c=e.setAttributes,o=e.selectedImage,a=e.mediaPlaceholder,i=e.onMoveBackward,l=e.onMoveForward,s=e.onRemoveImage,u=e.onSelectImage,b=e.onDeselectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,p=e.insertBlocksAfter,g=e.blockProps,h=r.align,f=r.columns,O=void 0===f?Nr(r):f,v=r.caption,j=r.imageCrop,y=r.images;return Object(Q.createElement)("figure",Object(ue.a)({},g,{className:ne()(g.className,(t={},Object(Z.a)(t,"align".concat(h),h),Object(Z.a)(t,"columns-".concat(O),O),Object(Z.a)(t,"is-cropped",j),t))}),Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},y.map((function(e,t){var c=Object(X.sprintf)(Object(X.__)("image %1$d of %2$d in gallery"),t+1,y.length);return Object(Q.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(Q.createElement)(Xr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===y.length,isSelected:n&&o===t,onMoveBackward:i(t),onMoveForward:l(t),onRemove:s(t),onSelect:u(t),onDeselect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":c,sizeSlug:r.sizeSlug}))}))),a,Object(Q.createElement)(Qr,{isHidden:!n&&Y.RichText.isEmpty(v),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(X.__)("Gallery caption text"),placeholder:Object(X.__)("Write gallery caption…"),value:v,unstableOnFocus:d,onChange:function(e){return c({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return p(Object(K.createBlock)("core/paragraph"))}}))};function tn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rn(e){for(var t=1;t0&&Object(J.every)(m,(function(e){var t=e.url;return Object(Ce.isBlobURL)(t)}))){var e=Object(J.map)(m,(function(e){var t=e.url;return Object(Ce.getBlobByURL)(t)}));Object(J.forEach)(m,(function(e){var t=e.url;return Object(Ce.revokeBlobURL)(t)})),o({filesList:e,onFileChange:x,allowedTypes:["image"]})}}),[]),Object(Q.useEffect)((function(){r||O()}),[r]),Object(Q.useEffect)((function(){var e,t,r,n,c,o;d||(_(),k({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(r=t.media)||void 0===r||null===(n=r.view)||void 0===n||null===(c=n.settings)||void 0===c||null===(o=c.defaultProps)||void 0===o?void 0:o.link)||"none"}))}),[d]);var S=!!m.length,P=Object(Q.createElement)(Y.MediaPlaceholder,{addToGallery:S,isAppender:S,disableMediaButtons:S&&!r,icon:!S&&Lr,labels:{title:!S&&Object(X.__)("Gallery"),instructions:!S&&on},onSelect:x,accept:"image/*",allowedTypes:cn,multiple:!0,value:m,onError:function(e){c.removeAllNotices(),c.createErrorNotice(e)},notices:S?void 0:n,onFocus:l}),B=Object(Y.useBlockProps)();if(!S)return Object(Q.createElement)(ee.View,B,P);var T=Object(J.map)(Object(J.filter)(a,(function(e){var t=e.slug;return Object(J.some)(i,(function(e){return e[t]}))})),(function(e){var t=e.name;return{value:e.slug,label:t}})),z=S&&!Object(J.isEmpty)(T);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Gallery settings")},m.length>1&&Object(Q.createElement)(me.RangeControl,Object(ue.a)({label:Object(X.__)("Columns"),value:u,onChange:function(e){k({columns:e})},min:1,max:Math.min(8,m.length)},an,{required:!0})),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Crop images"),checked:!!b,onChange:function(){k({imageCrop:!b})},help:function(e){return e?Object(X.__)("Thumbnails are cropped to align."):Object(X.__)("Thumbnails are not cropped.")}}),Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Link to"),value:d,onChange:function(e){k({linkTo:e})},options:nn}),z&&Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Image size"),value:p,options:T,onChange:function(e){k({images:Object(J.map)(m,(function(t){if(!t.id)return t;var r=Object(J.get)(i,[parseInt(t.id,10),e]);return rn(rn({},t),r&&{url:r})})),sizeSlug:e})}}))),n,Object(Q.createElement)(en,Object(ue.a)({},e,{selectedImage:f,mediaPlaceholder:P,onMoveBackward:function(e){return function(){0!==e&&E(e,e-1)}},onMoveForward:function(e){return function(){e!==m.length-1&&E(e,e+1)}},onRemoveImage:function(e){return function(){var r=Object(J.filter)(m,(function(t,r){return e!==r}));O(),k({images:r,columns:t.columns?Math.min(r.length,t.columns):t.columns})}},onSelectImage:function(e){return function(){O(e)}},onDeselectImage:function(){return function(){O()}},onSetImageAttributes:function(e,t){m[e]&&k({images:[].concat(Object(q.a)(m.slice(0,e)),[rn(rn({},m[e]),t)],Object(q.a)(m.slice(e+1)))})},onFocusGalleryCaption:function(){O()},blockProps:B})))}));var sn=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},un={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(J.every)(e,["align",r])?r:void 0,n=Object(J.every)(e,["sizeSlug",n])?n:void 0;var c=Object(J.filter)(e,(function(e){return e.url}));return Object(K.createBlock)("core/gallery",{images:c.map((function(e){var t=e.id,r=e.url,n=e.alt,c=e.caption;return{id:Object(J.toString)(t),url:r,alt:n,caption:c}})),ids:c.map((function(e){var t=e.id;return parseInt(t,10)})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return sn(t).map((function(e){return{id:Object(J.toString)(e)}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return sn(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link;return void 0===t?"post":t}}},isMatch:function(e){return void 0!==e.named.ids}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(J.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(K.createBlock)("core/gallery",{images:e.map((function(e){return Mr({url:Object(Ce.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug,c=e.ids;return t.length>0?t.map((function(e,t){var o=e.url,a=e.alt,i=e.caption;return Object(K.createBlock)("core/image",{id:c[t],url:o,alt:a,caption:i,align:r,sizeSlug:n})})):Object(K.createBlock)("core/image",{align:r})}}]},bn={apiVersion:2,name:"core/gallery",category:"media",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},mn=bn.name,dn={title:Object(X._x)("Gallery","block title"),description:Object(X.__)("Display multiple images in a rich gallery."),icon:zr,keywords:[Object(X.__)("images"),Object(X.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:un,edit:ln,save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?Nr(t):n,o=t.imageCrop,a=t.caption,i=t.linkTo,l="columns-".concat(c," ").concat(o?"is-cropped":"");return Object(Q.createElement)("figure",Y.useBlockProps.save({className:l}),Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,!Y.RichText.isEmpty(e.caption)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Y.RichText.isEmpty(a)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:Ar},pn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),gn=r(80),hn=r.n(gn);var fn={apiVersion:2,name:"core/archives",category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"},On=fn.name,vn={title:Object(X._x)("Archives","block title"),description:Object(X.__)("Display a monthly archive of your posts."),icon:pn,example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,c=t.displayAsDropdown;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Archives settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display as dropdown"),checked:c,onChange:function(){return r({displayAsDropdown:!c})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)(hn.a,{block:"core/archives",attributes:t}))))}},jn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),yn=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return Object(Q.createElement)("figure",null,Object(Q.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!Y.RichText.isEmpty(n)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:n}))}}],wn=["audio"];var _n=Object(me.withNotices)((function(e){var t=e.attributes,r=e.noticeOperations,n=e.setAttributes,c=e.onReplace,o=e.isSelected,a=e.noticeUI,i=e.insertBlocksAfter,l=t.id,s=t.autoplay,u=t.caption,b=t.loop,m=t.preload,d=t.src,p=Object(Y.useBlockProps)(),g=Object(de.useSelect)((function(e){return(0,e("core/block-editor").getSettings)().mediaUpload}),[]);function h(e){return function(t){n(Object(Z.a)({},e,t))}}function f(e){if(e!==d){var t=Ge({attributes:{url:e}});if(void 0!==t)return void c(t);n({src:e,id:void 0})}}function O(e){r.removeAllNotices(),r.createErrorNotice(e)}function v(e){e&&e.url?n({src:e.url,id:e.id}):n({src:void 0,id:void 0})}return Object(Q.useEffect)((function(){if(!l&&Object(Ce.isBlobURL)(d)){var e=Object(Ce.getBlobByURL)(d);e&&g({filesList:[e],onFileChange:function(e){var t=Object(be.a)(e,1)[0],r=t.id,c=t.url;n({id:r,src:c})},onError:function(e){n({src:void 0,id:void 0}),r.createErrorNotice(e)},allowedTypes:wn})}}),[]),d?Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:l,mediaURL:d,allowedTypes:wn,accept:"audio/*",onSelect:v,onSelectURL:f,onError:O})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Audio settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Autoplay"),onChange:h("autoplay"),checked:s,help:function(e){return e?Object(X.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Loop"),onChange:h("loop"),checked:b}),Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Preload"),value:m||"",onChange:function(e){return n({preload:e||void 0})},options:[{value:"",label:Object(X.__)("Browser default")},{value:"auto",label:Object(X.__)("Auto")},{value:"metadata",label:Object(X.__)("Metadata")},{value:"none",label:Object(X.__)("None")}]}))),Object(Q.createElement)("figure",p,Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)("audio",{controls:"controls",src:d})),(!Y.RichText.isEmpty(u)||o)&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Audio caption text"),placeholder:Object(X.__)("Write caption…"),value:u,onChange:function(e){return n({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return i(Object(K.createBlock)("core/paragraph"))}}))):Object(Q.createElement)("div",p,Object(Q.createElement)(Y.MediaPlaceholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:jn}),onSelect:v,onSelectURL:f,accept:"audio/*",allowedTypes:wn,value:t,notices:a,onError:O}))}));var kn={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(K.createBlock)("core/audio",{src:Object(Ce.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp3,c=t.m4a,o=t.ogg,a=t.wav,i=t.wma;return r||n||c||o||a||i}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},En={apiVersion:2,name:"core/audio",category:"media",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"},Cn=En.name,xn={title:Object(X._x)("Audio","block title"),description:Object(X.__)("Embed a simple audio player."),keywords:[Object(X.__)("music"),Object(X.__)("sound"),Object(X.__)("podcast"),Object(X.__)("recording")],icon:jn,transforms:kn,deprecated:yn,edit:_n,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return a&&Object(Q.createElement)("figure",Y.useBlockProps.save(),Object(Q.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!Y.RichText.isEmpty(n)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:n}))}},Sn=r(319);function Pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bn(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],p=e.backgroundColor,g=e.textColor,h=e.gradient,f=e.style,O=Object(Y.getColorClassName)("background-color",p),v=Object(Y.__experimentalGetGradientClass)(h),j=Object(Y.getColorClassName)("color",g),y=ne()(j,v,(a={},Object(Z.a)(a,O,!(null!=f&&null!==(r=f.color)&&void 0!==r&&r.gradient||!O)),Object(Z.a)(a,"has-text-color",g||(null==f||null===(n=f.color)||void 0===n?void 0:n.text)),Object(Z.a)(a,"has-background",p||(null==f||null===(c=f.color)||void 0===c?void 0:c.background)||h||(null==f||null===(o=f.color)||void 0===o?void 0:o.gradient)),a)),w=null!=f&&null!==(i=f.color)&&void 0!==i&&i.background||null!=f&&null!==(l=f.color)&&void 0!==l&&l.text||null!=f&&null!==(s=f.color)&&void 0!==s&&s.gradient?{background:null!=f&&null!==(u=f.color)&&void 0!==u&&u.gradient?f.color.gradient:void 0,backgroundColor:null!=f&&null!==(b=f.color)&&void 0!==b&&b.background?f.color.background:void 0,color:null!=f&&null!==(m=f.color)&&void 0!==m&&m.text?f.color.text:void 0}:{};if(d){if(p){var _=Object(Y.getColorObjectByAttributeValues)(t,p);w.backgroundColor=_.color}if(g){var k=Object(Y.getColorObjectByAttributeValues)(t,g);w.color=k.color}}return{className:y||void 0,style:w}}function Kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jn(e){for(var t=1;t a"},editorStyle:"wp-block-button-editor",style:"wp-block-button"},ic=ac.name,lc={title:Object(X._x)("Button","block title"),description:Object(X.__)("Prompt visitors to take action with a button-style link."),icon:Sn.a,keywords:[Object(X.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(X.__)("Call to Action")}},styles:[{name:"fill",label:Object(X.__)("Fill"),isDefault:!0},{name:"outline",label:Object(X.__)("Outline")}],edit:rc,save:function(e){var t=e.attributes,r=e.className,n=t.borderRadius,c=t.linkTarget,o=t.rel,a=t.text,i=t.title,l=t.url,s=t.width,u=Yn(t),b=ne()("wp-block-button__link",u.className,{"no-border-radius":0===n}),m=function(e){for(var t=1;t"]+\s*)$/m,"$1//$2")}var Gc={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(K.createBlock)("core/code")}},{type:"block",blocks:["core/html"],transform:function(e){var t=e.content;return Object(K.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},Fc={apiVersion:2,name:"core/code",category:"text",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,fontSize:!0},style:"wp-block-code"},Uc=Fc.name,Wc={title:Object(X._x)("Code","block title"),description:Object(X.__)("Display code snippets that respect your spacing and tabs."),icon:Lc.a,example:{attributes:{content:Object(X.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:Gc,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.onRemove,c=Object(Y.useBlockProps)();return Object(Q.createElement)("pre",c,Object(Q.createElement)(Y.RichText,{tagName:"code",value:t.content,onChange:function(e){return r({content:e})},onRemove:n,placeholder:Object(X.__)("Write code…"),"aria-label":Object(X.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function(e){var t,r=e.attributes;return Object(Q.createElement)("pre",Y.useBlockProps.save(),Object(Q.createElement)(Y.RichText.Content,{tagName:"code",value:(t=r.content,Object(J.flow)(Ic,Dc)(t||""))}))}},qc=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function Zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $c(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:c}}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,a=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(i)throw o}}}}function Kc(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]:e.length;return Object(J.sumBy)(e,(function(e){return eo(e,t)}))}function ro(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=eo(r,t);return Object.assign(e,Object(Z.a)({},r.clientId,n))}),{})}function no(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=to(e,r);return Object(J.mapValues)(ro(e,r),(function(e){return Qc(t*e/n)}))}function co(e,t){return e.map((function(e){return Object(J.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var oo="web"===Q.Platform.OS,ao=[{value:"%",label:oo?"%":Object(X.__)("Percentage (%)"),default:""},{value:"px",label:oo?"px":Object(X.__)("Pixels (px)"),default:""},{value:"em",label:oo?"em":Object(X.__)("Relative to parent font size (em)"),default:""},{value:"rem",label:oo?"rem":Object(X.__)("Relative to root font size (rem)"),default:""},{value:"vw",label:oo?"vw":Object(X.__)("Viewport width (vw)"),default:""}];var io=["core/column"];var lo=Object(de.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var c=t.clientId,o=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockOrder;o({verticalAlignment:n}),i(c).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,c){var o=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,r.select("core/block-editor").getBlocks)(o),l=i.every((function(e){var t,r=e.attributes.width;return Number.isFinite(null!=r&&null!==(t=r.endsWith)&&void 0!==t&&t.call(r,"%")?parseFloat(r):r)})),s=c>n;if(s&&l){var u=Qc(100/c),b=no(i,100-u);i=[].concat(Object(q.a)(co(i,b)),Object(q.a)(Object(J.times)(c-n,(function(){return Object(K.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(q.a)(i),Object(q.a)(Object(J.times)(c-n,(function(){return Object(K.createBlock)("core/column")}))));else{if(i=Object(J.dropRight)(i,n-c),l)i=co(i,no(i,100))}a(o,i)}}}))((function(e){var t=e.attributes,r=e.updateAlignment,n=e.updateColumns,c=e.clientId,o=t.verticalAlignment,a=Object(de.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(c)}}),[c]).count,i=ne()(Object(Z.a)({},"are-vertically-aligned-".concat(o),o)),l=Object(Y.useBlockProps)({className:i}),s=Object(Y.__experimentalUseInnerBlocksProps)(l,{allowedBlocks:io,orientation:"horizontal",renderAppender:!1});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.BlockVerticalAlignmentToolbar,{onChange:r,value:o})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:a,onChange:function(e){return n(a,e)},min:1,max:Math.max(6,a)}),a>6&&Object(Q.createElement)(me.Notice,{status:"warning",isDismissible:!1},Object(X.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(Q.createElement)("div",s))}));function so(e){var t=e.clientId,r=e.name,n=e.setAttributes,c=Object(de.useSelect)((function(e){var t=e(K.store),n=t.getBlockVariations,c=t.getBlockType,o=t.getDefaultBlockVariation;return{blockType:c(r),defaultVariation:o(r,"block"),variations:n(r,"block")}}),[r]),o=c.blockType,a=c.defaultVariation,i=c.variations,l=Object(de.useDispatch)("core/block-editor").replaceInnerBlocks,s=Object(Y.useBlockProps)();return Object(Q.createElement)("div",s,Object(Q.createElement)(Y.__experimentalBlockVariationPicker,{icon:Object(J.get)(o,["icon","src"]),label:Object(J.get)(o,["title"]),variations:i,onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;e.attributes&&n(e.attributes),e.innerBlocks&&l(t,Object(K.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))}var uo=function(e){var t=e.clientId,r=Object(de.useSelect)((function(e){return e("core/block-editor").getBlocks(t).length>0}),[t])?lo:so;return Object(Q.createElement)(r,e)};var bo=[{name:"one-column-full",title:Object(X.__)("100"),description:Object(X.__)("One column"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:Object(X.__)("50 / 50"),description:Object(X.__)("Two columns; equal split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(X.__)("30 / 70"),description:Object(X.__)("Two columns; one-third, two-thirds split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(X.__)("70 / 30"),description:Object(X.__)("Two columns; two-thirds, one-third split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:Object(X.__)("33 / 33 / 33"),description:Object(X.__)("Three columns; equal split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(X.__)("25 / 50 / 25"),description:Object(X.__)("Three columns; wide center column"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}];function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function po(e){for(var t=1;t0,rootClientId:n(i)}}),[i]),u=s.hasChildBlocks,b=s.rootClientId,m=Object(de.useDispatch)("core/block-editor").updateBlockAttributes,d=Number.isFinite(n)?n+"%":n,p=Object(Y.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),g=Object(Y.__experimentalUseInnerBlocksProps)(p,{templateLock:o,renderAppender:u?void 0:Y.InnerBlocks.ButtonBlockAppender});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.BlockVerticalAlignmentToolbar,{onChange:function(e){a({verticalAlignment:e}),m(b,{verticalAlignment:null})},value:r})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Column settings")},Object(Q.createElement)(me.__experimentalUnitControl,{label:Object(X.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:n||"",onChange:function(e){e=0>parseFloat(e)?"0":e,a({width:e})},units:ao}))),Object(Q.createElement)("div",g))};var ko={apiVersion:2,name:"core/column",category:"text",parent:["core/columns"],attributes:{verticalAlignment:{type:"string"},width:{type:"string"},templateLock:{type:"string"}},supports:{anchor:!0,reusable:!1,html:!1}},Eo=ko.name,Co={title:Object(X._x)("Column","block title"),icon:vo,description:Object(X.__)("A single column within a columns block."),edit:_o,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,c=r.width,o=ne()(Object(Z.a)({},"is-vertically-aligned-".concat(n),n));return c&&(t={flexBasis:Number.isFinite(c)?c+"%":c}),Object(Q.createElement)("div",Y.useBlockProps.save({className:o,style:t}),Object(Q.createElement)(Y.InnerBlocks.Content,null))},deprecated:wo},xo=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));function So(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Po={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"};function Bo(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var To="web"===Q.Platform.OS,zo=[{value:"px",label:To?"px":Object(X.__)("Pixels (px)"),default:"430"},{value:"em",label:To?"em":Object(X.__)("Relative to parent font size (em)"),default:"20"},{value:"rem",label:To?"rem":Object(X.__)("Relative to root font size (rem)"),default:"20"},{value:"vw",label:To?"vw":Object(X.__)("Viewport width (vw)"),default:"20"},{value:"vh",label:To?"vh":Object(X.__)("Viewport height (vh)"),default:"50"}];function No(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Mo(e){return function(t){if(t&&t.url){var r;if(Object(Ce.isBlobURL)(t.url)&&(t.type=Object(Ce.getBlobTypeByURL)(t.url)),t.media_type)r="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;r=t.type}e(function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,c=Object(Q.useState)(!1),o=Object(be.a)(c,2),a=o[0],i=o[1];return Object(Q.useEffect)((function(){e&&t<=50&&n.current&&Ko().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(Q.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(Uo()(r).isDark())}}),[r,t>50||!e,i]),Object(Q.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(w,g,l.color,H),I="image"===p,D="video"===p,G=Object(Q.useState)(null),F=Object(be.a)(G,2),U=F[0],W=F[1],q=b.removeAllNotices,$=b.createErrorNotice,K=j?"".concat(v).concat(j):v,J=!(f||O),ee=qo(qo({},I&&!J?Bo(w):{backgroundImage:E||void 0}),{},{backgroundColor:l.color,minHeight:U||K||void 0}),te={objectPosition:h&&J?"".concat(Math.round(100*h.x),"% ").concat(Math.round(100*h.y),"%"):void 0},re=!!(w||l.color||E),ce=D||I&&(!f||O),oe=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.__experimentalBlockAlignmentMatrixToolbar,{label:Object(X.__)("Change content position"),value:m,onChange:function(e){return o({contentPosition:e})},isDisabled:!re}),Object(Q.createElement)(Y.__experimentalBlockFullHeightAligmentToolbar,{isActive:A,onToggle:function(){return A?o("vh"===R&&100===T?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:T,minHeightUnit:R}):(z(v),V(j),o({minHeight:100,minHeightUnit:"vh"}))},isDisabled:!re}),Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:d,mediaURL:w,allowedTypes:Zo,accept:"image/*,video/*",onSelect:x,name:w?Object(X.__)("Replace"):Object(X.__)("Add Media")})),Object(Q.createElement)(Y.InspectorControls,null,!!w&&Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Media settings")},I&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Fixed background"),checked:f,onChange:function(){o(qo({hasParallax:!f},f?{}:{focalPoint:void 0}))}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Repeated background"),checked:O,onChange:function(){o({isRepeated:!O})}})),ce&&Object(Q.createElement)(me.FocalPointPicker,{label:Object(X.__)("Focal point picker"),url:w,value:h,onChange:function(e){return o({focalPoint:e})}}),Object(Q.createElement)(me.PanelRow,null,Object(Q.createElement)(me.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return o({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})}},Object(X.__)("Clear Media")))),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Dimensions")},Object(Q.createElement)(Jo,{value:U||v,unit:j,onChange:function(e){return o({minHeight:e})},onUnitChange:function(e){return o({minHeightUnit:e})}})),Object(Q.createElement)(Y.__experimentalPanelColorGradientSettings,{title:Object(X.__)("Overlay"),initialOpen:!0,settings:[{colorValue:l.color,gradientValue:E,onColorChange:s,onGradientChange:C,label:Object(X.__)("Color")}]},!!w&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Opacity"),value:g,onChange:function(e){return o({dimRatio:e})},min:0,max:100,step:10,required:!0})))),ae=Object(Y.useBlockProps)(),ie=Object(Y.__experimentalUseInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:$o,templateInsertUpdatesSelection:!0});if(!re){var le=Object(Q.createElement)(Y.BlockIcon,{icon:xo}),se=Object(X.__)("Cover");return Object(Q.createElement)(Q.Fragment,null,oe,Object(Q.createElement)("div",Object(ue.a)({},ae,{className:ne()("is-placeholder",ae.className)}),Object(Q.createElement)(Y.MediaPlaceholder,{icon:le,labels:{title:se,instructions:Object(X.__)("Upload an image or video file, or pick one from your media library.")},onSelect:x,accept:"image/*,video/*",allowedTypes:Zo,notices:i,onError:function(e){q(),$(e)}},Object(Q.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(Q.createElement)(Y.ColorPalette,{disableCustomColors:!0,value:l.color,onChange:s,clearable:!1})))))}var de=ne()(No(g),(t={"is-dark-theme":L,"has-background-dim":0!==g,"is-transient":S,"has-parallax":f,"is-repeated":O},Object(Z.a)(t,l.class,l.class),Object(Z.a)(t,"has-background-gradient",E),Object(Z.a)(t,k,!w&&k),Object(Z.a)(t,"has-custom-content-position",!Ro(m)),t),Vo(m));return Object(Q.createElement)(Q.Fragment,null,oe,Object(Q.createElement)("div",Object(ue.a)({},ae,{className:ne()(de,ae.className),style:qo(qo({},ee),ae.style),"data-url":w}),Object(Q.createElement)(Yo,{values:null==y||null===(r=y.spacing)||void 0===r?void 0:r.padding,showValues:null==y||null===(n=y.visualizers)||void 0===n?void 0:n.padding}),Object(Q.createElement)(Qo,{className:"block-library-cover__resize-container",onResizeStart:function(){o({minHeightUnit:"px"}),u(!1)},onResize:W,onResizeStop:function(e){u(!0),o({minHeight:e}),W(null)},showHandle:a}),w&&E&&0!==g&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",k),style:{backgroundImage:E}}),I&&J&&Object(Q.createElement)("img",{ref:H,className:"wp-block-cover__image-background",alt:"",src:w,style:te}),D&&Object(Q.createElement)("video",{ref:H,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:w,style:te}),S&&Object(Q.createElement)(me.Spinner,null),Object(Q.createElement)("div",ie)))}));function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ra(e){for(var t=1;tSnow Patrol"),align:"center"}}]},transforms:na,save:function(e){var t,r=e.attributes,n=r.backgroundType,c=r.gradient,o=r.contentPosition,a=r.customGradient,i=r.customOverlayColor,l=r.dimRatio,s=r.focalPoint,u=r.hasParallax,b=r.isRepeated,m=r.overlayColor,d=r.url,p=r.id,g=r.minHeight,h=r.minHeightUnit,f=Object(Y.getColorClassName)("background-color",m),O=Object(Y.__experimentalGetGradientClass)(c),v=h?"".concat(g).concat(h):g,j="image"===n,y="video"===n,w=!(u||b),_=ra(ra({},j&&!w?Bo(d):{}),{},{backgroundColor:f?void 0:i,background:a&&!d?a:void 0,minHeight:v||void 0}),k=s&&w?"".concat(Math.round(100*s.x),"% ").concat(Math.round(100*s.y),"%"):void 0,E=ne()(No(l),f,(t={"has-background-dim":0!==l,"has-parallax":u,"is-repeated":b,"has-background-gradient":c||a},Object(Z.a)(t,O,!d&&O),Object(Z.a)(t,"has-custom-content-position",!Ro(o)),t),Vo(o));return Object(Q.createElement)("div",Y.useBlockProps.save({className:E,style:_}),d&&(c||a)&&0!==l&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",O),style:a?{background:a}:void 0}),j&&w&&d&&Object(Q.createElement)("img",{className:ne()("wp-block-cover__image-background",p?"wp-image-".concat(p):null),alt:"",src:d,style:{objectPosition:k},"data-object-fit":"cover","data-object-position":k}),y&&d&&Object(Q.createElement)("video",{className:ne()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:k},"data-object-fit":"cover","data-object-position":k}),Object(Q.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Q.createElement)(Y.InnerBlocks.Content,null)))},edit:ea,deprecated:Io},ia=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,c=e.allowResponsive,o=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,r&&Object(Q.createElement)(me.ToolbarButton,{className:"components-toolbar__control",label:Object(X.__)("Edit URL"),icon:$r.a,onClick:i}))),n&&t&&Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Media settings"),className:"blocks-responsive"},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Resize for smaller devices"),checked:c,help:o,onChange:a}))))},la=function(){return Object(Q.createElement)("div",{className:"wp-block-embed is-loading"},Object(Q.createElement)(me.Spinner,null),Object(Q.createElement)("p",null,Object(X.__)("Embedding…")))},sa=function(e){var t=e.icon,r=e.label,n=e.value,c=e.onSubmit,o=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(Q.createElement)(me.Placeholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(X.__)("Paste a link to the content you want to display on your site.")},Object(Q.createElement)("form",{onSubmit:c},Object(Q.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(X.__)("Enter URL to embed here…"),onChange:o}),Object(Q.createElement)(me.Button,{isPrimary:!0,type:"submit"},Object(X._x)("Embed","button label"))),Object(Q.createElement)("div",{className:"components-placeholder__learn-more"},Object(Q.createElement)(me.ExternalLink,{href:Object(X.__)("https://wordpress.org/support/article/embeds/")},Object(X.__)("Learn more about embeds"))),a&&Object(Q.createElement)("div",{className:"components-placeholder__error"},Object(Q.createElement)("div",{className:"components-placeholder__instructions"},Object(X.__)("Sorry, this content could not be embedded.")),Object(Q.createElement)(me.Button,{isSecondary:!0,onClick:l},Object(X._x)("Try again","button label"))," ",Object(Q.createElement)(me.Button,{isSecondary:!0,onClick:i},Object(X._x)("Convert to link","button label"))))};function ua(e){var t=e.html,r=Object(Q.useRef)();Object(Q.useEffect)((function(){var e=r.current.ownerDocument,t=e.defaultView,n=t.FocusEvent;function c(t){var r=t.data,n=(r=void 0===r?{}:r).secret,c=r.message,o=r.value;[n,c,o].some((function(e){return!e}))||"height"!==c||e.querySelectorAll('iframe[data-secret="'.concat(n,'"')).forEach((function(e){+e.height!==o&&(e.height=o)}))}function o(){var t=e.activeElement;if("IFRAME"===t.tagName&&t.parentNode===r.current){var c=new n("focus",{bubbles:!0});t.dispatchEvent(c)}}return t.addEventListener("message",c),t.addEventListener("blur",o),function(){t.removeEventListener("message",c),t.removeEventListener("blur",o)}}),[]);var n=Object(Q.useMemo)((function(){var e=(new window.DOMParser).parseFromString(t,"text/html"),r=e.querySelector("iframe");r&&r.removeAttribute("style");var n=e.querySelector("blockquote");return n&&(n.style.display="none"),e.body.innerHTML}),[t]);return Object(Q.createElement)("div",{ref:r,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:n}})}function ba(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(Wr.a)(e);if(t){var c=Object(Wr.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(Ur.a)(this,r)}}var ma=function(e){Object(Fr.a)(r,e);var t=ba(r);function r(){var e;return Object(Ir.a)(this,r),(e=t.apply(this,arguments)).hideOverlay=e.hideOverlay.bind(Object(Gr.a)(e)),e.state={interactive:!1},e}return Object(Dr.a)(r,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,c=n.preview,o=n.previewable,a=n.url,i=n.type,l=n.caption,s=n.onCaptionChange,u=n.isSelected,b=n.className,m=n.icon,d=n.label,p=n.insertBlocksAfter,g=c.scripts,h=this.state.interactive,f="photo"===i?(t=(e=c).thumbnail_url||e.url,r=Object(Q.createElement)("p",null,Object(Q.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(Q.renderToString)(r)):c.html,O=new URL(a).host.split("."),v=O.splice(O.length-2,O.length-1).join("."),j=Object(X.sprintf)(Object(X.__)("Embedded content from %s"),v),y=Re()(i,b,"wp-block-embed__wrapper"),w="wp-embed"===i?Object(Q.createElement)(ua,{html:f}):Object(Q.createElement)("div",{className:"wp-block-embed__wrapper"},Object(Q.createElement)(me.SandBox,{html:f,scripts:g,title:j,type:y,onFocus:this.hideOverlay}),!h&&Object(Q.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(Q.createElement)("figure",{className:Re()(b,"wp-block-embed",{"is-type-video":"video"===i})},o?w:Object(Q.createElement)(me.Placeholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:m,showColors:!0}),label:d},Object(Q.createElement)("p",{className:"components-placeholder__error"},Object(Q.createElement)("a",{href:a},a)),Object(Q.createElement)("p",{className:"components-placeholder__error"},Object(X.sprintf)(Object(X.__)("Embedded content from %s can't be previewed in the editor."),v))),(!Y.RichText.isEmpty(l)||u)&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:l,onChange:s,inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return p(Object(K.createBlock)("core/paragraph"))}}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),r}(Q.Component);function da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pa(e){for(var t=1;t0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ce.createBlobURL)(e);t.push(Object(K.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(K.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(K.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(K.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id,anchor:e.anchor})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(de.select)("core").getMedia)(t);return!!r&&Object(J.includes)(r.mime_type,"audio")},transform:function(e){return Object(K.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(de.select)("core").getMedia)(t);return!!r&&Object(J.includes)(r.mime_type,"video")},transform:function(e){return Object(K.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(de.select)("core").getMedia)(t);return!!r&&Object(J.includes)(r.mime_type,"image")},transform:function(e){return Object(K.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}}]},qa={apiVersion:2,name:"core/file",category:"media",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"},Za=qa.name,$a={title:Object(X._x)("File","block title"),description:Object(X.__)("Add a link to a downloadable file."),icon:Da,keywords:[Object(X.__)("document"),Object(X.__)("pdf"),Object(X.__)("download")],transforms:Wa,edit:Ua,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,c=t.textLinkHref,o=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(Q.createElement)("div",Y.useBlockProps.save(),!Y.RichText.isEmpty(n)&&Object(Q.createElement)("a",{href:c,target:o,rel:!!o&&"noreferrer noopener"},Object(Q.createElement)(Y.RichText.Content,{value:n})),a&&Object(Q.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(Q.createElement)(Y.RichText.Content,{value:i})))}},Ya=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));var Ka={from:[{type:"block",blocks:["core/code"],transform:function(e){var t=e.content;return Object(K.createBlock)("core/html",{content:t})}}]},Ja={apiVersion:2,name:"core/html",category:"widgets",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"},Xa=Ja.name,Qa={title:Object(X._x)("Custom HTML","block title"),description:Object(X.__)("Add custom HTML code and preview it as you edit."),icon:Ya,keywords:[Object(X.__)("embed")],example:{attributes:{content:""+Object(X.__)("Welcome to the wonderful world of blocks…")+""}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,c=Object(Q.useState)(),o=Object(be.a)(c,2),a=o[0],i=o[1],l=Object(de.useSelect)((function(e){return["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(q.a)(Object(Y.transformStyles)(e("core/block-editor").getSettings().styles)))}),[]);return Object(Q.createElement)("div",Object(Y.useBlockProps)({className:"block-library-html__edit"}),Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{className:"components-tab-button",isPressed:!a,onClick:function(){i(!1)}},Object(Q.createElement)("span",null,"HTML")),Object(Q.createElement)(me.ToolbarButton,{className:"components-tab-button",isPressed:a,onClick:function(){i(!0)}},Object(Q.createElement)("span",null,Object(X.__)("Preview"))))),Object(Q.createElement)(me.Disabled.Consumer,null,(function(e){return a||e?Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.SandBox,{html:t.content,styles:l}),!n&&Object(Q.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(Q.createElement)(Y.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(X.__)("Write HTML…"),"aria-label":Object(X.__)("HTML")})})))},save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.content)},transforms:Ka},ei=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 17h7V6H4v11zm9-10v1.5h7V7h-7zm0 5.5h7V11h-7v1.5zm0 4h7V15h-7v1.5z"})),ti=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(Q.createElement)(me.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(Q.createElement)(me.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),ri=["image","video"];function ni(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}function ci(e){var t=e.isSelected,r=e.isStackedOnMobile,n=Object(Yt.a)(e,["isSelected","isStackedOnMobile"]),c=Object(xe.useViewportMatch)("small","<");return Object(Q.createElement)(me.ResizableBox,Object(ue.a)({showHandle:t&&(!c||!r)},n))}function oi(e){var t=e.mediaId,r=e.mediaUrl,n=e.onSelectMedia;return Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:t,mediaURL:r,allowedTypes:ri,accept:"image/*,video/*",onSelect:n}))}function ai(e){var t=e.className,r=e.noticeOperations,n=e.noticeUI,c=e.onSelectMedia;return Object(Q.createElement)(Y.MediaPlaceholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:ti}),labels:{title:Object(X.__)("Media area")},className:t,onSelect:c,accept:"image/*,video/*",allowedTypes:ri,notices:n,onError:function(e){r.removeAllNotices(),r.createErrorNotice(e)}})}var ii=Object(me.withNotices)((function(e){var t=e.className,r=e.commitWidthChange,n=e.focalPoint,c=e.imageFill,o=e.isSelected,a=e.isStackedOnMobile,i=e.mediaAlt,l=e.mediaId,s=e.mediaPosition,u=e.mediaType,b=e.mediaUrl,m=e.mediaWidth,d=e.onSelectMedia,p=e.onWidthChange,g=Object(de.useDispatch)("core/block-editor").toggleSelection;if(u&&b){var h={right:"left"===s,left:"right"===s},f="image"===u&&c?ni(b,n):{},O={image:function(){return Object(Q.createElement)("img",{src:b,alt:i})},video:function(){return Object(Q.createElement)("video",{controls:!0,src:b})}};return Object(Q.createElement)(ci,{as:"figure",className:ne()(t,"editor-media-container__resizer"),style:f,size:{width:m+"%"},minWidth:"10%",maxWidth:"100%",enable:h,onResizeStart:function(){g(!1)},onResize:function(e,t,r){p(parseInt(r.style.width))},onResizeStop:function(e,t,n){g(!0),r(parseInt(n.style.width))},axis:"x",isSelected:o,isStackedOnMobile:a},Object(Q.createElement)(oi,{onSelectMedia:d,mediaUrl:b,mediaId:l}),(O[u]||J.noop)())}return Object(Q.createElement)(ai,e)}));function li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function si(e){for(var t=1;tEarns his living
Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(X.__)("— Kobayashi Issa (一茶)")}}]},transforms:vi,edit:Oi,save:function(e){var t,r,n=e.attributes,c=n.isStackedOnMobile,o=n.mediaAlt,a=n.mediaPosition,i=n.mediaType,l=n.mediaUrl,s=n.mediaWidth,u=n.mediaId,b=n.verticalAlignment,m=n.imageFill,d=n.focalPoint,p=n.linkClass,g=n.href,h=n.linkTarget,f=n.rel,O=n.mediaSizeSlug||"full",v=Object(J.isEmpty)(f)?void 0:f,j=ne()((t={},Object(Z.a)(t,"wp-image-".concat(u),u&&"image"===i),Object(Z.a)(t,"size-".concat(O),u&&"image"===i),t)),y=Object(Q.createElement)("img",{src:l,alt:o,className:j||null});g&&(y=Object(Q.createElement)("a",{className:p,href:g,target:h,rel:v},y));var w,_={image:function(){return y},video:function(){return Object(Q.createElement)("video",{controls:!0,src:l})}},k=ne()((r={"has-media-on-the-right":"right"===a,"is-stacked-on-mobile":c},Object(Z.a)(r,"is-vertically-aligned-".concat(b),b),Object(Z.a)(r,"is-image-fill",m),r)),E=m?ni(l,d):{};50!==s&&(w="right"===a?"auto ".concat(s,"%"):"".concat(s,"% auto"));var C={gridTemplateColumns:w};return Object(Q.createElement)("div",Y.useBlockProps.save({className:k,style:C}),Object(Q.createElement)("figure",{className:"wp-block-media-text__media",style:E},(_[i]||J.noop)()),Object(Q.createElement)("div",{className:"wp-block-media-text__content"},Object(Q.createElement)(Y.InnerBlocks.Content,null)))},deprecated:mi},_i=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));var ki={apiVersion:2,name:"core/latest-comments",category:"widgets",attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-comments-editor",style:"wp-block-latest-comments"},Ei=ki.name,Ci={title:Object(X._x)("Latest Comments","block title"),description:Object(X.__)("Display a list of your most recent comments."),icon:_i,keywords:[Object(X.__)("recent comments")],example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.commentsToShow,c=t.displayAvatar,o=t.displayDate,a=t.displayExcerpt;return Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Latest comments settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display avatar"),checked:c,onChange:function(){return r({displayAvatar:!c})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display date"),checked:o,onChange:function(){return r({displayDate:!o})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display excerpt"),checked:a,onChange:function(){return r({displayExcerpt:!a})}}),Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Number of comments"),value:n,onChange:function(e){return r({commentsToShow:e})},min:1,max:100,required:!0}))),Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)(hn.a,{block:"core/latest-comments",attributes:t})))}},xi=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));function Si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pi(e){for(var t=1;t0?a.map((function(e){return e.id})):[],d=r("postType","post",Object(J.pickBy)({categories:m,author:i,order:c,orderby:o,per_page:n},(function(e){return!Object(J.isUndefined)(e)})));return{defaultImageWidth:Object(J.get)(b,[f,"width"],0),defaultImageHeight:Object(J.get)(b,[f,"height"],0),imageSizeOptions:u.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}})),latestPosts:Array.isArray(d)?d.map((function(e){if(!e.featured_media)return e;var t=l(e.featured_media),r=Object(J.get)(t,["media_details","sizes",f,"source_url"],null);r||(r=Object(J.get)(t,"source_url",null));var n={url:r,alt:null==t?void 0:t.alt_text};return Ri(Ri({},e),{},{featuredImageInfo:n})})):d}}),[f,n,c,o,a,i]),w=y.imageSizeOptions,_=y.latestPosts,k=y.defaultImageWidth,E=y.defaultImageHeight,C=Object(Q.useState)([]),x=Object(be.a)(C,2),S=x[0],P=x[1],B=Object(Q.useState)([]),T=Object(be.a)(B,2),z=T[0],N=T[1],M=S.reduce((function(e,t){return Ri(Ri({},e),{},Object(Z.a)({},t.name,t))}),{}),R=Object(Q.useRef)();Object(Q.useEffect)((function(){return R.current=!0,pt()({path:Object(Se.addQueryArgs)("/wp/v2/categories",Vi)}).then((function(e){R.current&&P(e)})).catch((function(){R.current&&P([])})),pt()({path:Object(Se.addQueryArgs)("/wp/v2/users",Ai)}).then((function(e){R.current&&N(e)})).catch((function(){R.current&&N([])})),function(){R.current=!1}}),[]);var V=Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Post content settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(Q.createElement)(me.RadioControl,{label:Object(X.__)("Show:"),selected:s,options:[{label:Object(X.__)("Excerpt"),value:"excerpt"},{label:Object(X.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Max number of words in excerpt"),value:g,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Post meta settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display author name"),checked:m,onChange:function(e){return r({displayAuthor:e})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Featured image settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:f,width:O,height:v,imageWidth:k,imageHeight:E,imageSizeOptions:w,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(Q.createElement)(me.BaseControl,{className:"block-editor-image-alignment-control__row"},Object(Q.createElement)(me.BaseControl.VisualLabel,null,Object(X.__)("Image alignment")),Object(Q.createElement)(Y.BlockAlignmentToolbar,{value:h,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Add link to featured image"),checked:j,onChange:function(e){return r({addLinkToFeaturedImage:e})}}))),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Sorting and filtering")},Object(Q.createElement)(me.QueryControls,Object(ue.a)({order:c,orderBy:o},{numberOfItems:n,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})},categorySuggestions:M,onCategoryChange:function(e){if(!e.some((function(e){return"string"==typeof e&&!M[e]}))){var t=e.map((function(e){return"string"==typeof e?M[e]:e}));if(Object(J.includes)(t,null))return!1;r({categories:t})}},selectedCategories:a,onAuthorChange:function(e){return r({selectedAuthor:""!==e?Number(e):void 0})},authorList:z,selectedAuthorId:i})),"grid"===d&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:p,onChange:function(e){return r({columns:e})},min:2,max:H?Math.min(6,_.length):6,required:!0}))),A=Object(Y.useBlockProps)({className:ne()(Object(Z.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===d,"has-dates":b,"has-author":m},"columns-".concat(p),"grid"===d))}),H=Array.isArray(_)&&_.length;if(!H)return Object(Q.createElement)("div",A,V,Object(Q.createElement)(me.Placeholder,{icon:Rc,label:Object(X.__)("Latest Posts")},Array.isArray(_)?Object(X.__)("No posts found."):Object(Q.createElement)(me.Spinner,null)));var L=_.length>n?_.slice(0,n):_,I=[{icon:zi,title:Object(X.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===d},{icon:Ni,title:Object(X.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===d}],D=Object(Ti.__experimentalGetSettings)().formats.date;return Object(Q.createElement)(Q.Fragment,null,V,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,{controls:I})),Object(Q.createElement)("ul",A,L.map((function(e,t){var r=Object(J.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,c=z.find((function(t){return t.id===e.author})),o=document.createElement("div");o.innerHTML=n,n=o.textContent||o.innerText||"";var a=e.featuredImageInfo,i=(a=void 0===a?{}:a).url,d=a.alt,p=ne()(Object(Z.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(h),!!h)),f=l&&i,y=f&&Object(Q.createElement)("img",{src:i,alt:d,style:{maxWidth:O,maxHeight:v}}),w=g1?n:Object(_r.replace)(n,/\n/g,_r.__UNSTABLE_LINE_SEPARATOR)})),_r.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})}},{type:"block",blocks:["core/quote","core/pullquote"],transform:function(e){var t=e.value,r=e.anchor;return Object(K.createBlock)("core/list",{values:Object(_r.toHTMLString)({value:Object(_r.create)({html:t,multilineTag:"p"}),multilineTag:"li"}),anchor:r})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:el(e).ol,ul:el(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName,anchor:""===e.id?void 0:e.id};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object(K.createBlock)("core/list",Qi(Qi({},Object(K.getBlockAttributes)("core/list",e.outerHTML)),t))}}].concat(Object(q.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(K.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(q.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(K.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(_r.split)(Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),_r.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(K.createBlock)("core/paragraph",{content:Object(_r.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.values;return Object(_r.split)(Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),_r.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(K.createBlock)("core/heading",{content:Object(_r.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values,r=e.anchor;return Object(K.createBlock)("core/quote",{value:Object(_r.toHTMLString)({value:Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:r})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.values,r=e.anchor;return Object(K.createBlock)("core/pullquote",{value:Object(_r.toHTMLString)({value:Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:r})}}]};function rl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nl(e){for(var t=1;tAlice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:tl,merge:function(e,t){var r=t.values;return r&&"
  • "!==r?nl(nl({},e),{},{values:e.values+r}):e},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=e.onReplace,o=e.isSelected,a=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=a?"ol":"ul",m=Object(Y.useBlockProps)();return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.RichText,Object(ue.a)({identifier:"values",multiline:"li",__unstableMultilineRootTag:b,tagName:b,onChange:function(e){return r({values:e})},value:i,"aria-label":Object(X.__)("List text"),placeholder:Object(X.__)("Write list…"),onMerge:n,onSplit:function(e){return Object(K.createBlock)(ol,Ji(Ji({},t),{},{values:e}))},__unstableOnSplitMiddle:function(){return Object(K.createBlock)("core/paragraph")},onReplace:c,onRemove:function(){return c([])},start:u,reversed:s,type:l},m),(function(e){var t=e.value,n=e.onChange,c=e.onFocus;return Object(Q.createElement)(Q.Fragment,null,o&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.RichTextShortcut,{type:"primary",character:"[",onUse:function(){n(Object(_r.__unstableOutdentListItems)(t))}}),Object(Q.createElement)(Y.RichTextShortcut,{type:"primary",character:"]",onUse:function(){n(Object(_r.__unstableIndentListItems)(t,{type:b}))}}),Object(Q.createElement)(Y.RichTextShortcut,{type:"primary",character:"m",onUse:function(){n(Object(_r.__unstableIndentListItems)(t,{type:b}))}}),Object(Q.createElement)(Y.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){n(Object(_r.__unstableOutdentListItems)(t))}})),Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,{controls:[{icon:Object(X.isRTL)()?Di:Gi,title:Object(X.__)("Unordered"),describedBy:Object(X.__)("Convert to unordered list"),isActive:Object(_r.__unstableIsActiveListType)(t,"ul",b),onClick:function(){n(Object(_r.__unstableChangeListType)(t,{type:"ul"})),c(),Object(_r.__unstableIsListRootSelected)(t)&&r({ordered:!1})}},{icon:Object(X.isRTL)()?Fi:Ui,title:Object(X.__)("Ordered"),describedBy:Object(X.__)("Convert to ordered list"),isActive:Object(_r.__unstableIsActiveListType)(t,"ol",b),onClick:function(){n(Object(_r.__unstableChangeListType)(t,{type:"ol"})),c(),Object(_r.__unstableIsListRootSelected)(t)&&r({ordered:!0})}},{icon:Object(X.isRTL)()?Wi:qi,title:Object(X.__)("Outdent"),describedBy:Object(X.__)("Outdent list item"),shortcut:Object(X._x)("Backspace","keyboard key"),isDisabled:!Object(_r.__unstableCanOutdentListItems)(t),onClick:function(){n(Object(_r.__unstableOutdentListItems)(t)),c()}},{icon:Object(X.isRTL)()?Zi:$i,title:Object(X.__)("Indent"),describedBy:Object(X.__)("Indent list item"),shortcut:Object(X._x)("Space","keyboard key"),isDisabled:!Object(_r.__unstableCanIndentListItems)(t),onClick:function(){n(Object(_r.__unstableIndentListItems)(t,{type:b})),c()}}]})))})),a&&Object(Q.createElement)(Yi,{setAttributes:r,ordered:a,reversed:s,start:u}))},save:function(e){var t=e.attributes,r=t.ordered,n=t.values,c=t.type,o=t.reversed,a=t.start,i=r?"ol":"ul";return Object(Q.createElement)(i,Y.useBlockProps.save({type:c,reversed:o,start:a}),Object(Q.createElement)(Y.RichText.Content,{value:n,multiline:"li"}))}};var il=Object(de.withDispatch)((function(e,t){var r=t.clientId,n=t.attributes,c=e("core/block-editor").replaceBlock;return{convertToHTML:function(){c(r,Object(K.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}}))((function(e){var t,r=e.attributes,n=e.convertToHTML,c=r.originalName,o=r.originalUndelimitedContent,a=!!o,i=Object(K.getBlockType)("core/html"),l=[];return a&&i?(t=Object(X.sprintf)(Object(X.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),c),l.push(Object(Q.createElement)(me.Button,{key:"convert",onClick:n,isPrimary:!0},Object(X.__)("Keep as HTML")))):t=Object(X.sprintf)(Object(X.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),c),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(Y.Warning,{actions:l},t),Object(Q.createElement)(Q.RawHTML,null,o))}));var ll={apiVersion:2,name:"core/missing",category:"text",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},sl=ll.name,ul={name:sl,title:Object(X._x)("Unsupported","block title"),description:Object(X.__)("Your site doesn’t include support for this block."),__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.originalName,n=r?Object(K.getBlockType)(r):void 0;return n?n.settings.title||r:""}},edit:il,save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.originalContent)}},bl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})),ml=Object(X.__)("Read more");var dl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,r=t.customText,n=t.noTeaser,c={};return r&&(c.customText=r),""===n&&(c.noTeaser=!0),Object(K.createBlock)("core/more",c)}}]},pl={apiVersion:2,name:"core/more",category:"design",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"},gl=pl.name,hl={title:Object(X._x)("More","block title"),description:Object(X.__)("Content before this block will be shown in the excerpt on your archives page."),keywords:[Object(X.__)("read more")],icon:bl,example:{},__experimentalLabel:function(e,t){if("accessibility"===t.context)return e.customText},transforms:dl,edit:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,c=e.insertBlocksAfter,o=e.setAttributes,a={width:"".concat((r||ml).length+1.2,"em")};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:function(e){return e?Object(X.__)("The excerpt is hidden."):Object(X.__)("The excerpt is visible.")}}))),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)("div",{className:"wp-block-more"},Object(Q.createElement)("input",{"aria-label":Object(X.__)("Read more link text"),type:"text",value:r,placeholder:ml,onChange:function(e){o({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:function(e){e.keyCode===cr.ENTER&&c([Object(K.createBlock)(Object(K.getDefaultBlockName)())])},style:a}))))},save:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,c=r?"\x3c!--more ".concat(r,"--\x3e"):"\x3c!--more--\x3e",o=n?"\x3c!--noteaser--\x3e":"";return Object(Q.createElement)(Q.RawHTML,null,Object(J.compact)([c,o]).join("\n"))}},fl=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var Ol={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(K.createBlock)("core/nextpage",{})}}]},vl={apiVersion:2,name:"core/nextpage",category:"design",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"},jl=vl.name,yl={title:Object(X._x)("Page Break","block title"),description:Object(X.__)("Separate your content into a multi-page experience."),icon:fl,keywords:[Object(X.__)("next page"),Object(X.__)("pagination")],example:{},transforms:Ol,edit:function(){return Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)("div",{className:"wp-block-nextpage"},Object(Q.createElement)("span",null,Object(X.__)("Page break"))))},save:function(){return Object(Q.createElement)(Q.RawHTML,null,"\x3c!--nextpage--\x3e")}},wl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));var _l={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content,r=e.anchor;return Object(K.createBlock)("core/preformatted",{content:t,anchor:r})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:function(e){return{pre:{children:e.phrasingContentSchema}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/paragraph",e)}},{type:"block",blocks:["core/code"],transform:function(e){return Object(K.createBlock)("core/code",e)}}]},kl={apiVersion:2,name:"core/preformatted",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}},supports:{anchor:!0,fontSize:!0},style:"wp-block-preformatted"},El=kl.name,Cl={title:Object(X._x)("Preformatted","block title"),description:Object(X.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:wl,example:{attributes:{content:Object(X.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:_l,edit:function(e){var t=e.attributes,r=e.mergeBlocks,n=e.setAttributes,c=e.onRemove,o=t.content,a=Object(Y.useBlockProps)();return Object(Q.createElement)(Y.RichText,Object(ue.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:o,onChange:function(e){n({content:e})},onRemove:c,"aria-label":Object(X.__)("Preformatted text"),placeholder:Object(X.__)("Write preformatted text…"),onMerge:r},a))},save:function(e){var t=e.attributes.content;return Object(Q.createElement)("pre",Y.useBlockProps.save(),Object(Q.createElement)(Y.RichText.Content,{value:t}))},merge:function(e,t){return{content:e.content+t.content}}},xl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})),Sl="is-style-".concat("solid-color");function Pl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bl(e){for(var t=1;t".concat(t,"

    "),anchor:r})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"

    "!==t&&n.push.apply(n,Object(q.a)(Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(K.createBlock)("core/paragraph",{content:Object(_r.toHTMLString)({value:e})})})))),r&&"

    "!==r&&n.push(Object(K.createBlock)("core/paragraph",{content:r})),0===n.length?Object(K.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(Yt.a)(e,["value","citation"]);if("

    "===t)return Object(K.createBlock)("core/heading",{content:r});var c=Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028"),o=Object(K.createBlock)("core/heading",{content:Object(_r.toHTMLString)({value:c[0]})});if(!r&&1===c.length)return o;var a=c.slice(1);return[o,Object(K.createBlock)("core/pullquote",Hl(Hl({},n),{},{citation:r,value:Object(_r.toHTMLString)({value:a.length?Object(_r.join)(c.slice(1),"\u2028"):Object(_r.create)(),multilineTag:"p"})}))]}}]},Il={apiVersion:2,name:"core/pullquote",category:"text",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"]},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},Dl=Il.name,Gl={title:Object(X._x)("Pullquote","block title"),description:Object(X.__)("Give special visual emphasis to a quote from your text."),icon:xl,example:{attributes:{value:"

    "+Object(X.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:Object(X.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(X.__)("Solid color")}],transforms:Ll,edit:Vl,save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(J.includes)(u,Sl)){var b=Object(Y.getColorClassName)("background-color",c);t=ne()(Object(Z.a)({"has-background":b||o},b,b)),r={backgroundColor:b?void 0:o}}else o&&(r={borderColor:o});var m=Object(Y.getColorClassName)("color",a),d=(a||i)&&ne()("has-text-color",Object(Z.a)({},m,m)),p=m?void 0:{color:i};return Object(Q.createElement)("figure",Y.useBlockProps.save({className:t,style:r}),Object(Q.createElement)("blockquote",{className:d,style:p},Object(Q.createElement)(Y.RichText.Content,{value:l,multiline:!0}),!Y.RichText.isEmpty(s)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"cite",value:s})))},deprecated:Nl},Fl=r(146),Ul=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));var Wl={apiVersion:2,name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},ql=Wl.name,Zl={title:Object(X._x)("Reusable Block","block title"),description:Object(X.__)("Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used."),edit:function(e){var t=e.attributes.ref,r=e.clientId,n=Object(Y.__experimentalUseNoRecursiveRenders)(t),c=Object(be.a)(n,2),o=c[0],a=c[1],i=Object(de.useSelect)((function(e){var r=e($.store).getEntityRecord("postType","wp_block",t),n=e($.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:n,isMissing:n&&!r}}),[t,r]),l=i.isMissing,s=i.hasResolved,u=Object(de.useDispatch)(Fl.store).__experimentalConvertBlockToStatic,b=Object($.useEntityBlockEditor)("postType","wp_block",{id:t}),m=Object(be.a)(b,3),d=m[0],p=m[1],g=m[2],h=Object($.useEntityProp)("postType","wp_block","title",t),f=Object(be.a)(h,2),O=f[0],v=f[1],j=Object(Y.__experimentalUseInnerBlocksProps)({},{value:d,onInput:p,onChange:g,renderAppender:null!=d&&d.length?void 0:Y.InnerBlocks.ButtonBlockAppender}),y=Object(Y.useBlockProps)();return o?Object(Q.createElement)("div",y,Object(Q.createElement)(Y.Warning,null,Object(X.__)("Block cannot be rendered inside itself."))):l?Object(Q.createElement)("div",y,Object(Q.createElement)(Y.Warning,null,Object(X.__)("Block has been deleted or is unavailable."))):s?Object(Q.createElement)(a,null,Object(Q.createElement)("div",y,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{onClick:function(){return u(r)},label:Object(X.__)("Convert to regular blocks"),icon:Ul,showTooltip:!0}))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.TextControl,{label:Object(X.__)("Name"),value:O,onChange:v}))),Object(Q.createElement)("div",{className:"block-library-block__reusable-block-container"},Object(Q.createElement)("div",j)))):Object(Q.createElement)("div",y,Object(Q.createElement)(me.Placeholder,null,Object(Q.createElement)(me.Spinner,null)))}},$l=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));var Yl={apiVersion:2,name:"core/rss",category:"widgets",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},Kl=Yl.name,Jl={title:Object(X._x)("RSS","block title"),description:Object(X.__)("Display entries from any RSS or Atom feed."),icon:$l,keywords:[Object(X.__)("atom"),Object(X.__)("feed")],example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=Object(Q.useState)(!t.feedURL),c=Object(be.a)(n,2),o=c[0],a=c[1],i=t.blockLayout,l=t.columns,s=t.displayAuthor,u=t.displayDate,b=t.displayExcerpt,m=t.excerptLength,d=t.feedURL,p=t.itemsToShow;function g(e){return function(){var n=t[e];r(Object(Z.a)({},e,!n))}}var h=Object(Y.useBlockProps)();if(o)return Object(Q.createElement)("div",h,Object(Q.createElement)(me.Placeholder,{icon:$l,label:"RSS"},Object(Q.createElement)("form",{onSubmit:function(e){e.preventDefault(),d&&a(!1)},className:"wp-block-rss__placeholder-form"},Object(Q.createElement)(me.TextControl,{placeholder:Object(X.__)("Enter URL here…"),value:d,onChange:function(e){return r({feedURL:e})},className:"wp-block-rss__placeholder-input"}),Object(Q.createElement)(me.Button,{isPrimary:!0,type:"submit"},Object(X.__)("Use URL")))));var f=[{icon:$r.a,title:Object(X.__)("Edit RSS URL"),onClick:function(){return a(!0)}},{icon:zi,title:Object(X.__)("List view"),onClick:function(){return r({blockLayout:"list"})},isActive:"list"===i},{icon:Ni,title:Object(X.__)("Grid view"),onClick:function(){return r({blockLayout:"grid"})},isActive:"grid"===i}];return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,{controls:f})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("RSS settings")},Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Number of items"),value:p,onChange:function(e){return r({itemsToShow:e})},min:1,max:10,required:!0}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display author"),checked:s,onChange:g("displayAuthor")}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display date"),checked:u,onChange:g("displayDate")}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display excerpt"),checked:b,onChange:g("displayExcerpt")}),b&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Max number of words in excerpt"),value:m,onChange:function(e){return r({excerptLength:e})},min:10,max:100,required:!0}),"grid"===i&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:l,onChange:function(e){return r({columns:e})},min:2,max:6,required:!0}))),Object(Q.createElement)("div",h,Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)(hn.a,{block:"core/rss",attributes:t}))))}},Xl=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),Ql=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(me.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),es=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(me.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),ts=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),rs=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(Q.createElement)(me.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),ns=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(Q.createElement)(me.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"})),cs=[{value:"%",label:"%",default:50},{value:"px",label:"px",default:350}];var os=[{name:"default",isDefault:!0,attributes:{buttonText:Object(X.__)("Search"),label:Object(X.__)("Search")}}],as={apiVersion:2,name:"core/search",category:"widgets",attributes:{label:{type:"string"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:""},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},is=as.name,ls={title:Object(X._x)("Search","block title"),description:Object(X.__)("Help visitors find your content."),icon:_t.a,keywords:[Object(X.__)("find")],example:{},variations:os,edit:function(e){var t=e.className,r=e.attributes,n=e.setAttributes,c=e.toggleSelection,o=e.isSelected,a=r.label,i=r.showLabel,l=r.placeholder,s=r.width,u=r.widthUnit,b=r.align,m=r.buttonText,d=r.buttonPosition,p=r.buttonUseIcon,g=Object(xe.useInstanceId)(Y.__experimentalUnitControl),h="wp-block-search__width-".concat(g),f=function(){return Object(Q.createElement)("input",{className:"wp-block-search__input","aria-label":Object(X.__)("Optional placeholder text"),placeholder:l?void 0:Object(X.__)("Optional placeholder…"),value:l,onChange:function(e){return n({placeholder:e.target.value})}})},O=function(){return Object(Q.createElement)(Q.Fragment,null,p&&Object(Q.createElement)(me.Button,{icon:_t.a,className:"wp-block-search__button"}),!p&&Object(Q.createElement)(Y.RichText,{className:"wp-block-search__button","aria-label":Object(X.__)("Button text"),placeholder:Object(X.__)("Add button text…"),withoutInteractiveFormatting:!0,value:m,onChange:function(e){return n({buttonText:e})}}))},v=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{title:Object(X.__)("Toggle search label"),icon:ns,onClick:function(){n({showLabel:!i})},className:i?"is-pressed":void 0}),Object(Q.createElement)(me.DropdownMenu,{icon:function(){switch(d){case"button-inside":return es;case"button-outside":return Ql;case"no-button":return ts;case"button-only":return Xl}}(),label:Object(X.__)("Change button position")},(function(e){var t=e.onClose;return Object(Q.createElement)(me.MenuGroup,{className:"wp-block-search__button-position-menu"},Object(Q.createElement)(me.MenuItem,{icon:ts,onClick:function(){n({buttonPosition:"no-button"}),t()}},Object(X.__)("No Button")),Object(Q.createElement)(me.MenuItem,{icon:Ql,onClick:function(){n({buttonPosition:"button-outside"}),t()}},Object(X.__)("Button Outside")),Object(Q.createElement)(me.MenuItem,{icon:es,onClick:function(){n({buttonPosition:"button-inside"}),t()}},Object(X.__)("Button Inside")))})),"no-button"!==d&&Object(Q.createElement)(me.ToolbarButton,{title:Object(X.__)("Use button with icon"),icon:rs,onClick:function(){n({buttonUseIcon:!p})},className:p?"is-pressed":void 0}))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Display Settings")},Object(Q.createElement)(me.BaseControl,{label:Object(X.__)("Width"),id:h},Object(Q.createElement)(Y.__experimentalUnitControl,{id:h,min:"".concat(220).concat("px"),onChange:function(e){var t="%"===u&&parseInt(e,10)>100?100:e;n({width:parseInt(t,10)})},onUnitChange:function(e){n({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:"".concat(s).concat(u),unit:u,units:cs}),Object(Q.createElement)(me.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":Object(X.__)("Percentage Width")},[25,50,75,100].map((function(e){return Object(Q.createElement)(me.Button,{key:e,isSmall:!0,isPrimary:"".concat(e,"%")==="".concat(s).concat(u),onClick:function(){return n({width:e,widthUnit:"%"})}},e,"%")}))))))),j=Object(Y.useBlockProps)({className:ne()(t,"button-inside"===d?"wp-block-search__button-inside":void 0,"button-outside"===d?"wp-block-search__button-outside":void 0,"no-button"===d?"wp-block-search__no-button":void 0,"button-only"===d?"wp-block-search__button-only":void 0,p||"no-button"===d?void 0:"wp-block-search__text-button",p&&"no-button"!==d?"wp-block-search__icon-button":void 0)});return Object(Q.createElement)("div",j,v,i&&Object(Q.createElement)(Y.RichText,{className:"wp-block-search__label","aria-label":Object(X.__)("Label text"),placeholder:Object(X.__)("Add label…"),withoutInteractiveFormatting:!0,value:a,onChange:function(e){return n({label:e})}}),Object(Q.createElement)(me.ResizableBox,{size:{width:"".concat(s).concat(u)},className:"wp-block-search__inside-wrapper",minWidth:220,enable:"button-only"===d?{}:{right:"right"!==b,left:"right"===b},onResizeStart:function(e,t,r){n({width:parseInt(r.offsetWidth,10),widthUnit:"px"}),c(!1)},onResizeStop:function(e,t,r,o){n({width:parseInt(s+o.width,10)}),c(!0)},showHandle:o},("button-inside"===d||"button-outside"===d)&&Object(Q.createElement)(Q.Fragment,null,f(),O()),"button-only"===d&&O(),"no-button"===d&&f()))}},ss=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));function us(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bs(e){for(var t=1;tt.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object(K.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(K.createBlock)("core/group",{align:r},n)}}}]},edit:gs,save:function(e){var t=e.attributes.tagName;return Object(Q.createElement)(t,Y.useBlockProps.save(),Object(Q.createElement)("div",{className:"wp-block-group__inner-container"},Object(Q.createElement)(Y.InnerBlocks.Content,null)))},deprecated:ds},vs=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),js=function(e){var t=e.color,r=e.setColor;return Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(Y.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(X.__)("Color")}]}))};var ys=Object(Y.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.HorizontalRule,Object(Y.useBlockProps)({className:ne()(n,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}})),Object(Q.createElement)(js,{color:t,setColor:r}))}));var ws={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(K.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},_s={apiVersion:2,name:"core/separator",category:"design",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},ks=_s.name,Es={title:Object(X._x)("Separator","block title"),description:Object(X.__)("Create a break between ideas or sections with a horizontal separator."),icon:vs,keywords:[Object(X.__)("horizontal-line"),"hr",Object(X.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(X.__)("Default"),isDefault:!0},{name:"wide",label:Object(X.__)("Wide Line")},{name:"dots",label:Object(X.__)("Dots")}],transforms:ws,edit:ys,save:function(e){var t,r=e.attributes,n=r.color,c=r.customColor,o=Object(Y.getColorClassName)("background-color",n),a=Object(Y.getColorClassName)("color",n),i=ne()((t={"has-text-color has-background":n||c},Object(Z.a)(t,o,o),Object(Z.a)(t,a,a),t)),l={backgroundColor:o?void 0:c,color:a?void 0:c};return Object(Q.createElement)("hr",Y.useBlockProps.save({className:i,style:l}))}},Cs=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),xs=r(138);var Ss=r(115),Ps={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(Ss.removep)(Object(Ss.autop)(r))}}},priority:20}]},Bs={apiVersion:2,name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},Ts=Bs.name,zs={title:Object(X._x)("Shortcode","block title"),description:Object(X.__)("Insert additional custom elements with a WordPress shortcode."),icon:Cs,transforms:Ps,edit:function e(t){var r=t.attributes,n=t.setAttributes,c=Object(xe.useInstanceId)(e),o="blocks-shortcode-input-".concat(c);return Object(Q.createElement)("div",Object(Y.useBlockProps)({className:"components-placeholder"}),Object(Q.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(Q.createElement)(xs.a,{icon:Cs}),Object(X.__)("Shortcode")),Object(Q.createElement)(Y.PlainText,{className:"blocks-shortcode__textarea",id:o,value:r.text,"aria-label":Object(X.__)("Shortcode text"),placeholder:Object(X.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.text)}},Ns=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Ms=Object(xe.compose)([Object(de.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),xe.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,c=e.onResizeStart,o=e.onResizeStop,a=Object(Q.useState)(!1),i=Object(be.a)(a,2),l=i[0],s=i[1],u=t.height,b=function(e){n({height:e})};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(ee.View,Object(Y.useBlockProps)(),Object(Q.createElement)(me.ResizableBox,{className:ne()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:u},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:function(){c.apply(void 0,arguments),s(!0)},onResizeStop:function(e,t,r,n){o();var c=Math.min(parseInt(u+n.height,10),500);b(c),s(!1)},showHandle:r,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:l}})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Spacer settings")},Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Height in pixels"),min:1,max:Math.max(500,u),value:u,onChange:b}))))}));var Rs={apiVersion:2,name:"core/spacer",category:"design",attributes:{height:{type:"number",default:100}},supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},Vs=Rs.name,As={title:Object(X._x)("Spacer","block title"),description:Object(X.__)("Add white space between blocks and customize its height."),icon:Ns,edit:Ms,save:function(e){var t=e.attributes;return Object(Q.createElement)("div",Y.useBlockProps.save({style:{height:t.height},"aria-hidden":!0}))}},Hs=r(35),Ls=r.n(Hs);var Is={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/paragraph",e)}}]},Ds={apiVersion:2,name:"core/subhead",category:"text",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}},supports:{inserter:!1,multiple:!1},editorStyle:"wp-block-subhead-editor",style:"wp-block-subhead"},Gs=Ds.name,Fs={title:Object(X._x)("Subheading (deprecated)","block title"),description:Object(X.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),transforms:Is,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=t.align,o=t.content,a=t.placeholder;return Ls()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.AlignmentToolbar,{value:c,onChange:function(e){r({align:e})}})),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(Y.RichText,{tagName:"p",value:o,onChange:function(e){r({content:e})},style:{textAlign:c},className:n,"aria-label":Object(X.__)("Subheading text"),placeholder:a||Object(X.__)("Write subheading…")})))},save:function(e){var t=e.attributes,r=t.align,n=t.content;return Object(Q.createElement)("p",Y.useBlockProps.save({style:{textAlign:r}}),Object(Q.createElement)(Y.RichText.Content,{value:n}))}},Us=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})),Ws=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor;if(!n.length&&!c.length&&!o.length)return null;var i=Object(Y.getColorClassName)("background-color",a),l=ne()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(Q.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(Q.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope;return Object(Q.createElement)(Y.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(Q.createElement)("table",{className:l},Object(Q.createElement)(s,{type:"head",rows:n}),Object(Q.createElement)(s,{type:"body",rows:c}),Object(Q.createElement)(s,{type:"foot",rows:o}))}}],qs=r(306),Zs=r(307),$s=r(308),Ys=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})),Ks=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})),Js=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})),Xs=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})),Qs=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})),eu=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})),tu=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));function ru(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nu(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0;if(y){var r=y.columnIndex,n=r+e;c(iu(t,{columnIndex:n})),w({rowIndex:0,columnIndex:n,type:"cell"})}}Object(Q.useEffect)((function(){a||w()}),[a]);var C=["head","body","foot"].filter((function(e){return!su(t[e])})),x=[{icon:Ys,title:Object(X.__)("Insert row before"),isDisabled:!y,onClick:function(){k(0)}},{icon:Ks,title:Object(X.__)("Insert row after"),isDisabled:!y,onClick:function(){k(1)}},{icon:Js,title:Object(X.__)("Delete row"),isDisabled:!y,onClick:function(){if(y){var e=y.sectionName,r=y.rowIndex;w(),c(function(e,t){var r=t.sectionName,n=t.rowIndex;return Object(Z.a)({},r,e[r].filter((function(e,t){return t!==n})))}(t,{sectionName:e,rowIndex:r}))}}},{icon:Xs,title:Object(X.__)("Insert column before"),isDisabled:!y,onClick:function(){E(0)}},{icon:Qs,title:Object(X.__)("Insert column after"),isDisabled:!y,onClick:function(){E(1)}},{icon:eu,title:Object(X.__)("Delete column"),isDisabled:!y,onClick:function(){if(y){var e=y.sectionName,r=y.columnIndex;w(),c(function(e,t){var r=t.columnIndex,n=Object(J.pick)(e,["head","body","foot"]);return Object(J.mapValues)(n,(function(e){return su(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(t,{sectionName:e,columnIndex:r}))}}}],S=["head","body","foot"].map((function(e){return Object(Q.createElement)(Ou,{name:e,key:e},t[e].map((function(t,r){var n=t.cells;return Object(Q.createElement)("tr",{key:r},n.map((function(t,n){var c=t.content,o=t.tag,a=t.scope,i=t.align;return Object(Q.createElement)(Y.RichText,{tagName:o,key:n,className:ne()(Object(Z.a)({},"has-text-align-".concat(i),i),"wp-block-table__cell-content"),scope:"th"===o?a:void 0,value:c,onChange:_,unstableOnFocus:function(){w({sectionName:e,rowIndex:r,columnIndex:n,type:"cell"})},"aria-label":hu[e],placeholder:fu[e]})})))})))})),P=!C.length;return Object(Q.createElement)("figure",Object(Y.useBlockProps)(),!P&&Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarItem,null,(function(e){return Object(Q.createElement)(me.DropdownMenu,{hasArrowIndicator:!0,icon:tu,toggleProps:e,label:Object(X.__)("Edit table"),controls:x})}))),Object(Q.createElement)(Y.AlignmentToolbar,{label:Object(X.__)("Change column alignment"),alignmentControls:pu,value:function(){var e,r,n,c,o,a;if(y)return e=t,n="align",c=(r=y).sectionName,o=r.rowIndex,a=r.columnIndex,Object(J.get)(e,[c,o,"cells",a,n])}(),onChange:function(e){return function(e){if(y){var r={type:"column",columnIndex:y.columnIndex},n=ou(t,r,(function(t){return mu(mu({},t),{},{align:e})}));c(n)}}(e)}})),!P&&Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Table settings"),className:"blocks-table-settings"},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Fixed width table cells"),checked:!!i,onChange:function(){c({hasFixedLayout:!i})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Header section"),checked:!(!s||!s.length),onChange:function(){c(lu(t,"head"))}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Footer section"),checked:!(!u||!u.length),onChange:function(){c(lu(t,"foot"))}})),Object(Q.createElement)(Y.PanelColorSettings,{title:Object(X.__)("Color settings"),initialOpen:!1,colorSettings:[{value:r.color,onChange:n,label:Object(X.__)("Background color"),disableCustomColors:!0,colors:du}]})),!P&&Object(Q.createElement)("table",{className:ne()(r.class,{"has-fixed-layout":i,"has-background":!!r.color})},S),!P&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Table caption text"),placeholder:Object(X.__)("Write caption…"),value:l,onChange:function(e){return c({caption:e})},unstableOnFocus:function(){return w()},__unstableOnSplitAtEnd:function(){return o(Object(K.createBlock)("core/paragraph"))}}),P&&Object(Q.createElement)(me.Placeholder,{label:Object(X.__)("Table"),icon:Object(Q.createElement)(Y.BlockIcon,{icon:Us,showColors:!0}),instructions:Object(X.__)("Insert a table for sharing data.")},Object(Q.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){var t,r,n;e.preventDefault(),c((t={rowCount:parseInt(d,10)||2,columnCount:parseInt(f,10)||2},r=t.rowCount,n=t.columnCount,{body:Object(J.times)(r,(function(){return{cells:Object(J.times)(n,(function(){return{content:"",tag:"td"}}))}}))}))}},Object(Q.createElement)(me.TextControl,{type:"number",label:Object(X.__)("Column count"),value:f,onChange:function(e){O(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(Q.createElement)(me.TextControl,{type:"number",label:Object(X.__)("Row count"),value:d,onChange:function(e){p(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(Q.createElement)(me.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(X.__)("Create Table")))))}));var ju=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},yu={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:ju(e)},tfoot:{allowEmpty:!0,children:ju(e)},tbody:{allowEmpty:!0,children:ju(e)}}}}}}]},wu={apiVersion:2,name:"core/table",category:"text",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},editorStyle:"wp-block-table-editor",style:"wp-block-table"},_u=wu.name,ku={title:Object(X._x)("Table","block title"),description:Object(X.__)("Insert a table — perfect for sharing charts and data."),icon:Us,example:{attributes:{head:[{cells:[{content:Object(X.__)("Version"),tag:"th"},{content:Object(X.__)("Jazz Musician"),tag:"th"},{content:Object(X.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(X.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(X.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(X.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(X.__)("Stripes")}],transforms:yu,edit:vu,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!c.length&&!o.length)return null;var l=Object(Y.getColorClassName)("background-color",a),s=ne()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!Y.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(Q.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(Q.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope,o=e.align,a=ne()(Object(Z.a)({},"has-text-align-".concat(o),o));return Object(Q.createElement)(Y.RichText.Content,{className:a||void 0,"data-align":o,tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(Q.createElement)("figure",Y.useBlockProps.save(),Object(Q.createElement)("table",{className:""===s?void 0:s},Object(Q.createElement)(b,{type:"head",rows:n}),Object(Q.createElement)(b,{type:"body",rows:c}),Object(Q.createElement)(b,{type:"foot",rows:o})),u&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:Ws};var Eu={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,c=e.width;return Object(K.createBlock)("core/columns",{align:"wide"===c||"full"===c?c:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object(K.createBlock)("core/column",{},[Object(K.createBlock)("core/paragraph",{content:t})])})))}}]},Cu={apiVersion:2,name:"core/text-columns",icon:"columns",category:"design",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"},xu=Cu.name,Su={title:Object(X._x)("Text Columns (deprecated)","block title"),description:Object(X.__)("This block is deprecated. Please use the Columns block instead."),transforms:Eu,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.width,c=t.content,o=t.columns;return Ls()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.BlockAlignmentToolbar,{value:n,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:o,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(Q.createElement)("div",Object(Y.useBlockProps)({className:"align".concat(n," columns-").concat(o)}),Object(J.times)(o,(function(e){return Object(Q.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Q.createElement)(Y.RichText,{tagName:"p",value:Object(J.get)(c,[e,"children"]),onChange:function(t){r({content:[].concat(Object(q.a)(c.slice(0,e)),[{children:t}],Object(q.a)(c.slice(e+1)))})},"aria-label":Object(X.sprintf)(Object(X.__)("Column %d text"),e+1),placeholder:Object(X.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,c=t.columns;return Object(Q.createElement)("div",Y.useBlockProps.save({className:"align".concat(r," columns-").concat(c)}),Object(J.times)(c,(function(e){return Object(Q.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Q.createElement)(Y.RichText.Content,{tagName:"p",value:Object(J.get)(n,[e,"children"])}))})))}},Pu=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})),Bu=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(Q.createElement)(Y.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var Tu={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/paragraph",e)}}]},zu={apiVersion:2,name:"core/verse",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{anchor:!0,__experimentalFontFamily:!0,fontSize:!0},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},Nu=zu.name,Mu={title:Object(X._x)("Verse","block title"),description:Object(X.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Pu,example:{attributes:{content:Object(X.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(X.__)("poetry"),Object(X.__)("poem")],transforms:Tu,deprecated:Bu,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=t.textAlign,o=t.content,a=Object(Y.useBlockProps)({className:ne()(Object(Z.a)({},"has-text-align-".concat(c),c))});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.AlignmentToolbar,{value:c,onChange:function(e){r({textAlign:e})}})),Object(Q.createElement)(Y.RichText,Object(ue.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:o,onChange:function(e){r({content:e})},"aria-label":Object(X.__)("Verse text"),placeholder:Object(X.__)("Write verse…"),onMerge:n,textAlign:c},a)))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,c=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)("pre",Y.useBlockProps.save({className:c}),Object(Q.createElement)(Y.RichText.Content,{value:n}))}},Ru=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})),Vu=[{value:"auto",label:Object(X.__)("Auto")},{value:"metadata",label:Object(X.__)("Metadata")},{value:"none",label:Object(X.__)("None")}],Au=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,c=r.controls,o=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=Object(Q.useCallback)((function(e){return e?Object(X.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}),[]),u=Object(Q.useMemo)((function(){var e=function(e){return function(r){t(Object(Z.a)({},e,r))}};return{autoplay:e("autoplay"),loop:e("loop"),muted:e("muted"),controls:e("controls"),playsInline:e("playsInline")}}),[]),b=Object(Q.useCallback)((function(e){t({preload:e})}),[]);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Autoplay"),onChange:u.autoplay,checked:n,help:s}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Loop"),onChange:u.loop,checked:o}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Muted"),onChange:u.muted,checked:a}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Playback controls"),onChange:u.controls,checked:c}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Play inline"),onChange:u.playsInline,checked:i}),Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Preload"),value:l,onChange:b,options:Vu}))};var Hu=r(314);function Lu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Iu(e){for(var t=1;t1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(c([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===cr.F10&&t.stopPropagation()})),e.on("init",(function(){var t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())}))}function s(){var e=window.wpEditorL10n.tinymce.settings;ub.oldEditor.initialize("editor-".concat(t),{tinymce:sb(sb({},e),{},{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(t),setup:l})})}function u(){"complete"===document.readyState&&s()}return o.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:a,suffix:i}),"complete"===document.readyState?s():document.addEventListener("readystatechange",u),function(){document.removeEventListener("readystatechange",u),ub.oldEditor.remove("editor-".concat(t))}}),[]),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(ib,{clientId:t}))),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),className:"block-library-classic__toolbar",onClick:function(){var e=window.tinymce.get("editor-".concat(t));e&&e.focus()},"data-placeholder":Object(X.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(Q.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function(e){var t=e.attributes.content;return Object(Q.createElement)(Q.RawHTML,null,t)}},pb=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),gb=["core/social-link"],hb=[{name:Object(X.__)("Small"),value:"has-small-icon-size"},{name:Object(X.__)("Normal"),value:"has-normal-icon-size"},{name:Object(X.__)("Large"),value:"has-large-icon-size"},{name:Object(X.__)("Huge"),value:"has-huge-icon-size"}];var fb=Object(Y.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t,r=e.attributes,n=e.iconBackgroundColor,c=e.iconColor,o=e.setAttributes,a=e.setIconBackgroundColor,i=e.setIconColor,l=r.iconBackgroundColorValue,s=r.iconColorValue,u=r.openInNewTab,b=r.size,m=(null===(t=r.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;Object(Q.useEffect)((function(){m&&o({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})}),[m,o]);var d=Object(Q.createElement)("div",{className:"wp-block-social-links__social-placeholder"},Object(Q.createElement)("div",{className:"wp-social-link"}),Object(Q.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),p=ne()(b,{"has-icon-color":c.color||s,"has-icon-background-color":n.color||l}),g={"--wp--social-links--icon-color":c.color||s,"--wp--social-links--icon-background-color":n.color||l},h=Object(Y.useBlockProps)({className:p,style:g}),f=Object(Y.__experimentalUseInnerBlocksProps)(h,{allowedBlocks:gb,orientation:"horizontal",placeholder:d,templateLock:!1,__experimentalAppenderTagName:"li"}),O={position:"bottom right",isAlternate:!0};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarItem,null,(function(e){return Object(Q.createElement)(me.DropdownMenu,{label:Object(X.__)("Size"),text:Object(X.__)("Size"),icon:null,popoverProps:O,toggleProps:e},(function(e){var t=e.onClose;return Object(Q.createElement)(me.MenuGroup,null,hb.map((function(e){return Object(Q.createElement)(me.MenuItem,{icon:(b===e.value||!b&&"has-normal-icon-size"===e.value)&&Et.a,isSelected:b===e.value,key:e.value,onClick:function(){o({size:e.value})},onClose:t,role:"menuitemradio"},e.name)})))}))})))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Link settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Open links in new tab"),checked:u,onChange:function(){return o({openInNewTab:!u})}})),Object(Q.createElement)(Y.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:c.color||s,onChange:function(e){i(e),o({iconColorValue:e})},label:Object(X.__)("Icon color")},!m&&{value:n.color||l,onChange:function(e){a(e),o({iconBackgroundColorValue:e})},label:Object(X.__)("Icon background color")}]}),!m&&Object(Q.createElement)(Y.ContrastChecker,Object(ue.a)({textColor:s,backgroundColor:l},{isLargeText:!1}))),Object(Q.createElement)("ul",f))}));var Ob={apiVersion:2,name:"core/social-links",category:"widgets",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},vb=Ob.name,jb={title:Object(X._x)("Social Icons","block title"),description:Object(X.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(X._x)("links","block keywords")],example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(X.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(X.__)("Logos Only")},{name:"pill-shape",label:Object(X.__)("Pill Shape")}],icon:pb,edit:fb,save:function(e){var t=e.attributes,r=t.iconBackgroundColorValue,n=t.iconColorValue,c=t.size,o=ne()(c,{"has-icon-color":n,"has-icon-background-color":r}),a={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":r};return Object(Q.createElement)("ul",Y.useBlockProps.save({className:o,style:a}),Object(Q.createElement)(Y.InnerBlocks.Content,null))}},yb=r(220),wb=function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},_b=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:wb},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},Object(Q.createElement)(ee.Circle,{cx:"363",cy:"205",r:"205"}),Object(Q.createElement)(ee.Rect,{width:"100",height:"546",x:"0",y:"0"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))}},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}];_b.forEach((function(e){e.isActive||(e.isActive=function(e,t){return e.service===t.service})}));var kb=_b,Eb=function(e){var t,r,n=e.attributes,c=e.setAttributes,o=e.isSelected,a=n.url,i=n.service,l=n.label,s=Object(Q.useState)(!1),u=Object(be.a)(s,2),b=u[0],m=u[1],d=ne()("wp-social-link","wp-social-link-"+i,{"wp-social-link__is-incomplete":!a}),p=(t=i,(r=Object(J.find)(kb,{name:t}))?r.icon:wb),g=function(e){var t=Object(J.find)(kb,{name:e});return t?t.title:Object(X.__)("Social Icon")}(i),h=Object(Y.useBlockProps)({className:d});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.sprintf)(Object(X.__)("%s label"),g),initialOpen:!1},Object(Q.createElement)(me.PanelRow,null,Object(Q.createElement)(me.TextControl,{label:Object(X.__)("Link label"),help:Object(X.__)("Briefly describe the link to help screen reader users."),value:l,onChange:function(e){return c({label:e})}})))),Object(Q.createElement)("li",h,Object(Q.createElement)(me.Button,{onClick:function(){return m(!0)}},Object(Q.createElement)(p,null),o&&b&&Object(Q.createElement)(Y.URLPopover,{onClose:function(){return m(!1)}},Object(Q.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),m(!1)}},Object(Q.createElement)("div",{className:"block-editor-url-input"},Object(Q.createElement)(Y.URLInput,{value:a,onChange:function(e){return c({url:e})},placeholder:Object(X.__)("Enter address"),disableSuggestions:!0})),Object(Q.createElement)(me.Button,{icon:yb.a,label:Object(X.__)("Apply"),type:"submit"}))))))},Cb={apiVersion:2,name:"core/social-link",category:"widgets",parent:["core/social-links"],attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},xb=Cb.name,Sb={title:Object(X._x)("Social Icon","block title"),icon:pb,edit:Eb,description:Object(X.__)("Display an icon linking to a social media profile or website."),variations:kb},Pb=function(e){if(e){var t=e.metadata,r=e.settings,n=e.name;t&&Object(K.unstable__bootstrapServerSideBlockDefinitions)(Object(Z.a)({},n,t)),Object(K.registerBlockType)(n,r)}},Bb=function(){return[n,c,o,i,k,a,R,l,s,u,b,m,d,p,g,h,f,O,v,N,window.wp&&window.wp.oldEditor?F:null,j,y,w,_,E,C,x,S,P,T,z,M,B,U,W,V,A,H,G,L,I,D]},Tb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bb();e.forEach(Pb),Object(K.setDefaultBlockName)(ye),window.wp&&window.wp.oldEditor&&Object(K.setFreeformContentHandlerName)(mb),Object(K.setUnregisteredTypeHandlerName)(sl),Object(K.setGroupingBlockName)(fs)},zb=void 0},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},50:function(e,t){e.exports=window.wp.apiFetch},51:function(e,t){e.exports=window.wp.notices},52:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,"a",(function(){return n}))},57:function(e,t){e.exports=window.wp.coreData},6:function(e,t){e.exports=window.wp.blockEditor},60:function(e,t,r){var n;!function(c){var o=/^\s+/,a=/\s+$/,i=0,l=c.round,s=c.min,u=c.max,b=c.random;function m(e,t){if(t=t||{},(e=e||"")instanceof m)return e;if(!(this instanceof m))return new m(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,l=null,b=!1,m=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,r=!1;if(B[e])e=B[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=F.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=F.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=F.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=F.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=F.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=F.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=F.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:L(t[4]),format:r?"name":"hex8"};if(t=F.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:r?"name":"hex"};if(t=F.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=F.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(d=e.r,p=e.g,g=e.b,t={r:255*N(d,255),g:255*N(p,255),b:255*N(g,255)},b=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(n=A(e.s),i=A(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=c.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),l=r*(1-(1-o)*t),s=n%6;return{r:255*[r,i,a,a,l,r][s],g:255*[l,r,r,i,a,a][s],b:255*[a,a,l,r,r,i][s]}}(e.h,n,i),b=!0,m="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(n=A(e.s),l=A(e.l),t=function(e,t,r){var n,c,o;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=c=o=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=a(l,i,e+1/3),c=a(l,i,e),o=a(l,i,e-1/3)}return{r:255*n,g:255*c,b:255*o}}(e.h,n,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(r=e.a));var d,p,g;return r=z(r),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=i++}function d(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,c,o=u(e,t,r),a=s(e,t,r),i=(o+a)/2;if(o==a)n=c=0;else{var l=o-a;switch(c=i>.5?l/(2-o-a):l/(o+a),o){case e:n=(t-r)/l+(t>1)+720)%360;--t;)n.h=(n.h+c)%360,o.push(m(n));return o}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,c=r.s,o=r.v,a=[],i=1/t;t--;)a.push(m({h:n,s:c,v:o})),o=(o+i)%1;return a}m.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:c.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:c.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:c.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,c){var o=[V(l(e).toString(16)),V(l(t).toString(16)),V(l(r).toString(16)),V(H(n))];if(c&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var c=m(e);r="#"+h(c._r,c._g,c._b,c._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:A(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),c=m(t).toRgb(),o=r/100;return m({r:(c.r-n.r)*o+n.r,g:(c.g-n.g)*o+n.g,b:(c.b-n.b)*o+n.b,a:(c.a-n.a)*o+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(c.max(r.getLuminance(),n.getLuminance())+.05)/(c.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,c,o=m.readability(e,t);switch(c=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":c=o>=4.5;break;case"AAlarge":c=o>=3;break;case"AAAsmall":c=o>=7}return c},m.mostReadable=function(e,t,r){var n,c,o,a,i=null,l=0;c=(r=r||{}).includeFallbackColors,o=r.level,a=r.size;for(var s=0;sl&&(l=n,i=m(t[s]));return m.isReadable(e,i,{level:o,size:a})||!c?i:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var B=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(B);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),c.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function V(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function H(e){return c.round(255*parseFloat(e)).toString(16)}function L(e){return R(e)/255}var I,D,G,F=(D="[\\s|\\(]+("+(I="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",G="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+G),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+G),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+G),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!F.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(n=function(){return m}.call(t,r,t,e))||(e.exports=n)}(Math)},69:function(e,t){e.exports=window.wp.date},7:function(e,t){e.exports=window.wp.primitives},71:function(e,t,r){e.exports=function(e,t){var r,n,c=0;function o(){var o,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;au*c?{width:u*c,height:u}:{width:s,height:s/c}}function Qe(e,t,r,n,c){void 0===c&&(c=0);var o=st(t.width,t.height,c),a=o.width,i=o.height;return{x:et(e.x,a,r.width,n),y:et(e.y,i,r.height,n)}}function et(e,t,r,n){var c=t*n/2-r/2;return Math.min(c,Math.max(e,-c))}function tt(e,t){return Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2))}function rt(e,t){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI}function nt(e,t,r,n,c,o,a){void 0===o&&(o=0),void 0===a&&(a=!0);var i=a&&0===o?ct:ot,l={x:i(100,((t.width-r.width/c)/2-e.x/c)/t.width*100),y:i(100,((t.height-r.height/c)/2-e.y/c)/t.height*100),width:i(100,r.width/t.width*100/c),height:i(100,r.height/t.height*100/c)},s=Math.round(i(t.naturalWidth,l.width*t.naturalWidth/100)),u=Math.round(i(t.naturalHeight,l.height*t.naturalHeight/100)),b=t.naturalWidth>=t.naturalHeight*n?{width:Math.round(u*n),height:u}:{width:s,height:Math.round(s/n)};return{croppedAreaPercentages:l,croppedAreaPixels:Ze(Ze({},b),{x:Math.round(i(t.naturalWidth-b.width,l.x*t.naturalWidth/100)),y:Math.round(i(t.naturalHeight-b.height,l.y*t.naturalHeight/100))})}}function ct(e,t){return Math.min(e,Math.max(0,t))}function ot(e,t){return t}function at(e,t,r){var n=t.width/t.naturalWidth,c=function(e,t,r){var n=t.width/t.naturalWidth;if(r)return r.height>r.width?r.height/n/e.height:r.width/n/e.width;var c=e.width/e.height;return t.naturalWidth>=t.naturalHeight*c?t.naturalHeight/e.height:t.naturalWidth/e.width}(e,t,r),o=n*c;return{crop:{x:((t.naturalWidth-e.width)/2-e.x)*o,y:((t.naturalHeight-e.height)/2-e.y)*o},zoom:c}}function it(e,t){return{x:(t.x+e.x)/2,y:(t.y+e.y)/2}}function lt(e,t,r,n,c){var o=Math.cos,a=Math.sin,i=c*Math.PI/180;return[(e-r)*o(i)-(t-n)*a(i)+r,(e-r)*a(i)+(t-n)*o(i)+n]}function st(e,t,r){var n=e/2,c=t/2,o=[lt(0,0,n,c,r),lt(e,0,n,c,r),lt(e,t,n,c,r),lt(0,t,n,c,r)],a=Math.min.apply(Math,o.map((function(e){return e[0]}))),i=Math.max.apply(Math,o.map((function(e){return e[0]}))),l=Math.min.apply(Math,o.map((function(e){return e[1]})));return{width:i-a,height:Math.max.apply(Math,o.map((function(e){return e[1]})))-l}}function ut(){for(var e=[],t=0;t0})).join(" ").trim()}var bt=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.imageRef=null,r.videoRef=null,r.containerRef=null,r.styleRef=null,r.containerRect=null,r.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},r.dragStartPosition={x:0,y:0},r.dragStartCrop={x:0,y:0},r.lastPinchDistance=0,r.lastPinchRotation=0,r.rafDragTimeout=null,r.rafPinchTimeout=null,r.wheelTimer=null,r.state={cropSize:null,hasWheelJustStarted:!1},r.preventZoomSafari=function(e){return e.preventDefault()},r.cleanEvents=function(){document.removeEventListener("mousemove",r.onMouseMove),document.removeEventListener("mouseup",r.onDragStopped),document.removeEventListener("touchmove",r.onTouchMove),document.removeEventListener("touchend",r.onDragStopped)},r.clearScrollEvent=function(){r.containerRef&&r.containerRef.removeEventListener("wheel",r.onWheel),r.wheelTimer&&clearTimeout(r.wheelTimer)},r.onMediaLoad=function(){r.computeSizes(),r.emitCropData(),r.setInitialCrop(),r.props.onMediaLoaded&&r.props.onMediaLoaded(r.mediaSize)},r.setInitialCrop=function(){var e=r.props,t=e.initialCroppedAreaPixels,n=e.cropSize;if(t){var c=at(t,r.mediaSize,n),o=c.crop,a=c.zoom;r.props.onCropChange(o),r.props.onZoomChange&&r.props.onZoomChange(a)}},r.computeSizes=function(){var e,t,n,c,o,a,i=r.imageRef||r.videoRef;if(i&&r.containerRef){r.containerRect=r.containerRef.getBoundingClientRect(),r.mediaSize={width:i.offsetWidth,height:i.offsetHeight,naturalWidth:(null===(e=r.imageRef)||void 0===e?void 0:e.naturalWidth)||(null===(t=r.videoRef)||void 0===t?void 0:t.videoWidth)||0,naturalHeight:(null===(n=r.imageRef)||void 0===n?void 0:n.naturalHeight)||(null===(c=r.videoRef)||void 0===c?void 0:c.videoHeight)||0};var l=r.props.cropSize?r.props.cropSize:Xe(i.offsetWidth,i.offsetHeight,r.containerRect.width,r.containerRect.height,r.props.aspect,r.props.rotation);(null===(o=r.state.cropSize)||void 0===o?void 0:o.height)===l.height&&(null===(a=r.state.cropSize)||void 0===a?void 0:a.width)===l.width||r.props.onCropSizeChange&&r.props.onCropSizeChange(l),r.setState({cropSize:l},r.recomputeCropPosition)}},r.onMouseDown=function(e){e.preventDefault(),document.addEventListener("mousemove",r.onMouseMove),document.addEventListener("mouseup",r.onDragStopped),r.onDragStart(t.getMousePoint(e))},r.onMouseMove=function(e){return r.onDrag(t.getMousePoint(e))},r.onTouchStart=function(e){e.preventDefault(),document.addEventListener("touchmove",r.onTouchMove,{passive:!1}),document.addEventListener("touchend",r.onDragStopped),2===e.touches.length?r.onPinchStart(e):1===e.touches.length&&r.onDragStart(t.getTouchPoint(e.touches[0]))},r.onTouchMove=function(e){e.preventDefault(),2===e.touches.length?r.onPinchMove(e):1===e.touches.length&&r.onDrag(t.getTouchPoint(e.touches[0]))},r.onDragStart=function(e){var t,n,c=e.x,o=e.y;r.dragStartPosition={x:c,y:o},r.dragStartCrop=Ze({},r.props.crop),null===(n=(t=r.props).onInteractionStart)||void 0===n||n.call(t)},r.onDrag=function(e){var t=e.x,n=e.y;r.rafDragTimeout&&window.cancelAnimationFrame(r.rafDragTimeout),r.rafDragTimeout=window.requestAnimationFrame((function(){if(r.state.cropSize&&void 0!==t&&void 0!==n){var e=t-r.dragStartPosition.x,c=n-r.dragStartPosition.y,o={x:r.dragStartCrop.x+e,y:r.dragStartCrop.y+c},a=r.props.restrictPosition?Qe(o,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):o;r.props.onCropChange(a)}}))},r.onDragStopped=function(){var e,t;r.cleanEvents(),r.emitCropData(),null===(t=(e=r.props).onInteractionEnd)||void 0===t||t.call(e)},r.onWheel=function(e){e.preventDefault();var n=t.getMousePoint(e),c=Je()(e).pixelY,o=r.props.zoom-c*r.props.zoomSpeed/200;r.setNewZoom(o,n),r.state.hasWheelJustStarted||r.setState({hasWheelJustStarted:!0},(function(){var e,t;return null===(t=(e=r.props).onInteractionStart)||void 0===t?void 0:t.call(e)})),r.wheelTimer&&clearTimeout(r.wheelTimer),r.wheelTimer=window.setTimeout((function(){return r.setState({hasWheelJustStarted:!1},(function(){var e,t;return null===(t=(e=r.props).onInteractionEnd)||void 0===t?void 0:t.call(e)}))}),250)},r.getPointOnContainer=function(e){var t=e.x,n=e.y;if(!r.containerRect)throw new Error("The Cropper is not mounted");return{x:r.containerRect.width/2-(t-r.containerRect.left),y:r.containerRect.height/2-(n-r.containerRect.top)}},r.getPointOnMedia=function(e){var t=e.x,n=e.y,c=r.props,o=c.crop,a=c.zoom;return{x:(t+o.x)/a,y:(n+o.y)/a}},r.setNewZoom=function(e,t){if(r.state.cropSize&&r.props.onZoomChange){var n=r.getPointOnContainer(t),c=r.getPointOnMedia(n),o=Math.min(r.props.maxZoom,Math.max(e,r.props.minZoom)),a={x:c.x*o-n.x,y:c.y*o-n.y},i=r.props.restrictPosition?Qe(a,r.mediaSize,r.state.cropSize,o,r.props.rotation):a;r.props.onCropChange(i),r.props.onZoomChange(o)}},r.getCropData=function(){return r.state.cropSize?nt(r.props.restrictPosition?Qe(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop,r.mediaSize,r.state.cropSize,r.getAspect(),r.props.zoom,r.props.rotation,r.props.restrictPosition):null},r.emitCropData=function(){var e=r.getCropData();if(e){var t=e.croppedAreaPercentages,n=e.croppedAreaPixels;r.props.onCropComplete&&r.props.onCropComplete(t,n),r.props.onCropAreaChange&&r.props.onCropAreaChange(t,n)}},r.emitCropAreaChange=function(){var e=r.getCropData();if(e){var t=e.croppedAreaPercentages,n=e.croppedAreaPixels;r.props.onCropAreaChange&&r.props.onCropAreaChange(t,n)}},r.recomputeCropPosition=function(){if(r.state.cropSize){var e=r.props.restrictPosition?Qe(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;r.props.onCropChange(e),r.emitCropData()}},r}return function(e,t){function r(){this.constructor=e}qe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t.prototype.componentDidMount=function(){window.addEventListener("resize",this.computeSizes),this.containerRef&&(this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.preventZoomSafari),this.containerRef.addEventListener("gesturechange",this.preventZoomSafari)),this.props.disableAutomaticStylesInjection||(this.styleRef=document.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.styleRef.innerHTML=".reactEasyCrop_Container {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n user-select: none;\n touch-action: none;\n cursor: move;\n}\n\n.reactEasyCrop_Image,\n.reactEasyCrop_Video {\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */\n}\n\n.reactEasyCrop_CropArea {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: 1px solid rgba(255, 255, 255, 0.5);\n box-sizing: border-box;\n box-shadow: 0 0 0 9999em;\n color: rgba(0, 0, 0, 0.5);\n overflow: hidden;\n}\n\n.reactEasyCrop_CropAreaRound {\n border-radius: 50%;\n}\n\n.reactEasyCrop_CropAreaGrid::before {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 0;\n bottom: 0;\n left: 33.33%;\n right: 33.33%;\n border-top: 0;\n border-bottom: 0;\n}\n\n.reactEasyCrop_CropAreaGrid::after {\n content: ' ';\n box-sizing: border-box;\n position: absolute;\n border: 1px solid rgba(255, 255, 255, 0.5);\n top: 33.33%;\n bottom: 33.33%;\n left: 0;\n right: 0;\n border-left: 0;\n border-right: 0;\n}\n",document.head.appendChild(this.styleRef)),this.imageRef&&this.imageRef.complete&&this.onMediaLoad()},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.computeSizes),this.containerRef&&(this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.containerRef.removeEventListener("gesturechange",this.preventZoomSafari)),this.styleRef&&this.styleRef.remove(),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent()},t.prototype.componentDidUpdate=function(e){var t,r,n,c,o,a,i,l;e.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):e.aspect!==this.props.aspect?this.computeSizes():e.zoom!==this.props.zoom?this.recomputeCropPosition():(null===(t=e.cropSize)||void 0===t?void 0:t.height)!==(null===(r=this.props.cropSize)||void 0===r?void 0:r.height)||(null===(n=e.cropSize)||void 0===n?void 0:n.width)!==(null===(c=this.props.cropSize)||void 0===c?void 0:c.width)?this.computeSizes():(null===(o=e.crop)||void 0===o?void 0:o.x)===(null===(a=this.props.crop)||void 0===a?void 0:a.x)&&(null===(i=e.crop)||void 0===i?void 0:i.y)===(null===(l=this.props.crop)||void 0===l?void 0:l.y)||this.emitCropAreaChange(),e.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent())},t.prototype.getAspect=function(){var e=this.props,t=e.cropSize,r=e.aspect;return t?t.width/t.height:r},t.prototype.onPinchStart=function(e){var r=t.getTouchPoint(e.touches[0]),n=t.getTouchPoint(e.touches[1]);this.lastPinchDistance=tt(r,n),this.lastPinchRotation=rt(r,n),this.onDragStart(it(r,n))},t.prototype.onPinchMove=function(e){var r=this,n=t.getTouchPoint(e.touches[0]),c=t.getTouchPoint(e.touches[1]),o=it(n,c);this.onDrag(o),this.rafPinchTimeout&&window.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=window.requestAnimationFrame((function(){var e=tt(n,c),t=r.props.zoom*(e/r.lastPinchDistance);r.setNewZoom(t,o),r.lastPinchDistance=e;var a=rt(n,c),i=r.props.rotation+(a-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(i),r.lastPinchRotation=a}))},t.prototype.render=function(){var e=this,t=this.props,r=t.image,n=t.video,c=t.mediaProps,o=t.transform,a=t.crop,i=a.x,l=a.y,s=t.rotation,u=t.zoom,b=t.cropShape,m=t.showGrid,d=t.style,p=d.containerStyle,g=d.cropAreaStyle,h=d.mediaStyle,f=t.classes,O=f.containerClassName,v=f.cropAreaClassName,j=f.mediaClassName;return Ye.a.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(t){return e.containerRef=t},"data-testid":"container",style:p,className:ut("reactEasyCrop_Container",O)},r?Ye.a.createElement("img",Ze({alt:"",className:ut("reactEasyCrop_Image",j)},c,{src:r,ref:function(t){return e.imageRef=t},style:Ze(Ze({},h),{transform:o||"translate("+i+"px, "+l+"px) rotate("+s+"deg) scale("+u+")"}),onLoad:this.onMediaLoad})):n&&Ye.a.createElement("video",Ze({autoPlay:!0,loop:!0,muted:!0,className:ut("reactEasyCrop_Video",j)},c,{src:n,ref:function(t){return e.videoRef=t},onLoadedMetadata:this.onMediaLoad,style:Ze(Ze({},h),{transform:o||"translate("+i+"px, "+l+"px) rotate("+s+"deg) scale("+u+")"}),controls:!1})),this.state.cropSize&&Ye.a.createElement("div",{style:Ze(Ze({},g),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:ut("reactEasyCrop_CropArea","round"===b&&"reactEasyCrop_CropAreaRound",m&&"reactEasyCrop_CropAreaGrid",v)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:3,minZoom:1,cropShape:"rect",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t.getTouchPoint=function(e){return{x:Number(e.clientX),y:Number(e.clientY)}},t}(Ye.a.Component),mt={position:"bottom right",isAlternate:!0},dt=r(50),pt=r.n(dt);var gt=r(33);function ht(e,t){var r=function(e){var t=e.url,r=e.naturalWidth,n=e.naturalHeight,c=Object(Q.useState)(),o=Object(be.a)(c,2),a=o[0],i=o[1],l=Object(Q.useState)(),s=Object(be.a)(l,2),u=s[0],b=s[1],m=Object(Q.useState)({x:0,y:0}),d=Object(be.a)(m,2),p=d[0],g=d[1],h=Object(Q.useState)(),f=Object(be.a)(h,2),O=f[0],v=f[1],j=Object(Q.useState)(),y=Object(be.a)(j,2),w=y[0],_=y[1],k=Object(Q.useState)(),E=Object(be.a)(k,2),C=E[0],x=E[1],S=Object(Q.useState)(),P=Object(be.a)(S,2),B=P[0],T=P[1],z=Object(Q.useCallback)((function(){g({x:0,y:0}),v(100),_(0),x(r/n),T(r/n)}),[r,n,g,v,_,x,T]),N=Object(Q.useCallback)((function(){var e=(w+90)%360,c=r/n;if(w%180==90&&(c=n/r),0===e)return i(),_(e),x(1/C),void g({x:-p.y*c,y:p.x*c});var o=new window.Image;o.src=t,o.onload=function(t){var r=document.createElement("canvas"),n=0,o=0;e%180?(r.width=t.target.height,r.height=t.target.width):(r.width=t.target.width,r.height=t.target.height),90!==e&&180!==e||(n=r.width),270!==e&&180!==e||(o=r.height);var a=r.getContext("2d");a.translate(n,o),a.rotate(e*Math.PI/180),a.drawImage(t.target,0,0),r.toBlob((function(t){i(URL.createObjectURL(t)),_(e),x(1/C),g({x:-p.y*c,y:p.x*c})}))};var a=Object(gt.applyFilters)("media.crossOrigin",void 0,t);"string"==typeof a&&(o.crossOrigin=a)}),[w,r,n,i,_,x,g]);return Object(Q.useMemo)((function(){return{editedUrl:a,setEditedUrl:i,crop:u,setCrop:b,position:p,setPosition:g,zoom:O,setZoom:v,rotation:w,setRotation:_,rotateClockwise:N,aspect:C,setAspect:x,defaultAspect:B,initializeTransformValues:z}}),[a,i,u,b,p,g,O,v,w,_,N,C,x,B,z])}(e),n=r.initializeTransformValues;return Object(Q.useEffect)((function(){t&&n()}),[t,n]),r}function ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t0&&(e.rotation=r),e.src=a,pt()({path:"/wp/v2/media/".concat(i,"/edit"),method:"POST",data:e}).then((function(e){l({id:e.id,url:e.source_url,height:n&&c?c/o:void 0})})).catch((function(e){u(Object(X.sprintf)(Object(X.__)("Could not edit image. %s"),e.message),{id:"image-editing-error",type:"snackbar"})})).finally((function(){p(!1),s()}))}),[p,t,r,n,c,o,a,l,u,p,s]);return Object(Q.useMemo)((function(){return{isInProgress:d,apply:h,cancel:g}}),[d,h,g])}(Ot({id:t,url:r,onSaveImage:i,onFinishEditing:a},s)),b=Object(Q.useMemo)((function(){return Ot(Ot({},s),u)}),[s,u]);return Object(Q.createElement)(vt.Provider,{value:b},l)}function wt(e){var t=e.url,r=e.width,n=e.height,c=e.clientWidth,o=e.naturalHeight,a=e.naturalWidth,i=jt(),l=i.isInProgress,s=i.editedUrl,u=i.position,b=i.zoom,m=i.aspect,d=i.setPosition,p=i.setCrop,g=i.setZoom,h=n||c*o/a;return i.rotation%180==90&&(h=c*a/o),Object(Q.createElement)("div",{className:ne()("wp-block-image__crop-area",{"is-applying":l}),style:{width:r||c,height:h}},Object(Q.createElement)(bt,{image:s||t,disabled:l,minZoom:1,maxZoom:3,crop:u,zoom:b/100,aspect:m,onCropChange:d,onCropComplete:function(e){p(e)},onZoomChange:function(e){g(100*e)}}),l&&Object(Q.createElement)(me.Spinner,null))}var _t=r(217);function kt(){var e=jt(),t=e.isInProgress,r=e.zoom,n=e.setZoom;return Object(Q.createElement)(me.Dropdown,{contentClassName:"wp-block-image__zoom",popoverProps:mt,renderToggle:function(e){var r=e.isOpen,n=e.onToggle;return Object(Q.createElement)(me.ToolbarButton,{icon:_t.a,label:Object(X.__)("Zoom"),onClick:n,"aria-expanded":r,disabled:t})},renderContent:function(){return Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Zoom"),min:100,max:300,value:Math.round(r),onChange:n})}})}var Et=r(161),Ct=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"}));function xt(e){var t=e.aspectRatios,r=e.isDisabled,n=e.label,c=e.onClick,o=e.value;return Object(Q.createElement)(me.MenuGroup,{label:n},t.map((function(e){var t=e.title,n=e.aspect;return Object(Q.createElement)(me.MenuItem,{key:n,disabled:r,onClick:function(){c(n)},role:"menuitemradio",isSelected:n===o,icon:n===o?Et.a:void 0},t)})))}function St(e){var t=e.toggleProps,r=jt(),n=r.isInProgress,c=r.aspect,o=r.setAspect,a=r.defaultAspect;return Object(Q.createElement)(me.DropdownMenu,{icon:Ct,label:Object(X.__)("Aspect Ratio"),popoverProps:mt,toggleProps:t,className:"wp-block-image__aspect-ratio"},(function(e){var t=e.onClose;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(xt,{isDisabled:n,onClick:function(e){o(e),t()},value:c,aspectRatios:[{title:Object(X.__)("Original"),aspect:a},{title:Object(X.__)("Square"),aspect:1}]}),Object(Q.createElement)(xt,{label:Object(X.__)("Landscape"),isDisabled:n,onClick:function(e){o(e),t()},value:c,aspectRatios:[{title:Object(X.__)("16:10"),aspect:1.6},{title:Object(X.__)("16:9"),aspect:16/9},{title:Object(X.__)("4:3"),aspect:4/3},{title:Object(X.__)("3:2"),aspect:1.5}]}),Object(Q.createElement)(xt,{label:Object(X.__)("Portrait"),isDisabled:n,onClick:function(e){o(e),t()},value:c,aspectRatios:[{title:Object(X.__)("10:16"),aspect:.625},{title:Object(X.__)("9:16"),aspect:9/16},{title:Object(X.__)("3:4"),aspect:3/4},{title:Object(X.__)("2:3"),aspect:2/3}]}))}))}var Pt=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"}));function Bt(){var e=jt(),t=e.isInProgress,r=e.rotateClockwise;return Object(Q.createElement)(me.ToolbarButton,{icon:Pt,label:Object(X.__)("Rotate"),onClick:r,disabled:t})}function Tt(){var e=jt(),t=e.isInProgress,r=e.apply,n=e.cancel;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ToolbarButton,{onClick:r,disabled:t},Object(X.__)("Apply")),Object(Q.createElement)(me.ToolbarButton,{onClick:n},Object(X.__)("Cancel")))}function zt(e){var t=e.url,r=e.width,n=e.height,c=e.clientWidth,o=e.naturalHeight,a=e.naturalWidth;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(wt,{url:t,width:r,height:n,clientWidth:c,naturalHeight:o,naturalWidth:a}),Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(kt,null),Object(Q.createElement)(me.ToolbarItem,null,(function(e){return Object(Q.createElement)(St,{toggleProps:e})}))),Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(Bt,null)),Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(Tt,null))))}var Nt=["image"];function Mt(e){var t=e.attributes,r=t.url,n=void 0===r?"":r,c=t.alt,o=t.caption,a=t.align,i=t.id,l=t.href,s=t.rel,u=t.linkClass,b=t.linkDestination,m=t.title,d=t.width,p=t.height,g=t.linkTarget,h=t.sizeSlug,f=e.setAttributes,O=e.isSelected,v=e.insertBlocksAfter,j=e.onReplace,y=e.onSelectImage,w=e.onSelectURL,_=e.onUploadError,k=e.containerRef,E=Object(Q.useRef)(),C=Object(xe.usePrevious)(n),x=Object(de.useSelect)((function(e){var t=e("core").getMedia,r=e("core/block-editor"),n=r.getMultiSelectedBlockClientIds,c=r.getBlockName,o=r.getSelectedBlock,a=r.getSelectedBlockClientId,l=n();return{block:o(),currentId:a(),image:i&&O?t(i):null,multiImageSelection:l.length&&l.every((function(e){return"core/image"===c(e)}))}}),[i,O]),S=x.block,P=x.currentId,B=x.image,T=x.multiImageSelection,z=Object(de.useSelect)((function(e){var t=e("core/block-editor").getSettings;return Object(J.pick)(t(),["imageEditing","imageSizes","maxWidth","mediaUpload"])})),N=z.imageEditing,M=z.imageSizes,R=z.maxWidth,V=z.mediaUpload,A=Object(de.useDispatch)("core/block-editor"),H=A.replaceBlocks,L=A.toggleSelection,I=Object(de.useDispatch)(ze.store),D=I.createErrorNotice,G=I.createSuccessNotice,F=Object(xe.useViewportMatch)("medium"),U=Object(Q.useState)(!1),W=Object(be.a)(U,2),q=W[0],Z=W[1],$=Object(J.includes)(["wide","full"],a),ee=Object(Q.useState)({}),te=Object(be.a)(ee,2),re=te[0],ne=re.naturalWidth,ce=re.naturalHeight,oe=te[1],ae=Object(Q.useState)(!1),ie=Object(be.a)(ae,2),le=ie[0],se=ie[1],ue=Object(Q.useState)(),pe=Object(be.a)(ue,2),ge=pe[0],he=pe[1],fe=function(e,t){var r=Object(Q.useState)(),n=Object(be.a)(r,2),c=n[0],o=n[1];function a(){o(e.current.clientWidth)}return Object(Q.useEffect)(a,t),Object(Q.useEffect)((function(){var t=e.current.ownerDocument.defaultView;return t.addEventListener("resize",a),function(){t.removeEventListener("resize",a)}}),[]),c}(k,[a]),Oe=!$&&F,ve=Object(J.map)(Object(J.filter)(M,(function(e){var t=e.slug;return Object(J.get)(B,["media_details","sizes",t,"source_url"])})),(function(e){var t=e.name;return{value:e.slug,label:t}})),je=!!Object(K.getBlockType)("core/cover");Object(Q.useEffect)((function(){O||Z(!1)}),[O]),Object(Q.useEffect)((function(){Ht(i,n)&&O&&!ge&&window.fetch(n).then((function(e){return e.blob()})).then((function(e){return he(e)}))}),[i,n,O,ge]),Object(Q.useEffect)((function(){n&&!C&&O&&E.current.focus()}),[n,C]),Object(Q.useEffect)((function(){O||se(!1)}),[O]);var ye,we=i&&ne&&ce&&N,_e=!T&&we&&!le,ke=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,!T&&!le&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(Y.__experimentalImageURLInputUI,{url:l||"",onChangeUrl:function(e){f(e)},linkDestination:b,mediaUrl:B&&B.source_url||n,mediaLink:B&&B.link,linkTarget:g,linkClass:u,rel:s})),_e&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{onClick:function(){return se(!0)},icon:Pe,label:Object(X.__)("Crop")})),ge&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{onClick:function(){V({filesList:[ge],onFileChange:function(e){var t=Object(be.a)(e,1)[0];y(t),Object(Ce.isBlobURL)(t.url)||(he(),G(Object(X.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:Nt,onError:function(e){D(e,{type:"snackbar"})}})},icon:Be.a,label:Object(X.__)("Upload external image")})),!T&&!le&&Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:i,mediaURL:n,allowedTypes:Nt,accept:"image/*",onSelect:y,onSelectURL:w,onError:_}),!T&&je&&Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{icon:Te.a,label:Object(X.__)("Add text over image"),onClick:function(){return H(P,Object(K.switchToBlockType)(S,"core/cover"))}}))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Image settings")},!T&&Object(Q.createElement)(me.TextareaControl,{label:Object(X.__)("Alt text (alternative text)"),value:c,onChange:function(e){f({alt:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(X.__)("Describe the purpose of the image")),Object(X.__)("Leave empty if the image is purely decorative."))}),Object(Q.createElement)(Y.__experimentalImageSizeControl,{onChangeImage:function(e){var t=Object(J.get)(B,["media_details","sizes",e,"source_url"]);if(!t)return null;f({url:t,width:void 0,height:void 0,sizeSlug:e})},onChange:function(e){return f(e)},slug:h,width:d,height:p,imageSizeOptions:ve,isResizable:Oe,imageWidth:ne,imageHeight:ce}))),Object(Q.createElement)(Y.InspectorAdvancedControls,null,Object(Q.createElement)(me.TextControl,{label:Object(X.__)("Title attribute"),value:m||"",onChange:function(e){f({title:e})},help:Object(Q.createElement)(Q.Fragment,null,Object(X.__)("Describe the role of this image on the page."),Object(Q.createElement)(me.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"},Object(X.__)("(Note: many devices and browsers do not display this text.)")))}))),Ee=function(e){var t=Object(Se.getPath)(e);if(t)return Object(J.last)(t.split("/"))}(n);ye=c||(Ee?Object(X.sprintf)(Object(X.__)("This image has an empty alt attribute; its file name is %s"),Ee):Object(X.__)("This image has an empty alt attribute"));var Ne,Me,Re=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("img",{src:n,alt:ye,onClick:function(){q&&Z(!1)},onError:function(){var e;void 0!==(e=Ge({attributes:{url:n}}))&&j(e)},onLoad:function(e){oe(Object(J.pick)(e.target,["naturalWidth","naturalHeight"]))}}),Object(Ce.isBlobURL)(n)&&Object(Q.createElement)(me.Spinner,null));if(fe&&ne&&ce){var Ve=ne>fe;Ne=Ve?fe:ne,Me=Ve?fe*(ce/ne):ce}if(we&&le)Re=Object(Q.createElement)(zt,{url:n,width:d,height:p,clientWidth:fe,naturalHeight:ce,naturalWidth:ne});else if(Oe&&Ne){var Ae=d||Ne,He=p||Me,Le=ne/ce,Ie=ne a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,__experimentalBorder:{radius:!0}},editorStyle:"wp-block-image-editor",style:"wp-block-image"},qt=Wt.name,Zt={title:Object(X._x)("Image","block title"),description:Object(X.__)("Insert an image to make a visual statement."),icon:_e,keywords:["img",Object(X.__)("photo"),Object(X.__)("picture")],example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:Object(X.__)("Mont Blanc appears—still, snowy, and serene.")}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"rounded",label:Object(X._x)("Rounded","block style")}],__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.caption,n=e.alt;return e.url?n?n+(r?". "+r:""):r||"":Object(X.__)("Empty")}},getEditWrapperProps:function(e){return{"data-align":e.align}},transforms:Ut,edit:Lt,save:function(e){var t,r=e.attributes,n=r.url,c=r.alt,o=r.caption,a=r.align,i=r.href,l=r.rel,s=r.linkClass,u=r.width,b=r.height,m=r.id,d=r.linkTarget,p=r.sizeSlug,g=r.title,h=Object(J.isEmpty)(l)?void 0:l,f=ne()((t={},Object(Z.a)(t,"align".concat(a),a),Object(Z.a)(t,"size-".concat(p),p),Object(Z.a)(t,"is-resized",u||b),t)),O=Object(Q.createElement)("img",{src:n,alt:c,className:m?"wp-image-".concat(m):null,width:u,height:b,title:g}),v=Object(Q.createElement)(Q.Fragment,null,i?Object(Q.createElement)("a",{className:s,href:i,target:d,rel:h},O):O,!Y.RichText.isEmpty(o)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:o}));return"left"===a||"right"===a||"center"===a?Object(Q.createElement)("div",Y.useBlockProps.save(),Object(Q.createElement)("figure",{className:f},v)):Object(Q.createElement)("figure",Y.useBlockProps.save({className:f}),v)},deprecated:Ee},$t=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.2 5.2v13.4l5.8-4.8 5.8 4.8V5.2z"})),Yt=r(13);function Kt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jt(e){for(var t=1;t".concat(t,"

    "),anchor:r})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation,n=e.anchor;return Object(K.createBlock)("core/quote",{value:t,citation:r,anchor:n})}},{type:"prefix",prefix:">",transform:function(e){return Object(K.createBlock)("core/quote",{value:"

    ".concat(e,"

    ")})}},{type:"raw",isMatch:function(e){var t,r=(t=!1,function(e){return"P"===e.nodeName||(t||"CITE"!==e.nodeName?void 0:(t=!0,!0))});return"BLOCKQUOTE"===e.nodeName&&Array.from(e.childNodes).every(r)},schema:function(e){var t=e.phrasingContentSchema;return{blockquote:{children:{p:{children:t},cite:{children:t}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"

    "!==t&&n.push.apply(n,Object(q.a)(Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(K.createBlock)("core/paragraph",{content:Object(_r.toHTMLString)({value:e})})})))),r&&"

    "!==r&&n.push(Object(K.createBlock)("core/paragraph",{content:r})),0===n.length?Object(K.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(Yt.a)(e,["value","citation"]);if("

    "===t)return Object(K.createBlock)("core/heading",{content:r});var c=Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028"),o=Object(K.createBlock)("core/heading",{content:Object(_r.toHTMLString)({value:c[0]})});if(!r&&1===c.length)return o;var a=c.slice(1);return[o,Object(K.createBlock)("core/quote",Er(Er({},n),{},{citation:r,value:Object(_r.toHTMLString)({value:a.length?Object(_r.join)(c.slice(1),"\u2028"):Object(_r.create)(),multilineTag:"p"})}))]}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.value,r=e.citation,n=e.anchor;return Object(K.createBlock)("core/pullquote",{value:t,citation:r,anchor:n})}}]};function xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sr(e){for(var t=1;t"+Object(X.__)("In quoting others, we cite ourselves.")+"

    ",citation:"Julio Cortázar",className:"is-style-large"}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"large",label:Object(X._x)("Large","block style")}],transforms:Cr,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,c=e.mergeBlocks,o=e.onReplace,a=e.className,i=e.insertBlocksAfter,l=e.mergedStyle,s=t.align,u=t.value,b=t.citation,m=Object(Y.useBlockProps)({className:ne()(a,Object(Z.a)({},"has-text-align-".concat(s),s)),style:l});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.AlignmentToolbar,{value:s,onChange:function(e){r({align:e})}})),Object(Q.createElement)(me.BlockQuotation,m,Object(Q.createElement)(Y.RichText,{identifier:"value",multiline:!0,value:u,onChange:function(e){return r({value:e})},onMerge:c,onRemove:function(e){var t=!b||0===b.length;!e&&t&&o([])},"aria-label":Object(X.__)("Quote text"),placeholder:Object(X.__)("Write quote…"),onReplace:o,onSplit:function(e){return Object(K.createBlock)("core/quote",wr(wr({},t),{},{value:e}))},__unstableOnSplitMiddle:function(){return Object(K.createBlock)("core/paragraph")},textAlign:s}),(!Y.RichText.isEmpty(b)||n)&&Object(Q.createElement)(Y.RichText,{identifier:"citation",value:b,onChange:function(e){return r({citation:e})},__unstableMobileNoFocusOnMount:!0,"aria-label":Object(X.__)("Quote citation text"),placeholder:Object(X.__)("Write citation…"),className:"wp-block-quote__citation",textAlign:s,__unstableOnSplitAtEnd:function(){return i(Object(K.createBlock)("core/paragraph"))}})))},save:function(e){var t=e.attributes,r=t.align,n=t.value,c=t.citation,o=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)("blockquote",Y.useBlockProps.save({className:o}),Object(Q.createElement)(Y.RichText.Content,{multiline:!0,value:n}),!Y.RichText.isEmpty(c)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"cite",value:c}))},merge:function(e,t){var r=t.value,n=t.citation;return n||(n=e.citation),Sr(Sr({},e),{},r&&"

    "!==r?{value:e.value+r,citation:n}:{citation:n})},deprecated:jr},zr=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20.2 8v11c0 .7-.6 1.2-1.2 1.2H6v1.5h13c1.5 0 2.7-1.2 2.7-2.8V8h-1.5zM18 16.4V4.6c0-.9-.7-1.6-1.6-1.6H4.6C3.7 3 3 3.7 3 4.6v11.8c0 .9.7 1.6 1.6 1.6h11.8c.9 0 1.6-.7 1.6-1.6zM4.5 4.6c0-.1.1-.1.1-.1h11.8c.1 0 .1.1.1.1V12l-2.3-1.7c-.3-.2-.6-.2-.9 0l-2.9 2.1L8 11.3c-.2-.1-.5-.1-.7 0l-2.9 1.5V4.6zm0 11.8v-1.8l3.2-1.7 2.4 1.2c.2.1.5.1.8-.1l2.8-2 2.8 2v2.5c0 .1-.1.1-.1.1H4.6c0-.1-.1-.2-.1-.2z"}));function Nr(e){return Math.min(3,e.images.length)}var Mr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large",r=Object(J.pick)(e,["alt","id","link","caption"]);r.url=Object(J.get)(e,["sizes",t,"url"])||Object(J.get)(e,["media_details","sizes",t,"source_url"])||e.url;var n=Object(J.get)(e,["sizes","full","url"])||Object(J.get)(e,["media_details","sizes","full","source_url"]);return n&&(r.fullUrl=n),r};function Rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vr(e){for(var t=1;t0&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"array",source:"children",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible:function(e){var t=e.images,r=e.ids;return t&&t.length>0&&(!r&&t||r&&t&&r.length!==t.length||Object(J.some)(t,(function(e,t){return!e&&null!==r[t]||parseInt(e,10)!==r[t]})))},migrate:function(e){return Vr(Vr({},e),{},{ids:Object(J.map)(e.images,(function(e){var t=e.id;return t?parseInt(t,10):null}))})},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?Nr(t):n,o=t.imageCrop,a=t.linkTo;return Object(Q.createElement)("ul",{className:"columns-".concat(c," ").concat(o?"is-cropped":"")},r.map((function(e){var t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,e.caption&&e.caption.length>0&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:e.caption})))})))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?Nr(t):n,o=t.align,a=t.imageCrop,i=t.linkTo,l=ne()("columns-".concat(c),{alignnone:"none"===o,"is-cropped":a});return Object(Q.createElement)("div",{className:l},r.map((function(e){var t;switch(i){case"media":t=e.url;break;case"attachment":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(Q.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(Q.createElement)("a",{href:t},r):r)})))}}],Hr=r(114),Lr=Object(Q.createElement)(Y.BlockIcon,{icon:zr}),Ir=r(25),Dr=r(26),Gr=r(18),Fr=r(28),Ur=r(29),Wr=r(19),qr=r(219),Zr=r(218),$r=r(276),Yr=r(159);function Kr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(Wr.a)(e);if(t){var c=Object(Wr.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(Ur.a)(this,r)}}var Jr=function(e){Object(Fr.a)(r,e);var t=Kr(r);function r(){var e;return Object(Ir.a)(this,r),(e=t.apply(this,arguments)).onSelectImage=e.onSelectImage.bind(Object(Gr.a)(e)),e.onSelectCaption=e.onSelectCaption.bind(Object(Gr.a)(e)),e.onRemoveImage=e.onRemoveImage.bind(Object(Gr.a)(e)),e.bindContainer=e.bindContainer.bind(Object(Gr.a)(e)),e.onEdit=e.onEdit.bind(Object(Gr.a)(e)),e.onSelectImageFromLibrary=e.onSelectImageFromLibrary.bind(Object(Gr.a)(e)),e.onSelectCustomURL=e.onSelectCustomURL.bind(Object(Gr.a)(e)),e.state={captionSelected:!1,isEditing:!1},e}return Object(Dr.a)(r,[{key:"bindContainer",value:function(e){this.container=e}},{key:"onSelectCaption",value:function(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}},{key:"onSelectImage",value:function(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1})}},{key:"onRemoveImage",value:function(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[cr.BACKSPACE,cr.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}},{key:"onEdit",value:function(){this.setState({isEditing:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isSelected,n=t.image,c=t.url,o=t.__unstableMarkNextChangeAsNotPersistent;n&&!c&&(o(),this.props.setAttributes({url:n.source_url,alt:n.alt_text})),this.state.captionSelected&&!r&&e.isSelected&&this.setState({captionSelected:!1})}},{key:"deselectOnBlur",value:function(){this.props.onDeselect()}},{key:"onSelectImageFromLibrary",value:function(e){var t=this.props,r=t.setAttributes,n=t.id,c=t.url,o=t.alt,a=t.caption,i=t.sizeSlug;if(e&&e.url){var l=Mr(e,i);(function(e,t){return!e&&Object(Ce.isBlobURL)(t)})(n,c)&&o&&(l=Object(J.omit)(l,["alt"])),a&&!Object(J.get)(l,["caption"])&&(l=Object(J.omit)(l,["caption"])),r(l),this.setState({isEditing:!1})}}},{key:"onSelectCustomURL",value:function(e){var t=this.props,r=t.setAttributes;e!==t.url&&(r({url:e,id:void 0}),this.setState({isEditing:!1}))}},{key:"render",value:function(){var e,t=this.props,r=t.url,n=t.alt,c=t.id,o=t.linkTo,a=t.link,i=t.isFirstItem,l=t.isLastItem,s=t.isSelected,u=t.caption,b=t.onRemove,m=t.onMoveForward,d=t.onMoveBackward,p=t.setAttributes,g=t["aria-label"],h=this.state.isEditing;switch(o){case"file":e=r;break;case"post":e=a}var f=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("img",{src:r,alt:n,"data-id":c,onClick:this.onSelectImage,onFocus:this.onSelectImage,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":g,ref:this.bindContainer}),Object(Ce.isBlobURL)(r)&&Object(Q.createElement)(me.Spinner,null)),O=ne()({"is-selected":s,"is-transient":Object(Ce.isBlobURL)(r)});return Object(Q.createElement)("figure",{className:O},!h&&(e?Object(Q.createElement)("a",{href:e},f):f),h&&Object(Q.createElement)(Y.MediaPlaceholder,{labels:{title:Object(X.__)("Edit gallery image")},icon:_e,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:c,src:r}}),Object(Q.createElement)(me.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(Q.createElement)(me.Button,{icon:qr.a,onClick:i?void 0:d,label:Object(X.__)("Move image backward"),"aria-disabled":i,disabled:!s}),Object(Q.createElement)(me.Button,{icon:Zr.a,onClick:l?void 0:m,label:Object(X.__)("Move image forward"),"aria-disabled":l,disabled:!s})),Object(Q.createElement)(me.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(Q.createElement)(me.Button,{icon:$r.a,onClick:this.onEdit,label:Object(X.__)("Replace image"),disabled:!s}),Object(Q.createElement)(me.Button,{icon:Yr.a,onClick:b,label:Object(X.__)("Remove image"),disabled:!s})),!h&&(s||u)&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Image caption text"),placeholder:s?Object(X.__)("Write caption…"):null,value:u,isSelected:this.state.captionSelected,onChange:function(e){return p({caption:e})},unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}]),r}(Q.Component),Xr=Object(xe.compose)([Object(de.withSelect)((function(e,t){var r=e("core").getMedia,n=t.id;return{image:n?r(parseInt(n,10)):null}})),Object(de.withDispatch)((function(e){return{__unstableMarkNextChangeAsNotPersistent:e("core/block-editor").__unstableMarkNextChangeAsNotPersistent}}))])(Jr);function Qr(e){var t=e.isHidden,r=Object(Yt.a)(e,["isHidden"]);return t?Object(Q.createElement)(me.VisuallyHidden,Object(ue.a)({as:Y.RichText},r)):Object(Q.createElement)(Y.RichText,r)}var en=function(e){var t,r=e.attributes,n=e.isSelected,c=e.setAttributes,o=e.selectedImage,a=e.mediaPlaceholder,i=e.onMoveBackward,l=e.onMoveForward,s=e.onRemoveImage,u=e.onSelectImage,b=e.onDeselectImage,m=e.onSetImageAttributes,d=e.onFocusGalleryCaption,p=e.insertBlocksAfter,g=e.blockProps,h=r.align,f=r.columns,O=void 0===f?Nr(r):f,v=r.caption,j=r.imageCrop,y=r.images;return Object(Q.createElement)("figure",Object(ue.a)({},g,{className:ne()(g.className,(t={},Object(Z.a)(t,"align".concat(h),h),Object(Z.a)(t,"columns-".concat(O),O),Object(Z.a)(t,"is-cropped",j),t))}),Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},y.map((function(e,t){var c=Object(X.sprintf)(Object(X.__)("image %1$d of %2$d in gallery"),t+1,y.length);return Object(Q.createElement)("li",{className:"blocks-gallery-item",key:e.id||e.url},Object(Q.createElement)(Xr,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===t,isLastItem:t+1===y.length,isSelected:n&&o===t,onMoveBackward:i(t),onMoveForward:l(t),onRemove:s(t),onSelect:u(t),onDeselect:b(t),setAttributes:function(e){return m(t,e)},caption:e.caption,"aria-label":c,sizeSlug:r.sizeSlug}))}))),a,Object(Q.createElement)(Qr,{isHidden:!n&&Y.RichText.isEmpty(v),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(X.__)("Gallery caption text"),placeholder:Object(X.__)("Write gallery caption…"),value:v,unstableOnFocus:d,onChange:function(e){return c({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return p(Object(K.createBlock)("core/paragraph"))}}))};function tn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rn(e){for(var t=1;t0&&Object(J.every)(m,(function(e){var t=e.url;return Object(Ce.isBlobURL)(t)}))){var e=Object(J.map)(m,(function(e){var t=e.url;return Object(Ce.getBlobByURL)(t)}));Object(J.forEach)(m,(function(e){var t=e.url;return Object(Ce.revokeBlobURL)(t)})),o({filesList:e,onFileChange:x,allowedTypes:["image"]})}}),[]),Object(Q.useEffect)((function(){r||O()}),[r]),Object(Q.useEffect)((function(){var e,t,r,n,c,o;d||(_(),k({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(r=t.media)||void 0===r||null===(n=r.view)||void 0===n||null===(c=n.settings)||void 0===c||null===(o=c.defaultProps)||void 0===o?void 0:o.link)||"none"}))}),[d]);var S=!!m.length,P=Object(Q.createElement)(Y.MediaPlaceholder,{addToGallery:S,isAppender:S,disableMediaButtons:S&&!r,icon:!S&&Lr,labels:{title:!S&&Object(X.__)("Gallery"),instructions:!S&&on},onSelect:x,accept:"image/*",allowedTypes:cn,multiple:!0,value:m,onError:function(e){c.removeAllNotices(),c.createErrorNotice(e)},notices:S?void 0:n,onFocus:l}),B=Object(Y.useBlockProps)();if(!S)return Object(Q.createElement)(ee.View,B,P);var T=Object(J.map)(Object(J.filter)(a,(function(e){var t=e.slug;return Object(J.some)(i,(function(e){return e[t]}))})),(function(e){var t=e.name;return{value:e.slug,label:t}})),z=S&&!Object(J.isEmpty)(T);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Gallery settings")},m.length>1&&Object(Q.createElement)(me.RangeControl,Object(ue.a)({label:Object(X.__)("Columns"),value:u,onChange:function(e){k({columns:e})},min:1,max:Math.min(8,m.length)},an,{required:!0})),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Crop images"),checked:!!b,onChange:function(){k({imageCrop:!b})},help:function(e){return e?Object(X.__)("Thumbnails are cropped to align."):Object(X.__)("Thumbnails are not cropped.")}}),Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Link to"),value:d,onChange:function(e){k({linkTo:e})},options:nn}),z&&Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Image size"),value:p,options:T,onChange:function(e){k({images:Object(J.map)(m,(function(t){if(!t.id)return t;var r=Object(J.get)(i,[parseInt(t.id,10),e]);return rn(rn({},t),r&&{url:r})})),sizeSlug:e})}}))),n,Object(Q.createElement)(en,Object(ue.a)({},e,{selectedImage:f,mediaPlaceholder:P,onMoveBackward:function(e){return function(){0!==e&&E(e,e-1)}},onMoveForward:function(e){return function(){e!==m.length-1&&E(e,e+1)}},onRemoveImage:function(e){return function(){var r=Object(J.filter)(m,(function(t,r){return e!==r}));O(),k({images:r,columns:t.columns?Math.min(r.length,t.columns):t.columns})}},onSelectImage:function(e){return function(){O(e)}},onDeselectImage:function(){return function(){O()}},onSetImageAttributes:function(e,t){m[e]&&k({images:[].concat(Object(q.a)(m.slice(0,e)),[rn(rn({},m[e]),t)],Object(q.a)(m.slice(e+1)))})},onFocusGalleryCaption:function(){O()},blockProps:B})))}));var sn=function(e){return e?e.split(",").map((function(e){return parseInt(e,10)})):[]},un={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0],r=t.align,n=t.sizeSlug;r=Object(J.every)(e,["align",r])?r:void 0,n=Object(J.every)(e,["sizeSlug",n])?n:void 0;var c=Object(J.filter)(e,(function(e){return e.url}));return Object(K.createBlock)("core/gallery",{images:c.map((function(e){var t=e.id,r=e.url,n=e.alt,c=e.caption;return{id:Object(J.toString)(t),url:r,alt:n,caption:c}})),ids:c.map((function(e){var t=e.id;return parseInt(t,10)})),align:r,sizeSlug:n})}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:function(e){var t=e.named.ids;return sn(t).map((function(e){return{id:Object(J.toString)(e)}}))}},ids:{type:"array",shortcode:function(e){var t=e.named.ids;return sn(t)}},columns:{type:"number",shortcode:function(e){var t=e.named.columns;return parseInt(void 0===t?"3":t,10)}},linkTo:{type:"string",shortcode:function(e){var t=e.named.link;return void 0===t?"post":t}}},isMatch:function(e){return void 0!==e.named.ids}},{type:"files",isMatch:function(e){return 1!==e.length&&Object(J.every)(e,(function(e){return 0===e.type.indexOf("image/")}))},transform:function(e){return Object(K.createBlock)("core/gallery",{images:e.map((function(e){return Mr({url:Object(Ce.createBlobURL)(e)})}))})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,r=e.align,n=e.sizeSlug,c=e.ids;return t.length>0?t.map((function(e,t){var o=e.url,a=e.alt,i=e.caption;return Object(K.createBlock)("core/image",{id:c[t],url:o,alt:a,caption:i,align:r,sizeSlug:n})})):Object(K.createBlock)("core/image",{align:r})}}]},bn={apiVersion:2,name:"core/gallery",category:"media",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},mn=bn.name,dn={title:Object(X._x)("Gallery","block title"),description:Object(X.__)("Display multiple images in a rich gallery."),icon:zr,keywords:[Object(X.__)("images"),Object(X.__)("photos")],example:{attributes:{columns:2,images:[{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}]}},transforms:un,edit:ln,save:function(e){var t=e.attributes,r=t.images,n=t.columns,c=void 0===n?Nr(t):n,o=t.imageCrop,a=t.caption,i=t.linkTo,l="columns-".concat(c," ").concat(o?"is-cropped":"");return Object(Q.createElement)("figure",Y.useBlockProps.save({className:l}),Object(Q.createElement)("ul",{className:"blocks-gallery-grid"},r.map((function(e){var t;switch(i){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}var r=Object(Q.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-full-url":e.fullUrl,"data-link":e.link,className:e.id?"wp-image-".concat(e.id):null});return Object(Q.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(Q.createElement)("figure",null,t?Object(Q.createElement)("a",{href:t},r):r,!Y.RichText.isEmpty(e.caption)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))}))),!Y.RichText.isEmpty(a)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},deprecated:Ar},pn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6.2h-5.9l-.6-1.1c-.3-.7-1-1.1-1.8-1.1H5c-1.1 0-2 .9-2 2v11.8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8.2c0-1.1-.9-2-2-2zm.5 11.6c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h5.8c.2 0 .4.1.4.3l1 2H19c.3 0 .5.2.5.5v9.5zM8 12.8h8v-1.5H8v1.5zm0 3h8v-1.5H8v1.5z"})),gn=r(80),hn=r.n(gn);var fn={apiVersion:2,name:"core/archives",category:"widgets",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"},On=fn.name,vn={title:Object(X._x)("Archives","block title"),description:Object(X.__)("Display a monthly archive of your posts."),icon:pn,example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.showPostCounts,c=t.displayAsDropdown;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Archives settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display as dropdown"),checked:c,onChange:function(){return r({displayAsDropdown:!c})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Show post counts"),checked:n,onChange:function(){return r({showPostCounts:!n})}}))),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)(hn.a,{block:"core/archives",attributes:t}))))}},jn=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})),yn=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return Object(Q.createElement)("figure",null,Object(Q.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!Y.RichText.isEmpty(n)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:n}))}}],wn=["audio"];var _n=Object(me.withNotices)((function(e){var t=e.attributes,r=e.noticeOperations,n=e.setAttributes,c=e.onReplace,o=e.isSelected,a=e.noticeUI,i=e.insertBlocksAfter,l=t.id,s=t.autoplay,u=t.caption,b=t.loop,m=t.preload,d=t.src,p=Object(Y.useBlockProps)(),g=Object(de.useSelect)((function(e){return(0,e("core/block-editor").getSettings)().mediaUpload}),[]);function h(e){return function(t){n(Object(Z.a)({},e,t))}}function f(e){if(e!==d){var t=Ge({attributes:{url:e}});if(void 0!==t)return void c(t);n({src:e,id:void 0})}}function O(e){r.removeAllNotices(),r.createErrorNotice(e)}function v(e){e&&e.url?n({src:e.url,id:e.id}):n({src:void 0,id:void 0})}return Object(Q.useEffect)((function(){if(!l&&Object(Ce.isBlobURL)(d)){var e=Object(Ce.getBlobByURL)(d);e&&g({filesList:[e],onFileChange:function(e){var t=Object(be.a)(e,1)[0],r=t.id,c=t.url;n({id:r,src:c})},onError:function(e){n({src:void 0,id:void 0}),r.createErrorNotice(e)},allowedTypes:wn})}}),[]),d?Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:l,mediaURL:d,allowedTypes:wn,accept:"audio/*",onSelect:v,onSelectURL:f,onError:O})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Audio settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Autoplay"),onChange:h("autoplay"),checked:s,help:function(e){return e?Object(X.__)("Note: Autoplaying audio may cause usability issues for some visitors."):null}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Loop"),onChange:h("loop"),checked:b}),Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Preload"),value:m||"",onChange:function(e){return n({preload:e||void 0})},options:[{value:"",label:Object(X.__)("Browser default")},{value:"auto",label:Object(X.__)("Auto")},{value:"metadata",label:Object(X.__)("Metadata")},{value:"none",label:Object(X.__)("None")}]}))),Object(Q.createElement)("figure",p,Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)("audio",{controls:"controls",src:d})),(!Y.RichText.isEmpty(u)||o)&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Audio caption text"),placeholder:Object(X.__)("Write caption…"),value:u,onChange:function(e){return n({caption:e})},inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return i(Object(K.createBlock)("core/paragraph"))}}))):Object(Q.createElement)("div",p,Object(Q.createElement)(Y.MediaPlaceholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:jn}),onSelect:v,onSelectURL:f,accept:"audio/*",allowedTypes:wn,value:t,notices:a,onError:O}))}));var kn={from:[{type:"files",isMatch:function(e){return 1===e.length&&0===e[0].type.indexOf("audio/")},transform:function(e){var t=e[0];return Object(K.createBlock)("core/audio",{src:Object(Ce.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:function(e){var t=e.named,r=t.src,n=t.mp3,c=t.m4a,o=t.ogg,a=t.wav,i=t.wma;return r||n||c||o||a||i}},loop:{type:"string",shortcode:function(e){return e.named.loop}},autoplay:{type:"string",shortcode:function(e){return e.named.autoplay}},preload:{type:"string",shortcode:function(e){return e.named.preload}}}}]},En={apiVersion:2,name:"core/audio",category:"media",attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"},Cn=En.name,xn={title:Object(X._x)("Audio","block title"),description:Object(X.__)("Embed a simple audio player."),keywords:[Object(X.__)("music"),Object(X.__)("sound"),Object(X.__)("podcast"),Object(X.__)("recording")],icon:jn,transforms:kn,deprecated:yn,edit:_n,save:function(e){var t=e.attributes,r=t.autoplay,n=t.caption,c=t.loop,o=t.preload,a=t.src;return a&&Object(Q.createElement)("figure",Y.useBlockProps.save(),Object(Q.createElement)("audio",{controls:"controls",src:a,autoPlay:r,loop:c,preload:o}),!Y.RichText.isEmpty(n)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:n}))}},Sn=r(319);function Pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bn(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],p=e.backgroundColor,g=e.textColor,h=e.gradient,f=e.style,O=Object(Y.getColorClassName)("background-color",p),v=Object(Y.__experimentalGetGradientClass)(h),j=Object(Y.getColorClassName)("color",g),y=ne()(j,v,(a={},Object(Z.a)(a,O,!(null!=f&&null!==(r=f.color)&&void 0!==r&&r.gradient||!O)),Object(Z.a)(a,"has-text-color",g||(null==f||null===(n=f.color)||void 0===n?void 0:n.text)),Object(Z.a)(a,"has-background",p||(null==f||null===(c=f.color)||void 0===c?void 0:c.background)||h||(null==f||null===(o=f.color)||void 0===o?void 0:o.gradient)),a)),w=null!=f&&null!==(i=f.color)&&void 0!==i&&i.background||null!=f&&null!==(l=f.color)&&void 0!==l&&l.text||null!=f&&null!==(s=f.color)&&void 0!==s&&s.gradient?{background:null!=f&&null!==(u=f.color)&&void 0!==u&&u.gradient?f.color.gradient:void 0,backgroundColor:null!=f&&null!==(b=f.color)&&void 0!==b&&b.background?f.color.background:void 0,color:null!=f&&null!==(m=f.color)&&void 0!==m&&m.text?f.color.text:void 0}:{};if(d){if(p){var _=Object(Y.getColorObjectByAttributeValues)(t,p);w.backgroundColor=_.color}if(g){var k=Object(Y.getColorObjectByAttributeValues)(t,g);w.color=k.color}}return{className:y||void 0,style:w}}function Kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jn(e){for(var t=1;t a"},editorStyle:"wp-block-button-editor",style:"wp-block-button"},ic=ac.name,lc={title:Object(X._x)("Button","block title"),description:Object(X.__)("Prompt visitors to take action with a button-style link."),icon:Sn.a,keywords:[Object(X.__)("link")],example:{attributes:{className:"is-style-fill",backgroundColor:"vivid-green-cyan",text:Object(X.__)("Call to Action")}},styles:[{name:"fill",label:Object(X.__)("Fill"),isDefault:!0},{name:"outline",label:Object(X.__)("Outline")}],edit:rc,save:function(e){var t=e.attributes,r=e.className,n=t.borderRadius,c=t.linkTarget,o=t.rel,a=t.text,i=t.title,l=t.url,s=t.width,u=Yn(t),b=ne()("wp-block-button__link",u.className,{"no-border-radius":0===n}),m=function(e){for(var t=1;t"]+\s*)$/m,"$1//$2")}var Gc={from:[{type:"enter",regExp:/^```$/,transform:function(){return Object(K.createBlock)("core/code")}},{type:"block",blocks:["core/html"],transform:function(e){var t=e.content;return Object(K.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},Fc={apiVersion:2,name:"core/code",category:"text",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,fontSize:!0},style:"wp-block-code"},Uc=Fc.name,Wc={title:Object(X._x)("Code","block title"),description:Object(X.__)("Display code snippets that respect your spacing and tabs."),icon:Lc.a,example:{attributes:{content:Object(X.__)('// A "block" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );')}},transforms:Gc,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.onRemove,c=Object(Y.useBlockProps)();return Object(Q.createElement)("pre",c,Object(Q.createElement)(Y.RichText,{tagName:"code",value:t.content,onChange:function(e){return r({content:e})},onRemove:n,placeholder:Object(X.__)("Write code…"),"aria-label":Object(X.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function(e){var t,r=e.attributes;return Object(Q.createElement)("pre",Y.useBlockProps.save(),Object(Q.createElement)(Y.RichText.Content,{tagName:"code",value:(t=r.content,Object(J.flow)(Ic,Dc)(t||""))}))}},qc=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-4.1 1.5v10H10v-10h4.9zM5.5 17V8c0-.3.2-.5.5-.5h2.5v10H6c-.3 0-.5-.2-.5-.5zm14 0c0 .3-.2.5-.5.5h-2.6v-10H19c.3 0 .5.2.5.5v9z"}));function Zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $c(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:c}}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,a=!0,i=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){i=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(i)throw o}}}}function Kc(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]:e.length;return Object(J.sumBy)(e,(function(e){return eo(e,t)}))}function ro(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((function(e,r){var n=eo(r,t);return Object.assign(e,Object(Z.a)({},r.clientId,n))}),{})}function no(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,n=to(e,r);return Object(J.mapValues)(ro(e,r),(function(e){return Qc(t*e/n)}))}function co(e,t){return e.map((function(e){return Object(J.merge)({},e,{attributes:{width:t[e.clientId]}})}))}var oo="web"===Q.Platform.OS,ao=[{value:"%",label:oo?"%":Object(X.__)("Percentage (%)"),default:""},{value:"px",label:oo?"px":Object(X.__)("Pixels (px)"),default:""},{value:"em",label:oo?"em":Object(X.__)("Relative to parent font size (em)"),default:""},{value:"rem",label:oo?"rem":Object(X.__)("Relative to root font size (rem)"),default:""},{value:"vw",label:oo?"vw":Object(X.__)("Viewport width (vw)"),default:""}];var io=["core/column"];var lo=Object(de.withDispatch)((function(e,t,r){return{updateAlignment:function(n){var c=t.clientId,o=t.setAttributes,a=e("core/block-editor").updateBlockAttributes,i=r.select("core/block-editor").getBlockOrder;o({verticalAlignment:n}),i(c).forEach((function(e){a(e,{verticalAlignment:n})}))},updateColumns:function(n,c){var o=t.clientId,a=e("core/block-editor").replaceInnerBlocks,i=(0,r.select("core/block-editor").getBlocks)(o),l=i.every((function(e){var t,r=e.attributes.width;return Number.isFinite(null!=r&&null!==(t=r.endsWith)&&void 0!==t&&t.call(r,"%")?parseFloat(r):r)})),s=c>n;if(s&&l){var u=Qc(100/c),b=no(i,100-u);i=[].concat(Object(q.a)(co(i,b)),Object(q.a)(Object(J.times)(c-n,(function(){return Object(K.createBlock)("core/column",{width:u})}))))}else if(s)i=[].concat(Object(q.a)(i),Object(q.a)(Object(J.times)(c-n,(function(){return Object(K.createBlock)("core/column")}))));else{if(i=Object(J.dropRight)(i,n-c),l)i=co(i,no(i,100))}a(o,i)}}}))((function(e){var t=e.attributes,r=e.updateAlignment,n=e.updateColumns,c=e.clientId,o=t.verticalAlignment,a=Object(de.useSelect)((function(e){return{count:e("core/block-editor").getBlockCount(c)}}),[c]).count,i=ne()(Object(Z.a)({},"are-vertically-aligned-".concat(o),o)),l=Object(Y.useBlockProps)({className:i}),s=Object(Y.__experimentalUseInnerBlocksProps)(l,{allowedBlocks:io,orientation:"horizontal",renderAppender:!1});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.BlockVerticalAlignmentToolbar,{onChange:r,value:o})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:a,onChange:function(e){return n(a,e)},min:1,max:Math.max(6,a)}),a>6&&Object(Q.createElement)(me.Notice,{status:"warning",isDismissible:!1},Object(X.__)("This column count exceeds the recommended amount and may cause visual breakage.")))),Object(Q.createElement)("div",s))}));function so(e){var t=e.clientId,r=e.name,n=e.setAttributes,c=Object(de.useSelect)((function(e){var t=e(K.store),n=t.getBlockVariations,c=t.getBlockType,o=t.getDefaultBlockVariation;return{blockType:c(r),defaultVariation:o(r,"block"),variations:n(r,"block")}}),[r]),o=c.blockType,a=c.defaultVariation,i=c.variations,l=Object(de.useDispatch)("core/block-editor").replaceInnerBlocks,s=Object(Y.useBlockProps)();return Object(Q.createElement)("div",s,Object(Q.createElement)(Y.__experimentalBlockVariationPicker,{icon:Object(J.get)(o,["icon","src"]),label:Object(J.get)(o,["title"]),variations:i,onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;e.attributes&&n(e.attributes),e.innerBlocks&&l(t,Object(K.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))}var uo=function(e){var t=e.clientId,r=Object(de.useSelect)((function(e){return e("core/block-editor").getBlocks(t).length>0}),[t])?lo:so;return Object(Q.createElement)(r,e)};var bo=[{name:"one-column-full",title:Object(X.__)("100"),description:Object(X.__)("One column"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m39.0625 14h-30.0625v20.0938h30.0625zm-30.0625-2c-1.10457 0-2 .8954-2 2v20.0938c0 1.1045.89543 2 2 2h30.0625c1.1046 0 2-.8955 2-2v-20.0938c0-1.1046-.8954-2-2-2z"})),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:Object(X.__)("50 / 50"),description:Object(X.__)("Two columns; equal split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H25V34H39ZM23 34H9V14H23V34Z"})),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:Object(X.__)("30 / 70"),description:Object(X.__)("Two columns; one-third, two-thirds split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H20V34H39ZM18 34H9V14H18V34Z"})),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:Object(X.__)("70 / 30"),description:Object(X.__)("Two columns; two-thirds, one-third split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M39 12C40.1046 12 41 12.8954 41 14V34C41 35.1046 40.1046 36 39 36H9C7.89543 36 7 35.1046 7 34V14C7 12.8954 7.89543 12 9 12H39ZM39 34V14H30V34H39ZM28 34H9V14H28V34Z"})),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:Object(X.__)("33 / 33 / 33"),description:Object(X.__)("Three columns; equal split"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM28.5 34h-9V14h9v20zm2 0V14H39v20h-8.5zm-13 0H9V14h8.5v20z"})),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:Object(X.__)("25 / 50 / 25"),description:Object(X.__)("Three columns; wide center column"),icon:Object(Q.createElement)(me.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(me.Path,{fillRule:"evenodd",d:"M41 14a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h30a2 2 0 0 0 2-2V14zM31 34H17V14h14v20zm2 0V14h6v20h-6zm-18 0H9V14h6v20z"})),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}];function mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function po(e){for(var t=1;t0,rootClientId:n(i)}}),[i]),u=s.hasChildBlocks,b=s.rootClientId,m=Object(de.useDispatch)("core/block-editor").updateBlockAttributes,d=Number.isFinite(n)?n+"%":n,p=Object(Y.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),g=Object(Y.__experimentalUseInnerBlocksProps)(p,{templateLock:o,renderAppender:u?void 0:Y.InnerBlocks.ButtonBlockAppender});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.BlockVerticalAlignmentToolbar,{onChange:function(e){a({verticalAlignment:e}),m(b,{verticalAlignment:null})},value:r})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Column settings")},Object(Q.createElement)(me.__experimentalUnitControl,{label:Object(X.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:n||"",onChange:function(e){e=0>parseFloat(e)?"0":e,a({width:e})},units:ao}))),Object(Q.createElement)("div",g))};var ko={apiVersion:2,name:"core/column",category:"text",parent:["core/columns"],attributes:{verticalAlignment:{type:"string"},width:{type:"string"},templateLock:{type:"string"}},supports:{anchor:!0,reusable:!1,html:!1}},Eo=ko.name,Co={title:Object(X._x)("Column","block title"),icon:vo,description:Object(X.__)("A single column within a columns block."),edit:_o,save:function(e){var t,r=e.attributes,n=r.verticalAlignment,c=r.width,o=ne()(Object(Z.a)({},"is-vertically-aligned-".concat(n),n));return c&&(t={flexBasis:Number.isFinite(c)?c+"%":c}),Object(Q.createElement)("div",Y.useBlockProps.save({className:o,style:t}),Object(Q.createElement)(Y.InnerBlocks.Content,null))},deprecated:wo},xo=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"}));function So(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var Po={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"};function Bo(e){return e?{backgroundImage:"url(".concat(e,")")}:{}}var To="web"===Q.Platform.OS,zo=[{value:"px",label:To?"px":Object(X.__)("Pixels (px)"),default:"430"},{value:"em",label:To?"em":Object(X.__)("Relative to parent font size (em)"),default:"20"},{value:"rem",label:To?"rem":Object(X.__)("Relative to root font size (rem)"),default:"20"},{value:"vw",label:To?"vw":Object(X.__)("Viewport width (vw)"),default:"20"},{value:"vh",label:To?"vh":Object(X.__)("Viewport height (vh)"),default:"50"}];function No(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Mo(e){return function(t){if(t&&t.url){var r;if(Object(Ce.isBlobURL)(t.url)&&(t.type=Object(Ce.getBlobTypeByURL)(t.url)),t.media_type)r="image"===t.media_type?"image":"video";else{if("image"!==t.type&&"video"!==t.type)return;r=t.type}e(function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,c=Object(Q.useState)(!1),o=Object(be.a)(c,2),a=o[0],i=o[1];return Object(Q.useEffect)((function(){e&&t<=50&&n.current&&Ko().getColorAsync(n.current,(function(e){i(e.isDark)}))}),[e,e&&t<=50&&n.current,i]),Object(Q.useEffect)((function(){if(t>50||!e){if(!r)return void i(!0);i(Uo()(r).isDark())}}),[r,t>50||!e,i]),Object(Q.useEffect)((function(){e||r||i(!1)}),[!e&&!r,i]),a}(w,g,l.color,H),I="image"===p,D="video"===p,G=Object(Q.useState)(null),F=Object(be.a)(G,2),U=F[0],W=F[1],q=b.removeAllNotices,$=b.createErrorNotice,K=j?"".concat(v).concat(j):v,J=!(f||O),ee=qo(qo({},I&&!J?Bo(w):{backgroundImage:E||void 0}),{},{backgroundColor:l.color,minHeight:U||K||void 0}),te={objectPosition:h&&J?"".concat(Math.round(100*h.x),"% ").concat(Math.round(100*h.y),"%"):void 0},re=!!(w||l.color||E),ce=D||I&&(!f||O),oe=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.__experimentalBlockAlignmentMatrixToolbar,{label:Object(X.__)("Change content position"),value:m,onChange:function(e){return o({contentPosition:e})},isDisabled:!re}),Object(Q.createElement)(Y.__experimentalBlockFullHeightAligmentToolbar,{isActive:A,onToggle:function(){return A?o("vh"===R&&100===T?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:T,minHeightUnit:R}):(z(v),V(j),o({minHeight:100,minHeightUnit:"vh"}))},isDisabled:!re}),Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:d,mediaURL:w,allowedTypes:Zo,accept:"image/*,video/*",onSelect:x,name:w?Object(X.__)("Replace"):Object(X.__)("Add Media")})),Object(Q.createElement)(Y.InspectorControls,null,!!w&&Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Media settings")},I&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Fixed background"),checked:f,onChange:function(){o(qo({hasParallax:!f},f?{}:{focalPoint:void 0}))}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Repeated background"),checked:O,onChange:function(){o({isRepeated:!O})}})),ce&&Object(Q.createElement)(me.FocalPointPicker,{label:Object(X.__)("Focal point picker"),url:w,value:h,onChange:function(e){return o({focalPoint:e})}}),Object(Q.createElement)(me.PanelRow,null,Object(Q.createElement)(me.Button,{isSecondary:!0,isSmall:!0,className:"block-library-cover__reset-button",onClick:function(){return o({url:void 0,id:void 0,backgroundType:void 0,dimRatio:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})}},Object(X.__)("Clear Media")))),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Dimensions")},Object(Q.createElement)(Jo,{value:U||v,unit:j,onChange:function(e){return o({minHeight:e})},onUnitChange:function(e){return o({minHeightUnit:e})}})),Object(Q.createElement)(Y.__experimentalPanelColorGradientSettings,{title:Object(X.__)("Overlay"),initialOpen:!0,settings:[{colorValue:l.color,gradientValue:E,onColorChange:s,onGradientChange:C,label:Object(X.__)("Color")}]},!!w&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Opacity"),value:g,onChange:function(e){return o({dimRatio:e})},min:0,max:100,step:10,required:!0})))),ae=Object(Y.useBlockProps)(),ie=Object(Y.__experimentalUseInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:$o,templateInsertUpdatesSelection:!0});if(!re){var le=Object(Q.createElement)(Y.BlockIcon,{icon:xo}),se=Object(X.__)("Cover");return Object(Q.createElement)(Q.Fragment,null,oe,Object(Q.createElement)("div",Object(ue.a)({},ae,{className:ne()("is-placeholder",ae.className)}),Object(Q.createElement)(Y.MediaPlaceholder,{icon:le,labels:{title:se,instructions:Object(X.__)("Upload an image or video file, or pick one from your media library.")},onSelect:x,accept:"image/*,video/*",allowedTypes:Zo,notices:i,onError:function(e){q(),$(e)}},Object(Q.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(Q.createElement)(Y.ColorPalette,{disableCustomColors:!0,value:l.color,onChange:s,clearable:!1})))))}var de=ne()(No(g),(t={"is-dark-theme":L,"has-background-dim":0!==g,"is-transient":S,"has-parallax":f,"is-repeated":O},Object(Z.a)(t,l.class,l.class),Object(Z.a)(t,"has-background-gradient",E),Object(Z.a)(t,k,!w&&k),Object(Z.a)(t,"has-custom-content-position",!Ro(m)),t),Vo(m));return Object(Q.createElement)(Q.Fragment,null,oe,Object(Q.createElement)("div",Object(ue.a)({},ae,{className:ne()(de,ae.className),style:qo(qo({},ee),ae.style),"data-url":w}),Object(Q.createElement)(Yo,{values:null==y||null===(r=y.spacing)||void 0===r?void 0:r.padding,showValues:null==y||null===(n=y.visualizers)||void 0===n?void 0:n.padding}),Object(Q.createElement)(Qo,{className:"block-library-cover__resize-container",onResizeStart:function(){o({minHeightUnit:"px"}),u(!1)},onResize:W,onResizeStop:function(e){u(!0),o({minHeight:e}),W(null)},showHandle:a}),w&&E&&0!==g&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",k),style:{backgroundImage:E}}),I&&J&&Object(Q.createElement)("img",{ref:H,className:"wp-block-cover__image-background",alt:"",src:w,style:te}),D&&Object(Q.createElement)("video",{ref:H,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:w,style:te}),S&&Object(Q.createElement)(me.Spinner,null),Object(Q.createElement)("div",ie)))}));function ta(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ra(e){for(var t=1;tSnow Patrol"),align:"center"}}]},transforms:na,save:function(e){var t,r=e.attributes,n=r.backgroundType,c=r.gradient,o=r.contentPosition,a=r.customGradient,i=r.customOverlayColor,l=r.dimRatio,s=r.focalPoint,u=r.hasParallax,b=r.isRepeated,m=r.overlayColor,d=r.url,p=r.id,g=r.minHeight,h=r.minHeightUnit,f=Object(Y.getColorClassName)("background-color",m),O=Object(Y.__experimentalGetGradientClass)(c),v=h?"".concat(g).concat(h):g,j="image"===n,y="video"===n,w=!(u||b),_=ra(ra({},j&&!w?Bo(d):{}),{},{backgroundColor:f?void 0:i,background:a&&!d?a:void 0,minHeight:v||void 0}),k=s&&w?"".concat(Math.round(100*s.x),"% ").concat(Math.round(100*s.y),"%"):void 0,E=ne()(No(l),f,(t={"has-background-dim":0!==l,"has-parallax":u,"is-repeated":b,"has-background-gradient":c||a},Object(Z.a)(t,O,!d&&O),Object(Z.a)(t,"has-custom-content-position",!Ro(o)),t),Vo(o));return Object(Q.createElement)("div",Y.useBlockProps.save({className:E,style:_}),d&&(c||a)&&0!==l&&Object(Q.createElement)("span",{"aria-hidden":"true",className:ne()("wp-block-cover__gradient-background",O),style:a?{background:a}:void 0}),j&&w&&d&&Object(Q.createElement)("img",{className:ne()("wp-block-cover__image-background",p?"wp-image-".concat(p):null),alt:"",src:d,style:{objectPosition:k},"data-object-fit":"cover","data-object-position":k}),y&&d&&Object(Q.createElement)("video",{className:ne()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:k},"data-object-fit":"cover","data-object-position":k}),Object(Q.createElement)("div",{className:"wp-block-cover__inner-container"},Object(Q.createElement)(Y.InnerBlocks.Content,null)))},edit:ea,deprecated:Io},ia=function(e){var t=e.blockSupportsResponsive,r=e.showEditButton,n=e.themeSupportsResponsive,c=e.allowResponsive,o=e.getResponsiveHelp,a=e.toggleResponsive,i=e.switchBackToURLInput;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,r&&Object(Q.createElement)(me.ToolbarButton,{className:"components-toolbar__control",label:Object(X.__)("Edit URL"),icon:$r.a,onClick:i}))),n&&t&&Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Media settings"),className:"blocks-responsive"},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Resize for smaller devices"),checked:c,help:o,onChange:a}))))},la=function(){return Object(Q.createElement)("div",{className:"wp-block-embed is-loading"},Object(Q.createElement)(me.Spinner,null),Object(Q.createElement)("p",null,Object(X.__)("Embedding…")))},sa=function(e){var t=e.icon,r=e.label,n=e.value,c=e.onSubmit,o=e.onChange,a=e.cannotEmbed,i=e.fallback,l=e.tryAgain;return Object(Q.createElement)(me.Placeholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:t,showColors:!0}),label:r,className:"wp-block-embed",instructions:Object(X.__)("Paste a link to the content you want to display on your site.")},Object(Q.createElement)("form",{onSubmit:c},Object(Q.createElement)("input",{type:"url",value:n||"",className:"components-placeholder__input","aria-label":r,placeholder:Object(X.__)("Enter URL to embed here…"),onChange:o}),Object(Q.createElement)(me.Button,{isPrimary:!0,type:"submit"},Object(X._x)("Embed","button label"))),Object(Q.createElement)("div",{className:"components-placeholder__learn-more"},Object(Q.createElement)(me.ExternalLink,{href:Object(X.__)("https://wordpress.org/support/article/embeds/")},Object(X.__)("Learn more about embeds"))),a&&Object(Q.createElement)("div",{className:"components-placeholder__error"},Object(Q.createElement)("div",{className:"components-placeholder__instructions"},Object(X.__)("Sorry, this content could not be embedded.")),Object(Q.createElement)(me.Button,{isSecondary:!0,onClick:l},Object(X._x)("Try again","button label"))," ",Object(Q.createElement)(me.Button,{isSecondary:!0,onClick:i},Object(X._x)("Convert to link","button label"))))};function ua(e){var t=e.html,r=Object(Q.useRef)();Object(Q.useEffect)((function(){var e=r.current.ownerDocument,t=e.defaultView,n=t.FocusEvent;function c(t){var r=t.data,n=(r=void 0===r?{}:r).secret,c=r.message,o=r.value;[n,c,o].some((function(e){return!e}))||"height"!==c||e.querySelectorAll('iframe[data-secret="'.concat(n,'"')).forEach((function(e){+e.height!==o&&(e.height=o)}))}function o(){var t=e.activeElement;if("IFRAME"===t.tagName&&t.parentNode===r.current){var c=new n("focus",{bubbles:!0});t.dispatchEvent(c)}}return t.addEventListener("message",c),t.addEventListener("blur",o),function(){t.removeEventListener("message",c),t.removeEventListener("blur",o)}}),[]);var n=Object(Q.useMemo)((function(){var e=(new window.DOMParser).parseFromString(t,"text/html"),r=e.querySelector("iframe");r&&r.removeAttribute("style");var n=e.querySelector("blockquote");return n&&(n.style.display="none"),e.body.innerHTML}),[t]);return Object(Q.createElement)("div",{ref:r,className:"wp-block-embed__wrapper",dangerouslySetInnerHTML:{__html:n}})}function ba(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(Wr.a)(e);if(t){var c=Object(Wr.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(Ur.a)(this,r)}}var ma=function(e){Object(Fr.a)(r,e);var t=ba(r);function r(){var e;return Object(Ir.a)(this,r),(e=t.apply(this,arguments)).hideOverlay=e.hideOverlay.bind(Object(Gr.a)(e)),e.state={interactive:!1},e}return Object(Dr.a)(r,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"render",value:function(){var e,t,r,n=this.props,c=n.preview,o=n.previewable,a=n.url,i=n.type,l=n.caption,s=n.onCaptionChange,u=n.isSelected,b=n.className,m=n.icon,d=n.label,p=n.insertBlocksAfter,g=c.scripts,h=this.state.interactive,f="photo"===i?(t=(e=c).thumbnail_url||e.url,r=Object(Q.createElement)("p",null,Object(Q.createElement)("img",{src:t,alt:e.title,width:"100%"})),Object(Q.renderToString)(r)):c.html,O=new URL(a).host.split("."),v=O.splice(O.length-2,O.length-1).join("."),j=Object(X.sprintf)(Object(X.__)("Embedded content from %s"),v),y=Re()(i,b,"wp-block-embed__wrapper"),w="wp-embed"===i?Object(Q.createElement)(ua,{html:f}):Object(Q.createElement)("div",{className:"wp-block-embed__wrapper"},Object(Q.createElement)(me.SandBox,{html:f,scripts:g,title:j,type:y,onFocus:this.hideOverlay}),!h&&Object(Q.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(Q.createElement)("figure",{className:Re()(b,"wp-block-embed",{"is-type-video":"video"===i})},o?w:Object(Q.createElement)(me.Placeholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:m,showColors:!0}),label:d},Object(Q.createElement)("p",{className:"components-placeholder__error"},Object(Q.createElement)("a",{href:a},a)),Object(Q.createElement)("p",{className:"components-placeholder__error"},Object(X.sprintf)(Object(X.__)("Embedded content from %s can't be previewed in the editor."),v))),(!Y.RichText.isEmpty(l)||u)&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption",placeholder:Object(X.__)("Write caption…"),value:l,onChange:s,inlineToolbar:!0,__unstableOnSplitAtEnd:function(){return p(Object(K.createBlock)("core/paragraph"))}}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),r}(Q.Component);function da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pa(e){for(var t=1;t0},priority:15,transform:function(e){var t=[];return e.forEach((function(e){var r=Object(Ce.createBlobURL)(e);t.push(Object(K.createBlock)("core/file",{href:r,fileName:e.name,textLinkHref:r}))})),t}},{type:"block",blocks:["core/audio"],transform:function(e){return Object(K.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/video"],transform:function(e){return Object(K.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/image"],transform:function(e){return Object(K.createBlock)("core/file",{href:e.url,fileName:e.caption,textLinkHref:e.url,id:e.id,anchor:e.anchor})}}],to:[{type:"block",blocks:["core/audio"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(de.select)("core").getMedia)(t);return!!r&&Object(J.includes)(r.mime_type,"audio")},transform:function(e){return Object(K.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/video"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(de.select)("core").getMedia)(t);return!!r&&Object(J.includes)(r.mime_type,"video")},transform:function(e){return Object(K.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}},{type:"block",blocks:["core/image"],isMatch:function(e){var t=e.id;if(!t)return!1;var r=(0,Object(de.select)("core").getMedia)(t);return!!r&&Object(J.includes)(r.mime_type,"image")},transform:function(e){return Object(K.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}}]},qa={apiVersion:2,name:"core/file",category:"media",attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"}},supports:{anchor:!0,align:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"},Za=qa.name,$a={title:Object(X._x)("File","block title"),description:Object(X.__)("Add a link to a downloadable file."),icon:Da,keywords:[Object(X.__)("document"),Object(X.__)("pdf"),Object(X.__)("download")],transforms:Wa,edit:Ua,save:function(e){var t=e.attributes,r=t.href,n=t.fileName,c=t.textLinkHref,o=t.textLinkTarget,a=t.showDownloadButton,i=t.downloadButtonText;return r&&Object(Q.createElement)("div",Y.useBlockProps.save(),!Y.RichText.isEmpty(n)&&Object(Q.createElement)("a",{href:c,target:o,rel:!!o&&"noreferrer noopener"},Object(Q.createElement)(Y.RichText.Content,{value:n})),a&&Object(Q.createElement)("a",{href:r,className:"wp-block-file__button",download:!0},Object(Q.createElement)(Y.RichText.Content,{value:i})))}},Ya=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"}));var Ka={from:[{type:"block",blocks:["core/code"],transform:function(e){var t=e.content;return Object(K.createBlock)("core/html",{content:t})}}]},Ja={apiVersion:2,name:"core/html",category:"widgets",attributes:{content:{type:"string",source:"html"}},supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-html-editor"},Xa=Ja.name,Qa={title:Object(X._x)("Custom HTML","block title"),description:Object(X.__)("Add custom HTML code and preview it as you edit."),icon:Ya,keywords:[Object(X.__)("embed")],example:{attributes:{content:""+Object(X.__)("Welcome to the wonderful world of blocks…")+""}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.isSelected,c=Object(Q.useState)(),o=Object(be.a)(c,2),a=o[0],i=o[1],l=Object(de.useSelect)((function(e){return["\n\t\t\thtml,body,:root {\n\t\t\t\tmargin: 0 !important;\n\t\t\t\tpadding: 0 !important;\n\t\t\t\toverflow: visible !important;\n\t\t\t\tmin-height: auto !important;\n\t\t\t}\n\t\t"].concat(Object(q.a)(Object(Y.transformStyles)(e("core/block-editor").getSettings().styles)))}),[]);return Object(Q.createElement)("div",Object(Y.useBlockProps)({className:"block-library-html__edit"}),Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{className:"components-tab-button",isPressed:!a,onClick:function(){i(!1)}},Object(Q.createElement)("span",null,"HTML")),Object(Q.createElement)(me.ToolbarButton,{className:"components-tab-button",isPressed:a,onClick:function(){i(!0)}},Object(Q.createElement)("span",null,Object(X.__)("Preview"))))),Object(Q.createElement)(me.Disabled.Consumer,null,(function(e){return a||e?Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.SandBox,{html:t.content,styles:l}),!n&&Object(Q.createElement)("div",{className:"block-library-html__preview-overlay"})):Object(Q.createElement)(Y.PlainText,{value:t.content,onChange:function(e){return r({content:e})},placeholder:Object(X.__)("Write HTML…"),"aria-label":Object(X.__)("HTML")})})))},save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.content)},transforms:Ka},ei=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 17h7V6H4v11zm9-10v1.5h7V7h-7zm0 5.5h7V11h-7v1.5zm0 4h7V15h-7v1.5z"})),ti=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Path,{d:"M18 2l2 4h-2l-2-4h-3l2 4h-2l-2-4h-1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2zm2 12H10V4.4L11.8 8H20z"}),Object(Q.createElement)(me.Path,{d:"M14 20H4V10h3V8H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3h-2z"}),Object(Q.createElement)(me.Path,{d:"M5 19h8l-1.59-2H9.24l-.84 1.1L7 16.3 5 19z"})),ri=["image","video"];function ni(e,t){return e?{backgroundImage:"url(".concat(e,")"),backgroundPosition:t?"".concat(100*t.x,"% ").concat(100*t.y,"%"):"50% 50%"}:{}}function ci(e){var t=e.isSelected,r=e.isStackedOnMobile,n=Object(Yt.a)(e,["isSelected","isStackedOnMobile"]),c=Object(xe.useViewportMatch)("small","<");return Object(Q.createElement)(me.ResizableBox,Object(ue.a)({showHandle:t&&(!c||!r)},n))}function oi(e){var t=e.mediaId,r=e.mediaUrl,n=e.onSelectMedia;return Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.MediaReplaceFlow,{mediaId:t,mediaURL:r,allowedTypes:ri,accept:"image/*,video/*",onSelect:n}))}function ai(e){var t=e.className,r=e.noticeOperations,n=e.noticeUI,c=e.onSelectMedia;return Object(Q.createElement)(Y.MediaPlaceholder,{icon:Object(Q.createElement)(Y.BlockIcon,{icon:ti}),labels:{title:Object(X.__)("Media area")},className:t,onSelect:c,accept:"image/*,video/*",allowedTypes:ri,notices:n,onError:function(e){r.removeAllNotices(),r.createErrorNotice(e)}})}var ii=Object(me.withNotices)((function(e){var t=e.className,r=e.commitWidthChange,n=e.focalPoint,c=e.imageFill,o=e.isSelected,a=e.isStackedOnMobile,i=e.mediaAlt,l=e.mediaId,s=e.mediaPosition,u=e.mediaType,b=e.mediaUrl,m=e.mediaWidth,d=e.onSelectMedia,p=e.onWidthChange,g=Object(de.useDispatch)("core/block-editor").toggleSelection;if(u&&b){var h={right:"left"===s,left:"right"===s},f="image"===u&&c?ni(b,n):{},O={image:function(){return Object(Q.createElement)("img",{src:b,alt:i})},video:function(){return Object(Q.createElement)("video",{controls:!0,src:b})}};return Object(Q.createElement)(ci,{as:"figure",className:ne()(t,"editor-media-container__resizer"),style:f,size:{width:m+"%"},minWidth:"10%",maxWidth:"100%",enable:h,onResizeStart:function(){g(!1)},onResize:function(e,t,r){p(parseInt(r.style.width))},onResizeStop:function(e,t,n){g(!0),r(parseInt(n.style.width))},axis:"x",isSelected:o,isStackedOnMobile:a},Object(Q.createElement)(oi,{onSelectMedia:d,mediaUrl:b,mediaId:l}),(O[u]||J.noop)())}return Object(Q.createElement)(ai,e)}));function li(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function si(e){for(var t=1;tEarns his living
    Noiselessly.")}},{name:"core/paragraph",attributes:{content:Object(X.__)("— Kobayashi Issa (一茶)")}}]},transforms:vi,edit:Oi,save:function(e){var t,r,n=e.attributes,c=n.isStackedOnMobile,o=n.mediaAlt,a=n.mediaPosition,i=n.mediaType,l=n.mediaUrl,s=n.mediaWidth,u=n.mediaId,b=n.verticalAlignment,m=n.imageFill,d=n.focalPoint,p=n.linkClass,g=n.href,h=n.linkTarget,f=n.rel,O=n.mediaSizeSlug||"full",v=Object(J.isEmpty)(f)?void 0:f,j=ne()((t={},Object(Z.a)(t,"wp-image-".concat(u),u&&"image"===i),Object(Z.a)(t,"size-".concat(O),u&&"image"===i),t)),y=Object(Q.createElement)("img",{src:l,alt:o,className:j||null});g&&(y=Object(Q.createElement)("a",{className:p,href:g,target:h,rel:v},y));var w,_={image:function(){return y},video:function(){return Object(Q.createElement)("video",{controls:!0,src:l})}},k=ne()((r={"has-media-on-the-right":"right"===a,"is-stacked-on-mobile":c},Object(Z.a)(r,"is-vertically-aligned-".concat(b),b),Object(Z.a)(r,"is-image-fill",m),r)),E=m?ni(l,d):{};50!==s&&(w="right"===a?"auto ".concat(s,"%"):"".concat(s,"% auto"));var C={gridTemplateColumns:w};return Object(Q.createElement)("div",Y.useBlockProps.save({className:k,style:C}),Object(Q.createElement)("figure",{className:"wp-block-media-text__media",style:E},(_[i]||J.noop)()),Object(Q.createElement)("div",{className:"wp-block-media-text__content"},Object(Q.createElement)(Y.InnerBlocks.Content,null)))},deprecated:mi},_i=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}));var ki={apiVersion:2,name:"core/latest-comments",category:"widgets",attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,html:!1},editorStyle:"wp-block-latest-comments-editor",style:"wp-block-latest-comments"},Ei=ki.name,Ci={title:Object(X._x)("Latest Comments","block title"),description:Object(X.__)("Display a list of your most recent comments."),icon:_i,keywords:[Object(X.__)("recent comments")],example:{},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.commentsToShow,c=t.displayAvatar,o=t.displayDate,a=t.displayExcerpt;return Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Latest comments settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display avatar"),checked:c,onChange:function(){return r({displayAvatar:!c})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display date"),checked:o,onChange:function(){return r({displayDate:!o})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display excerpt"),checked:a,onChange:function(){return r({displayExcerpt:!a})}}),Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Number of comments"),value:n,onChange:function(e){return r({commentsToShow:e})},min:1,max:100,required:!0}))),Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)(hn.a,{block:"core/latest-comments",attributes:t})))}},xi=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 11h2V9H7v2zm0 4h2v-2H7v2zm3-4h7V9h-7v2zm0 4h7v-2h-7v2z"}));function Si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pi(e){for(var t=1;t0?a.map((function(e){return e.id})):[],d=r("postType","post",Object(J.pickBy)({categories:m,author:i,order:c,orderby:o,per_page:n},(function(e){return!Object(J.isUndefined)(e)})));return{defaultImageWidth:Object(J.get)(b,[f,"width"],0),defaultImageHeight:Object(J.get)(b,[f,"height"],0),imageSizeOptions:u.filter((function(e){return"full"!==e.slug})).map((function(e){var t=e.name;return{value:e.slug,label:t}})),latestPosts:Array.isArray(d)?d.map((function(e){if(!e.featured_media)return e;var t=l(e.featured_media),r=Object(J.get)(t,["media_details","sizes",f,"source_url"],null);r||(r=Object(J.get)(t,"source_url",null));var n={url:r,alt:null==t?void 0:t.alt_text};return Ri(Ri({},e),{},{featuredImageInfo:n})})):d}}),[f,n,c,o,a,i]),w=y.imageSizeOptions,_=y.latestPosts,k=y.defaultImageWidth,E=y.defaultImageHeight,C=Object(Q.useState)([]),x=Object(be.a)(C,2),S=x[0],P=x[1],B=Object(Q.useState)([]),T=Object(be.a)(B,2),z=T[0],N=T[1],M=S.reduce((function(e,t){return Ri(Ri({},e),{},Object(Z.a)({},t.name,t))}),{}),R=Object(Q.useRef)();Object(Q.useEffect)((function(){return R.current=!0,pt()({path:Object(Se.addQueryArgs)("/wp/v2/categories",Vi)}).then((function(e){R.current&&P(e)})).catch((function(){R.current&&P([])})),pt()({path:Object(Se.addQueryArgs)("/wp/v2/users",Ai)}).then((function(e){R.current&&N(e)})).catch((function(){R.current&&N([])})),function(){R.current=!1}}),[]);var V=Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Post content settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Post content"),checked:u,onChange:function(e){return r({displayPostContent:e})}}),u&&Object(Q.createElement)(me.RadioControl,{label:Object(X.__)("Show:"),selected:s,options:[{label:Object(X.__)("Excerpt"),value:"excerpt"},{label:Object(X.__)("Full post"),value:"full_post"}],onChange:function(e){return r({displayPostContentRadio:e})}}),u&&"excerpt"===s&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Max number of words in excerpt"),value:g,onChange:function(e){return r({excerptLength:e})},min:10,max:100})),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Post meta settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display author name"),checked:m,onChange:function(e){return r({displayAuthor:e})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display post date"),checked:b,onChange:function(e){return r({displayPostDate:e})}})),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Featured image settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display featured image"),checked:l,onChange:function(e){return r({displayFeaturedImage:e})}}),l&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.__experimentalImageSizeControl,{onChange:function(e){var t={};e.hasOwnProperty("width")&&(t.featuredImageSizeWidth=e.width),e.hasOwnProperty("height")&&(t.featuredImageSizeHeight=e.height),r(t)},slug:f,width:O,height:v,imageWidth:k,imageHeight:E,imageSizeOptions:w,onChangeImage:function(e){return r({featuredImageSizeSlug:e,featuredImageSizeWidth:void 0,featuredImageSizeHeight:void 0})}}),Object(Q.createElement)(me.BaseControl,{className:"block-editor-image-alignment-control__row"},Object(Q.createElement)(me.BaseControl.VisualLabel,null,Object(X.__)("Image alignment")),Object(Q.createElement)(Y.BlockAlignmentToolbar,{value:h,onChange:function(e){return r({featuredImageAlign:e})},controls:["left","center","right"],isCollapsed:!1})),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Add link to featured image"),checked:j,onChange:function(e){return r({addLinkToFeaturedImage:e})}}))),Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Sorting and filtering")},Object(Q.createElement)(me.QueryControls,Object(ue.a)({order:c,orderBy:o},{numberOfItems:n,onOrderChange:function(e){return r({order:e})},onOrderByChange:function(e){return r({orderBy:e})},onNumberOfItemsChange:function(e){return r({postsToShow:e})},categorySuggestions:M,onCategoryChange:function(e){if(!e.some((function(e){return"string"==typeof e&&!M[e]}))){var t=e.map((function(e){return"string"==typeof e?M[e]:e}));if(Object(J.includes)(t,null))return!1;r({categories:t})}},selectedCategories:a,onAuthorChange:function(e){return r({selectedAuthor:""!==e?Number(e):void 0})},authorList:z,selectedAuthorId:i})),"grid"===d&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:p,onChange:function(e){return r({columns:e})},min:2,max:H?Math.min(6,_.length):6,required:!0}))),A=Object(Y.useBlockProps)({className:ne()(Object(Z.a)({"wp-block-latest-posts__list":!0,"is-grid":"grid"===d,"has-dates":b,"has-author":m},"columns-".concat(p),"grid"===d))}),H=Array.isArray(_)&&_.length;if(!H)return Object(Q.createElement)("div",A,V,Object(Q.createElement)(me.Placeholder,{icon:Rc,label:Object(X.__)("Latest Posts")},Array.isArray(_)?Object(X.__)("No posts found."):Object(Q.createElement)(me.Spinner,null)));var L=_.length>n?_.slice(0,n):_,I=[{icon:zi,title:Object(X.__)("List view"),onClick:function(){return r({postLayout:"list"})},isActive:"list"===d},{icon:Ni,title:Object(X.__)("Grid view"),onClick:function(){return r({postLayout:"grid"})},isActive:"grid"===d}],D=Object(Ti.__experimentalGetSettings)().formats.date;return Object(Q.createElement)("div",null,V,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,{controls:I})),Object(Q.createElement)("ul",A,L.map((function(e,t){var r=Object(J.invoke)(e,["title","rendered","trim"]),n=e.excerpt.rendered,c=z.find((function(t){return t.id===e.author})),o=document.createElement("div");o.innerHTML=n,n=o.textContent||o.innerText||"";var a=e.featuredImageInfo,i=(a=void 0===a?{}:a).url,d=a.alt,p=ne()(Object(Z.a)({"wp-block-latest-posts__featured-image":!0},"align".concat(h),!!h)),f=l&&i,y=f&&Object(Q.createElement)("img",{src:i,alt:d,style:{maxWidth:O,maxHeight:v}}),w=g1?n:Object(_r.replace)(n,/\n/g,_r.__UNSTABLE_LINE_SEPARATOR)})),_r.__UNSTABLE_LINE_SEPARATOR),multilineTag:"li"}),anchor:e.anchor})}},{type:"block",blocks:["core/quote","core/pullquote"],transform:function(e){var t=e.value,r=e.anchor;return Object(K.createBlock)("core/list",{values:Object(_r.toHTMLString)({value:Object(_r.create)({html:t,multilineTag:"p"}),multilineTag:"li"}),anchor:r})}},{type:"raw",selector:"ol,ul",schema:function(e){return{ol:el(e).ol,ul:el(e).ul}},transform:function(e){var t={ordered:"OL"===e.nodeName,anchor:""===e.id?void 0:e.id};if(t.ordered){var r=e.getAttribute("type");r&&(t.type=r),null!==e.getAttribute("reversed")&&(t.reversed=!0);var n=parseInt(e.getAttribute("start"),10);isNaN(n)||1===n&&!t.reversed||(t.start=n)}return Object(K.createBlock)("core/list",Qi(Qi({},Object(K.getBlockAttributes)("core/list",e.outerHTML)),t))}}].concat(Object(q.a)(["*","-"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(K.createBlock)("core/list",{values:"
  • ".concat(e,"
  • ")})}}}))),Object(q.a)(["1.","1)"].map((function(e){return{type:"prefix",prefix:e,transform:function(e){return Object(K.createBlock)("core/list",{ordered:!0,values:"
  • ".concat(e,"
  • ")})}}})))),to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.values;return Object(_r.split)(Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),_r.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(K.createBlock)("core/paragraph",{content:Object(_r.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.values;return Object(_r.split)(Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),_r.__UNSTABLE_LINE_SEPARATOR).map((function(e){return Object(K.createBlock)("core/heading",{content:Object(_r.toHTMLString)({value:e})})}))}},{type:"block",blocks:["core/quote"],transform:function(e){var t=e.values,r=e.anchor;return Object(K.createBlock)("core/quote",{value:Object(_r.toHTMLString)({value:Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:r})}},{type:"block",blocks:["core/pullquote"],transform:function(e){var t=e.values,r=e.anchor;return Object(K.createBlock)("core/pullquote",{value:Object(_r.toHTMLString)({value:Object(_r.create)({html:t,multilineTag:"li",multilineWrapperTags:["ul","ol"]}),multilineTag:"p"}),anchor:r})}}]};function rl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nl(e){for(var t=1;tAlice.
  • The White Rabbit.
  • The Cheshire Cat.
  • The Mad Hatter.
  • The Queen of Hearts.
  • "}},transforms:tl,merge:function(e,t){var r=t.values;return r&&"
  • "!==r?nl(nl({},e),{},{values:e.values+r}):e},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=e.onReplace,o=e.isSelected,a=t.ordered,i=t.values,l=t.type,s=t.reversed,u=t.start,b=a?"ol":"ul",m=Object(Y.useBlockProps)();return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.RichText,Object(ue.a)({identifier:"values",multiline:"li",__unstableMultilineRootTag:b,tagName:b,onChange:function(e){return r({values:e})},value:i,"aria-label":Object(X.__)("List text"),placeholder:Object(X.__)("Write list…"),onMerge:n,onSplit:function(e){return Object(K.createBlock)(ol,Ji(Ji({},t),{},{values:e}))},__unstableOnSplitMiddle:function(){return Object(K.createBlock)("core/paragraph")},onReplace:c,onRemove:function(){return c([])},start:u,reversed:s,type:l},m),(function(e){var t=e.value,n=e.onChange,c=e.onFocus;return Object(Q.createElement)(Q.Fragment,null,o&&Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.RichTextShortcut,{type:"primary",character:"[",onUse:function(){n(Object(_r.__unstableOutdentListItems)(t))}}),Object(Q.createElement)(Y.RichTextShortcut,{type:"primary",character:"]",onUse:function(){n(Object(_r.__unstableIndentListItems)(t,{type:b}))}}),Object(Q.createElement)(Y.RichTextShortcut,{type:"primary",character:"m",onUse:function(){n(Object(_r.__unstableIndentListItems)(t,{type:b}))}}),Object(Q.createElement)(Y.RichTextShortcut,{type:"primaryShift",character:"m",onUse:function(){n(Object(_r.__unstableOutdentListItems)(t))}})),Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,{controls:[{icon:Object(X.isRTL)()?Di:Gi,title:Object(X.__)("Unordered"),describedBy:Object(X.__)("Convert to unordered list"),isActive:Object(_r.__unstableIsActiveListType)(t,"ul",b),onClick:function(){n(Object(_r.__unstableChangeListType)(t,{type:"ul"})),c(),Object(_r.__unstableIsListRootSelected)(t)&&r({ordered:!1})}},{icon:Object(X.isRTL)()?Fi:Ui,title:Object(X.__)("Ordered"),describedBy:Object(X.__)("Convert to ordered list"),isActive:Object(_r.__unstableIsActiveListType)(t,"ol",b),onClick:function(){n(Object(_r.__unstableChangeListType)(t,{type:"ol"})),c(),Object(_r.__unstableIsListRootSelected)(t)&&r({ordered:!0})}},{icon:Object(X.isRTL)()?Wi:qi,title:Object(X.__)("Outdent"),describedBy:Object(X.__)("Outdent list item"),shortcut:Object(X._x)("Backspace","keyboard key"),isDisabled:!Object(_r.__unstableCanOutdentListItems)(t),onClick:function(){n(Object(_r.__unstableOutdentListItems)(t)),c()}},{icon:Object(X.isRTL)()?Zi:$i,title:Object(X.__)("Indent"),describedBy:Object(X.__)("Indent list item"),shortcut:Object(X._x)("Space","keyboard key"),isDisabled:!Object(_r.__unstableCanIndentListItems)(t),onClick:function(){n(Object(_r.__unstableIndentListItems)(t,{type:b})),c()}}]})))})),a&&Object(Q.createElement)(Yi,{setAttributes:r,ordered:a,reversed:s,start:u}))},save:function(e){var t=e.attributes,r=t.ordered,n=t.values,c=t.type,o=t.reversed,a=t.start,i=r?"ol":"ul";return Object(Q.createElement)(i,Y.useBlockProps.save({type:c,reversed:o,start:a}),Object(Q.createElement)(Y.RichText.Content,{value:n,multiline:"li"}))}};var il=Object(de.withDispatch)((function(e,t){var r=t.clientId,n=t.attributes,c=e("core/block-editor").replaceBlock;return{convertToHTML:function(){c(r,Object(K.createBlock)("core/html",{content:n.originalUndelimitedContent}))}}}))((function(e){var t,r=e.attributes,n=e.convertToHTML,c=r.originalName,o=r.originalUndelimitedContent,a=!!o,i=Object(K.getBlockType)("core/html"),l=[];return a&&i?(t=Object(X.sprintf)(Object(X.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.'),c),l.push(Object(Q.createElement)(me.Button,{key:"convert",onClick:n,isPrimary:!0},Object(X.__)("Keep as HTML")))):t=Object(X.sprintf)(Object(X.__)('Your site doesn’t include support for the "%s" block. You can leave this block intact or remove it entirely.'),c),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(Y.Warning,{actions:l},t),Object(Q.createElement)(Q.RawHTML,null,o))}));var ll={apiVersion:2,name:"core/missing",category:"text",attributes:{originalName:{type:"string"},originalUndelimitedContent:{type:"string"},originalContent:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,inserter:!1,html:!1,reusable:!1}},sl=ll.name,ul={name:sl,title:Object(X._x)("Unsupported","block title"),description:Object(X.__)("Your site doesn’t include support for this block."),__experimentalLabel:function(e,t){if("accessibility"===t.context){var r=e.originalName,n=r?Object(K.getBlockType)(r):void 0;return n?n.settings.title||r:""}},edit:il,save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.originalContent)}},bl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})),ml=Object(X.__)("Read more");var dl={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/more"===e.dataset.block},transform:function(e){var t=e.dataset,r=t.customText,n=t.noTeaser,c={};return r&&(c.customText=r),""===n&&(c.noTeaser=!0),Object(K.createBlock)("core/more",c)}}]},pl={apiVersion:2,name:"core/more",category:"design",attributes:{customText:{type:"string"},noTeaser:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,multiple:!1},editorStyle:"wp-block-more-editor"},gl=pl.name,hl={title:Object(X._x)("More","block title"),description:Object(X.__)("Content before this block will be shown in the excerpt on your archives page."),keywords:[Object(X.__)("read more")],icon:bl,example:{},__experimentalLabel:function(e,t){if("accessibility"===t.context)return e.customText},transforms:dl,edit:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,c=e.insertBlocksAfter,o=e.setAttributes,a={width:"".concat((r||ml).length+1.2,"em")};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Hide the excerpt on the full content page"),checked:!!n,onChange:function(){return o({noTeaser:!n})},help:function(e){return e?Object(X.__)("The excerpt is hidden."):Object(X.__)("The excerpt is visible.")}}))),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)("div",{className:"wp-block-more"},Object(Q.createElement)("input",{"aria-label":Object(X.__)("Read more link text"),type:"text",value:r,placeholder:ml,onChange:function(e){o({customText:""!==e.target.value?e.target.value:void 0})},onKeyDown:function(e){e.keyCode===cr.ENTER&&c([Object(K.createBlock)(Object(K.getDefaultBlockName)())])},style:a}))))},save:function(e){var t=e.attributes,r=t.customText,n=t.noTeaser,c=r?"\x3c!--more ".concat(r,"--\x3e"):"\x3c!--more--\x3e",o=n?"\x3c!--noteaser--\x3e":"";return Object(Q.createElement)(Q.RawHTML,null,Object(J.compact)([c,o]).join("\n"))}},fl=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M7.8 6c0-.7.6-1.2 1.2-1.2h6c.7 0 1.2.6 1.2 1.2v3h1.5V6c0-1.5-1.2-2.8-2.8-2.8H9C7.5 3.2 6.2 4.5 6.2 6v3h1.5V6zm8.4 11c0 .7-.6 1.2-1.2 1.2H9c-.7 0-1.2-.6-1.2-1.2v-3H6.2v3c0 1.5 1.2 2.8 2.8 2.8h6c1.5 0 2.8-1.2 2.8-2.8v-3h-1.5v3zM4 11v1h16v-1H4z"}));var Ol={from:[{type:"raw",schema:{"wp-block":{attributes:["data-block"]}},isMatch:function(e){return e.dataset&&"core/nextpage"===e.dataset.block},transform:function(){return Object(K.createBlock)("core/nextpage",{})}}]},vl={apiVersion:2,name:"core/nextpage",category:"design",parent:["core/post-content"],supports:{customClassName:!1,className:!1,html:!1},editorStyle:"wp-block-nextpage-editor"},jl=vl.name,yl={title:Object(X._x)("Page Break","block title"),description:Object(X.__)("Separate your content into a multi-page experience."),icon:fl,keywords:[Object(X.__)("next page"),Object(X.__)("pagination")],example:{},transforms:Ol,edit:function(){return Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)("div",{className:"wp-block-nextpage"},Object(Q.createElement)("span",null,Object(X.__)("Page break"))))},save:function(){return Object(Q.createElement)(Q.RawHTML,null,"\x3c!--nextpage--\x3e")}},wl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"}));var _l={from:[{type:"block",blocks:["core/code","core/paragraph"],transform:function(e){var t=e.content,r=e.anchor;return Object(K.createBlock)("core/preformatted",{content:t,anchor:r})}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&!(1===e.children.length&&"CODE"===e.firstChild.nodeName)},schema:function(e){return{pre:{children:e.phrasingContentSchema}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/paragraph",e)}},{type:"block",blocks:["core/code"],transform:function(e){return Object(K.createBlock)("core/code",e)}}]},kl={apiVersion:2,name:"core/preformatted",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0}},supports:{anchor:!0,fontSize:!0},style:"wp-block-preformatted"},El=kl.name,Cl={title:Object(X._x)("Preformatted","block title"),description:Object(X.__)("Add text that respects your spacing and tabs, and also allows styling."),icon:wl,example:{attributes:{content:Object(X.__)("EXT. XANADU - FAINT DAWN - 1940 (MINIATURE)\nWindow, very small in the distance, illuminated.\nAll around this is an almost totally black screen. Now, as the camera moves slowly towards the window which is almost a postage stamp in the frame, other forms appear;")}},transforms:_l,edit:function(e){var t=e.attributes,r=e.mergeBlocks,n=e.setAttributes,c=e.onRemove,o=t.content,a=Object(Y.useBlockProps)();return Object(Q.createElement)(Y.RichText,Object(ue.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:o,onChange:function(e){n({content:e})},onRemove:c,"aria-label":Object(X.__)("Preformatted text"),placeholder:Object(X.__)("Write preformatted text…"),onMerge:r},a))},save:function(e){var t=e.attributes.content;return Object(Q.createElement)("pre",Y.useBlockProps.save(),Object(Q.createElement)(Y.RichText.Content,{value:t}))},merge:function(e,t){return{content:e.content+t.content}}},xl=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})),Sl="is-style-".concat("solid-color");function Pl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bl(e){for(var t=1;t".concat(t,"

    "),anchor:r})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.value,r=e.citation,n=[];return t&&"

    "!==t&&n.push.apply(n,Object(q.a)(Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028").map((function(e){return Object(K.createBlock)("core/paragraph",{content:Object(_r.toHTMLString)({value:e})})})))),r&&"

    "!==r&&n.push(Object(K.createBlock)("core/paragraph",{content:r})),0===n.length?Object(K.createBlock)("core/paragraph",{content:""}):n}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.value,r=e.citation,n=Object(Yt.a)(e,["value","citation"]);if("

    "===t)return Object(K.createBlock)("core/heading",{content:r});var c=Object(_r.split)(Object(_r.create)({html:t,multilineTag:"p"}),"\u2028"),o=Object(K.createBlock)("core/heading",{content:Object(_r.toHTMLString)({value:c[0]})});if(!r&&1===c.length)return o;var a=c.slice(1);return[o,Object(K.createBlock)("core/pullquote",Hl(Hl({},n),{},{citation:r,value:Object(_r.toHTMLString)({value:a.length?Object(_r.join)(c.slice(1),"\u2028"):Object(_r.create)(),multilineTag:"p"})}))]}}]},Il={apiVersion:2,name:"core/pullquote",category:"text",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p"},citation:{type:"string",source:"html",selector:"cite",default:""},mainColor:{type:"string"},customMainColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"]},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"},Dl=Il.name,Gl={title:Object(X._x)("Pullquote","block title"),description:Object(X.__)("Give special visual emphasis to a quote from your text."),icon:xl,example:{attributes:{value:"

    "+Object(X.__)("One of the hardest things to do in technology is disrupt yourself.")+"

    ",citation:Object(X.__)("Matt Mullenweg")}},styles:[{name:"default",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"solid-color",label:Object(X.__)("Solid color")}],transforms:Ll,edit:Vl,save:function(e){var t,r,n=e.attributes,c=n.mainColor,o=n.customMainColor,a=n.textColor,i=n.customTextColor,l=n.value,s=n.citation,u=n.className;if(Object(J.includes)(u,Sl)){var b=Object(Y.getColorClassName)("background-color",c);t=ne()(Object(Z.a)({"has-background":b||o},b,b)),r={backgroundColor:b?void 0:o}}else o&&(r={borderColor:o});var m=Object(Y.getColorClassName)("color",a),d=(a||i)&&ne()("has-text-color",Object(Z.a)({},m,m)),p=m?void 0:{color:i};return Object(Q.createElement)("figure",Y.useBlockProps.save({className:t,style:r}),Object(Q.createElement)("blockquote",{className:d,style:p},Object(Q.createElement)(Y.RichText.Content,{value:l,multiline:!0}),!Y.RichText.isEmpty(s)&&Object(Q.createElement)(Y.RichText.Content,{tagName:"cite",value:s})))},deprecated:Nl},Fl=r(146),Ul=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"}));var Wl={apiVersion:2,name:"core/block",category:"reusable",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"},ql=Wl.name,Zl={title:Object(X._x)("Reusable Block","block title"),description:Object(X.__)("Create and save content to reuse across your site. Update the block, and the changes apply everywhere it’s used."),edit:function(e){var t=e.attributes.ref,r=e.clientId,n=Object(Y.__experimentalUseNoRecursiveRenders)(t),c=Object(be.a)(n,2),o=c[0],a=c[1],i=Object(de.useSelect)((function(e){var r=e($.store).getEntityRecord("postType","wp_block",t),n=e($.store).hasFinishedResolution("getEntityRecord",["postType","wp_block",t]);return{hasResolved:n,isMissing:n&&!r}}),[t,r]),l=i.isMissing,s=i.hasResolved,u=Object(de.useDispatch)(Fl.store).__experimentalConvertBlockToStatic,b=Object($.useEntityBlockEditor)("postType","wp_block",{id:t}),m=Object(be.a)(b,3),d=m[0],p=m[1],g=m[2],h=Object($.useEntityProp)("postType","wp_block","title",t),f=Object(be.a)(h,2),O=f[0],v=f[1],j=Object(Y.__experimentalUseInnerBlocksProps)({},{value:d,onInput:p,onChange:g,renderAppender:null!=d&&d.length?void 0:Y.InnerBlocks.ButtonBlockAppender}),y=Object(Y.useBlockProps)();return o?Object(Q.createElement)("div",y,Object(Q.createElement)(Y.Warning,null,Object(X.__)("Block cannot be rendered inside itself."))):l?Object(Q.createElement)("div",y,Object(Q.createElement)(Y.Warning,null,Object(X.__)("Block has been deleted or is unavailable."))):s?Object(Q.createElement)(a,null,Object(Q.createElement)("div",y,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{onClick:function(){return u(r)},label:Object(X.__)("Convert to regular blocks"),icon:Ul,showTooltip:!0}))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.TextControl,{label:Object(X.__)("Name"),value:O,onChange:v}))),Object(Q.createElement)("div",{className:"block-library-block__reusable-block-container"},Object(Q.createElement)("div",j)))):Object(Q.createElement)("div",y,Object(Q.createElement)(me.Placeholder,null,Object(Q.createElement)(me.Spinner,null)))}},$l=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"}));var Yl={apiVersion:2,name:"core/rss",category:"widgets",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"},Kl=Yl.name,Jl={title:Object(X._x)("RSS","block title"),description:Object(X.__)("Display entries from any RSS or Atom feed."),icon:$l,keywords:[Object(X.__)("atom"),Object(X.__)("feed")],example:{attributes:{feedURL:"https://wordpress.org"}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=Object(Q.useState)(!t.feedURL),c=Object(be.a)(n,2),o=c[0],a=c[1],i=t.blockLayout,l=t.columns,s=t.displayAuthor,u=t.displayDate,b=t.displayExcerpt,m=t.excerptLength,d=t.feedURL,p=t.itemsToShow;function g(e){return function(){var n=t[e];r(Object(Z.a)({},e,!n))}}var h=Object(Y.useBlockProps)();if(o)return Object(Q.createElement)("div",h,Object(Q.createElement)(me.Placeholder,{icon:$l,label:"RSS"},Object(Q.createElement)("form",{onSubmit:function(e){e.preventDefault(),d&&a(!1)},className:"wp-block-rss__placeholder-form"},Object(Q.createElement)(me.TextControl,{placeholder:Object(X.__)("Enter URL here…"),value:d,onChange:function(e){return r({feedURL:e})},className:"wp-block-rss__placeholder-input"}),Object(Q.createElement)(me.Button,{isPrimary:!0,type:"submit"},Object(X.__)("Use URL")))));var f=[{icon:$r.a,title:Object(X.__)("Edit RSS URL"),onClick:function(){return a(!0)}},{icon:zi,title:Object(X.__)("List view"),onClick:function(){return r({blockLayout:"list"})},isActive:"list"===i},{icon:Ni,title:Object(X.__)("Grid view"),onClick:function(){return r({blockLayout:"grid"})},isActive:"grid"===i}];return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,{controls:f})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("RSS settings")},Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Number of items"),value:p,onChange:function(e){return r({itemsToShow:e})},min:1,max:10,required:!0}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display author"),checked:s,onChange:g("displayAuthor")}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display date"),checked:u,onChange:g("displayDate")}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Display excerpt"),checked:b,onChange:g("displayExcerpt")}),b&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Max number of words in excerpt"),value:m,onChange:function(e){return r({excerptLength:e})},min:10,max:100,required:!0}),"grid"===i&&Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:l,onChange:function(e){return r({columns:e})},min:2,max:6,required:!0}))),Object(Q.createElement)("div",h,Object(Q.createElement)(me.Disabled,null,Object(Q.createElement)(hn.a,{block:"core/rss",attributes:t}))))}},Xl=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"7",y:"10",width:"10",height:"4",rx:"1",fill:"currentColor"})),Ql=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(me.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),es=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),Object(Q.createElement)(me.Rect,{x:"14",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),ts=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"14.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"})),rs=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(Q.createElement)(me.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"})),ns=Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Rect,{x:"4.75",y:"17.25",width:"5.5",height:"14.5",transform:"rotate(-90 4.75 17.25)",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),Object(Q.createElement)(me.Rect,{x:"4",y:"7",width:"10",height:"2",fill:"currentColor"})),cs=[{value:"%",label:"%",default:50},{value:"px",label:"px",default:350}];var os=[{name:"default",isDefault:!0,attributes:{buttonText:Object(X.__)("Search"),label:Object(X.__)("Search")}}],as={apiVersion:2,name:"core/search",category:"widgets",attributes:{label:{type:"string"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:""},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"},is=as.name,ls={title:Object(X._x)("Search","block title"),description:Object(X.__)("Help visitors find your content."),icon:_t.a,keywords:[Object(X.__)("find")],example:{},variations:os,edit:function(e){var t=e.className,r=e.attributes,n=e.setAttributes,c=e.toggleSelection,o=e.isSelected,a=r.label,i=r.showLabel,l=r.placeholder,s=r.width,u=r.widthUnit,b=r.align,m=r.buttonText,d=r.buttonPosition,p=r.buttonUseIcon,g=Object(xe.useInstanceId)(Y.__experimentalUnitControl),h="wp-block-search__width-".concat(g),f=function(){return Object(Q.createElement)("input",{className:"wp-block-search__input","aria-label":Object(X.__)("Optional placeholder text"),placeholder:l?void 0:Object(X.__)("Optional placeholder…"),value:l,onChange:function(e){return n({placeholder:e.target.value})}})},O=function(){return Object(Q.createElement)(Q.Fragment,null,p&&Object(Q.createElement)(me.Button,{icon:_t.a,className:"wp-block-search__button"}),!p&&Object(Q.createElement)(Y.RichText,{className:"wp-block-search__button","aria-label":Object(X.__)("Button text"),placeholder:Object(X.__)("Add button text…"),withoutInteractiveFormatting:!0,value:m,onChange:function(e){return n({buttonText:e})}}))},v=Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarButton,{title:Object(X.__)("Toggle search label"),icon:ns,onClick:function(){n({showLabel:!i})},className:i?"is-pressed":void 0}),Object(Q.createElement)(me.DropdownMenu,{icon:function(){switch(d){case"button-inside":return es;case"button-outside":return Ql;case"no-button":return ts;case"button-only":return Xl}}(),label:Object(X.__)("Change button position")},(function(e){var t=e.onClose;return Object(Q.createElement)(me.MenuGroup,{className:"wp-block-search__button-position-menu"},Object(Q.createElement)(me.MenuItem,{icon:ts,onClick:function(){n({buttonPosition:"no-button"}),t()}},Object(X.__)("No Button")),Object(Q.createElement)(me.MenuItem,{icon:Ql,onClick:function(){n({buttonPosition:"button-outside"}),t()}},Object(X.__)("Button Outside")),Object(Q.createElement)(me.MenuItem,{icon:es,onClick:function(){n({buttonPosition:"button-inside"}),t()}},Object(X.__)("Button Inside")))})),"no-button"!==d&&Object(Q.createElement)(me.ToolbarButton,{title:Object(X.__)("Use button with icon"),icon:rs,onClick:function(){n({buttonUseIcon:!p})},className:p?"is-pressed":void 0}))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Display Settings")},Object(Q.createElement)(me.BaseControl,{label:Object(X.__)("Width"),id:h},Object(Q.createElement)(Y.__experimentalUnitControl,{id:h,min:"".concat(220).concat("px"),onChange:function(e){var t="%"===u&&parseInt(e,10)>100?100:e;n({width:parseInt(t,10)})},onUnitChange:function(e){n({width:"%"===e?50:350,widthUnit:e})},style:{maxWidth:80},value:"".concat(s).concat(u),unit:u,units:cs}),Object(Q.createElement)(me.ButtonGroup,{className:"wp-block-search__components-button-group","aria-label":Object(X.__)("Percentage Width")},[25,50,75,100].map((function(e){return Object(Q.createElement)(me.Button,{key:e,isSmall:!0,isPrimary:"".concat(e,"%")==="".concat(s).concat(u),onClick:function(){return n({width:e,widthUnit:"%"})}},e,"%")}))))))),j=Object(Y.useBlockProps)({className:ne()(t,"button-inside"===d?"wp-block-search__button-inside":void 0,"button-outside"===d?"wp-block-search__button-outside":void 0,"no-button"===d?"wp-block-search__no-button":void 0,"button-only"===d?"wp-block-search__button-only":void 0,p||"no-button"===d?void 0:"wp-block-search__text-button",p&&"no-button"!==d?"wp-block-search__icon-button":void 0)});return Object(Q.createElement)("div",j,v,i&&Object(Q.createElement)(Y.RichText,{className:"wp-block-search__label","aria-label":Object(X.__)("Label text"),placeholder:Object(X.__)("Add label…"),withoutInteractiveFormatting:!0,value:a,onChange:function(e){return n({label:e})}}),Object(Q.createElement)(me.ResizableBox,{size:{width:"".concat(s).concat(u)},className:"wp-block-search__inside-wrapper",minWidth:220,enable:"button-only"===d?{}:{right:"right"!==b,left:"right"===b},onResizeStart:function(e,t,r){n({width:parseInt(r.offsetWidth,10),widthUnit:"px"}),c(!1)},onResizeStop:function(e,t,r,o){n({width:parseInt(s+o.width,10)}),c(!0)},showHandle:o},("button-inside"===d||"button-outside"===d)&&Object(Q.createElement)(Q.Fragment,null,f(),O()),"button-only"===d&&O(),"no-button"===d&&f()))}},ss=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"}));function us(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bs(e){for(var t=1;tt.indexOf(e)?n:e}),void 0),n=e.map((function(e){return Object(K.createBlock)(e.name,e.attributes,e.innerBlocks)}));return Object(K.createBlock)("core/group",{align:r},n)}}}]},edit:gs,save:function(e){var t=e.attributes.tagName;return Object(Q.createElement)(t,Y.useBlockProps.save(),Object(Q.createElement)("div",{className:"wp-block-group__inner-container"},Object(Q.createElement)(Y.InnerBlocks.Content,null)))},deprecated:ds},vs=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),js=function(e){var t=e.color,r=e.setColor;return Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(Y.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:t.color,onChange:r,label:Object(X.__)("Color")}]}))};var ys=Object(Y.withColors)("color",{textColor:"color"})((function(e){var t=e.color,r=e.setColor,n=e.className;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.HorizontalRule,Object(Y.useBlockProps)({className:ne()(n,Object(Z.a)({"has-background":t.color},t.class,t.class)),style:{backgroundColor:t.color,color:t.color}})),Object(Q.createElement)(js,{color:t,setColor:r}))}));var ws={from:[{type:"enter",regExp:/^-{3,}$/,transform:function(){return Object(K.createBlock)("core/separator")}},{type:"raw",selector:"hr",schema:{hr:{}}}]},_s={apiVersion:2,name:"core/separator",category:"design",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},editorStyle:"wp-block-separator-editor",style:"wp-block-separator"},ks=_s.name,Es={title:Object(X._x)("Separator","block title"),description:Object(X.__)("Create a break between ideas or sections with a horizontal separator."),icon:vs,keywords:[Object(X.__)("horizontal-line"),"hr",Object(X.__)("divider")],example:{attributes:{customColor:"#065174",className:"is-style-wide"}},styles:[{name:"default",label:Object(X.__)("Default"),isDefault:!0},{name:"wide",label:Object(X.__)("Wide Line")},{name:"dots",label:Object(X.__)("Dots")}],transforms:ws,edit:ys,save:function(e){var t,r=e.attributes,n=r.color,c=r.customColor,o=Object(Y.getColorClassName)("background-color",n),a=Object(Y.getColorClassName)("color",n),i=ne()((t={"has-text-color has-background":n||c},Object(Z.a)(t,o,o),Object(Z.a)(t,a,a),t)),l={backgroundColor:o?void 0:c,color:a?void 0:c};return Object(Q.createElement)("hr",Y.useBlockProps.save({className:i,style:l}))}},Cs=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})),xs=r(138);var Ss=r(115),Ps={from:[{type:"shortcode",tag:"[a-z][a-z0-9_-]*",attributes:{text:{type:"string",shortcode:function(e,t){var r=t.content;return Object(Ss.removep)(Object(Ss.autop)(r))}}},priority:20}]},Bs={apiVersion:2,name:"core/shortcode",category:"widgets",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"},Ts=Bs.name,zs={title:Object(X._x)("Shortcode","block title"),description:Object(X.__)("Insert additional custom elements with a WordPress shortcode."),icon:Cs,transforms:Ps,edit:function e(t){var r=t.attributes,n=t.setAttributes,c=Object(xe.useInstanceId)(e),o="blocks-shortcode-input-".concat(c);return Object(Q.createElement)("div",Object(Y.useBlockProps)({className:"components-placeholder"}),Object(Q.createElement)("label",{htmlFor:o,className:"components-placeholder__label"},Object(Q.createElement)(xs.a,{icon:Cs}),Object(X.__)("Shortcode")),Object(Q.createElement)(Y.PlainText,{className:"blocks-shortcode__textarea",id:o,value:r.text,"aria-label":Object(X.__)("Shortcode text"),placeholder:Object(X.__)("Write shortcode here…"),onChange:function(e){return n({text:e})}}))},save:function(e){var t=e.attributes;return Object(Q.createElement)(Q.RawHTML,null,t.text)}},Ns=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M12.5 4.2v1.6h4.7L5.8 17.2V12H4.2v7.8H12v-1.6H6.8L18.2 6.8v4.7h1.6V4.2z"})),Ms=Object(xe.compose)([Object(de.withDispatch)((function(e){var t=e("core/block-editor").toggleSelection;return{onResizeStart:function(){return t(!1)},onResizeStop:function(){return t(!0)}}})),xe.withInstanceId])((function(e){var t=e.attributes,r=e.isSelected,n=e.setAttributes,c=e.onResizeStart,o=e.onResizeStop,a=Object(Q.useState)(!1),i=Object(be.a)(a,2),l=i[0],s=i[1],u=t.height,b=function(e){n({height:e})};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(ee.View,Object(Y.useBlockProps)(),Object(Q.createElement)(me.ResizableBox,{className:ne()("block-library-spacer__resize-container",{"is-selected":r}),size:{height:u},minHeight:1,enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:function(){c.apply(void 0,arguments),s(!0)},onResizeStop:function(e,t,r,n){o();var c=Math.min(parseInt(u+n.height,10),500);b(c),s(!1)},showHandle:r,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:l}})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Spacer settings")},Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Height in pixels"),min:1,max:Math.max(500,u),value:u,onChange:b}))))}));var Rs={apiVersion:2,name:"core/spacer",category:"design",attributes:{height:{type:"number",default:100}},supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"},Vs=Rs.name,As={title:Object(X._x)("Spacer","block title"),description:Object(X.__)("Add white space between blocks and customize its height."),icon:Ns,edit:Ms,save:function(e){var t=e.attributes;return Object(Q.createElement)("div",Y.useBlockProps.save({style:{height:t.height},"aria-hidden":!0}))}},Hs=r(35),Ls=r.n(Hs);var Is={to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/paragraph",e)}}]},Ds={apiVersion:2,name:"core/subhead",category:"text",attributes:{align:{type:"string"},content:{type:"string",source:"html",selector:"p"}},supports:{inserter:!1,multiple:!1},editorStyle:"wp-block-subhead-editor",style:"wp-block-subhead"},Gs=Ds.name,Fs={title:Object(X._x)("Subheading (deprecated)","block title"),description:Object(X.__)("This block is deprecated. Please use the Paragraph block instead."),icon:Object(Q.createElement)(me.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(me.Path,{d:"M7.1 6l-.5 3h4.5L9.4 19h3l1.8-10h4.5l.5-3H7.1z"})),transforms:Is,edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.className,c=t.align,o=t.content,a=t.placeholder;return Ls()("The Subheading block",{alternative:"the Paragraph block",plugin:"Gutenberg"}),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.AlignmentToolbar,{value:c,onChange:function(e){r({align:e})}})),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)(Y.RichText,{tagName:"p",value:o,onChange:function(e){r({content:e})},style:{textAlign:c},className:n,"aria-label":Object(X.__)("Subheading text"),placeholder:a||Object(X.__)("Write subheading…")})))},save:function(e){var t=e.attributes,r=t.align,n=t.content;return Object(Q.createElement)("p",Y.useBlockProps.save({style:{textAlign:r}}),Object(Q.createElement)(Y.RichText.Content,{value:n}))}},Us=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})),Ws=[{attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"}}}}}},supports:{align:!0},save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor;if(!n.length&&!c.length&&!o.length)return null;var i=Object(Y.getColorClassName)("background-color",a),l=ne()(i,{"has-fixed-layout":r,"has-background":!!i}),s=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(Q.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(Q.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope;return Object(Q.createElement)(Y.RichText.Content,{tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(Q.createElement)("table",{className:l},Object(Q.createElement)(s,{type:"head",rows:n}),Object(Q.createElement)(s,{type:"body",rows:c}),Object(Q.createElement)(s,{type:"foot",rows:o}))}}],qs=r(306),Zs=r(307),$s=r(308),Ys=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84zM6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z"})),Ks=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z"})),Js=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z"})),Xs=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z"})),Qs=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z"})),eu=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(Q.createElement)(ee.Path,{d:"M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z"})),tu=Object(Q.createElement)(ee.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(Q.createElement)(ee.Path,{d:"M4 6v11.5h16V6H4zm1.5 1.5h6V11h-6V7.5zm0 8.5v-3.5h6V16h-6zm13 0H13v-3.5h5.5V16zM13 11V7.5h5.5V11H13z"}));function ru(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nu(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:0;if(y){var r=y.columnIndex,n=r+e;c(iu(t,{columnIndex:n})),w({rowIndex:0,columnIndex:n,type:"cell"})}}Object(Q.useEffect)((function(){a||w()}),[a]);var C=["head","body","foot"].filter((function(e){return!su(t[e])})),x=[{icon:Ys,title:Object(X.__)("Insert row before"),isDisabled:!y,onClick:function(){k(0)}},{icon:Ks,title:Object(X.__)("Insert row after"),isDisabled:!y,onClick:function(){k(1)}},{icon:Js,title:Object(X.__)("Delete row"),isDisabled:!y,onClick:function(){if(y){var e=y.sectionName,r=y.rowIndex;w(),c(function(e,t){var r=t.sectionName,n=t.rowIndex;return Object(Z.a)({},r,e[r].filter((function(e,t){return t!==n})))}(t,{sectionName:e,rowIndex:r}))}}},{icon:Xs,title:Object(X.__)("Insert column before"),isDisabled:!y,onClick:function(){E(0)}},{icon:Qs,title:Object(X.__)("Insert column after"),isDisabled:!y,onClick:function(){E(1)}},{icon:eu,title:Object(X.__)("Delete column"),isDisabled:!y,onClick:function(){if(y){var e=y.sectionName,r=y.columnIndex;w(),c(function(e,t){var r=t.columnIndex,n=Object(J.pick)(e,["head","body","foot"]);return Object(J.mapValues)(n,(function(e){return su(e)?e:e.map((function(e){return{cells:e.cells.length>=r?e.cells.filter((function(e,t){return t!==r})):e.cells}})).filter((function(e){return e.cells.length}))}))}(t,{sectionName:e,columnIndex:r}))}}}],S=["head","body","foot"].map((function(e){return Object(Q.createElement)(Ou,{name:e,key:e},t[e].map((function(t,r){var n=t.cells;return Object(Q.createElement)("tr",{key:r},n.map((function(t,n){var c=t.content,o=t.tag,a=t.scope,i=t.align;return Object(Q.createElement)(Y.RichText,{tagName:o,key:n,className:ne()(Object(Z.a)({},"has-text-align-".concat(i),i),"wp-block-table__cell-content"),scope:"th"===o?a:void 0,value:c,onChange:_,unstableOnFocus:function(){w({sectionName:e,rowIndex:r,columnIndex:n,type:"cell"})},"aria-label":hu[e],placeholder:fu[e]})})))})))})),P=!C.length;return Object(Q.createElement)("figure",Object(Y.useBlockProps)(),!P&&Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarItem,null,(function(e){return Object(Q.createElement)(me.DropdownMenu,{hasArrowIndicator:!0,icon:tu,toggleProps:e,label:Object(X.__)("Edit table"),controls:x})}))),Object(Q.createElement)(Y.AlignmentToolbar,{label:Object(X.__)("Change column alignment"),alignmentControls:pu,value:function(){var e,r,n,c,o,a;if(y)return e=t,n="align",c=(r=y).sectionName,o=r.rowIndex,a=r.columnIndex,Object(J.get)(e,[c,o,"cells",a,n])}(),onChange:function(e){return function(e){if(y){var r={type:"column",columnIndex:y.columnIndex},n=ou(t,r,(function(t){return mu(mu({},t),{},{align:e})}));c(n)}}(e)}})),!P&&Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Table settings"),className:"blocks-table-settings"},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Fixed width table cells"),checked:!!i,onChange:function(){c({hasFixedLayout:!i})}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Header section"),checked:!(!s||!s.length),onChange:function(){c(lu(t,"head"))}}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Footer section"),checked:!(!u||!u.length),onChange:function(){c(lu(t,"foot"))}})),Object(Q.createElement)(Y.PanelColorSettings,{title:Object(X.__)("Color settings"),initialOpen:!1,colorSettings:[{value:r.color,onChange:n,label:Object(X.__)("Background color"),disableCustomColors:!0,colors:du}]})),!P&&Object(Q.createElement)("table",{className:ne()(r.class,{"has-fixed-layout":i,"has-background":!!r.color})},S),!P&&Object(Q.createElement)(Y.RichText,{tagName:"figcaption","aria-label":Object(X.__)("Table caption text"),placeholder:Object(X.__)("Write caption…"),value:l,onChange:function(e){return c({caption:e})},unstableOnFocus:function(){return w()},__unstableOnSplitAtEnd:function(){return o(Object(K.createBlock)("core/paragraph"))}}),P&&Object(Q.createElement)(me.Placeholder,{label:Object(X.__)("Table"),icon:Object(Q.createElement)(Y.BlockIcon,{icon:Us,showColors:!0}),instructions:Object(X.__)("Insert a table for sharing data.")},Object(Q.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(e){var t,r,n;e.preventDefault(),c((t={rowCount:parseInt(d,10)||2,columnCount:parseInt(f,10)||2},r=t.rowCount,n=t.columnCount,{body:Object(J.times)(r,(function(){return{cells:Object(J.times)(n,(function(){return{content:"",tag:"td"}}))}}))}))}},Object(Q.createElement)(me.TextControl,{type:"number",label:Object(X.__)("Column count"),value:f,onChange:function(e){O(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(Q.createElement)(me.TextControl,{type:"number",label:Object(X.__)("Row count"),value:d,onChange:function(e){p(e)},min:"1",className:"blocks-table__placeholder-input"}),Object(Q.createElement)(me.Button,{className:"blocks-table__placeholder-button",isPrimary:!0,type:"submit"},Object(X.__)("Create Table")))))}));var ju=function(e){var t=e.phrasingContentSchema;return{tr:{allowEmpty:!0,children:{th:{allowEmpty:!0,children:t,attributes:["scope"]},td:{allowEmpty:!0,children:t}}}}},yu={from:[{type:"raw",selector:"table",schema:function(e){return{table:{children:{thead:{allowEmpty:!0,children:ju(e)},tfoot:{allowEmpty:!0,children:ju(e)},tbody:{allowEmpty:!0,children:ju(e)}}}}}}]},wu={apiVersion:2,name:"core/table",category:"text",attributes:{hasFixedLayout:{type:"boolean",default:!1},backgroundColor:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption",default:""},head:{type:"array",default:[],source:"query",selector:"thead tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},body:{type:"array",default:[],source:"query",selector:"tbody tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}},foot:{type:"array",default:[],source:"query",selector:"tfoot tr",query:{cells:{type:"array",default:[],source:"query",selector:"td,th",query:{content:{type:"string",source:"html"},tag:{type:"string",default:"td",source:"tag"},scope:{type:"string",source:"attribute",attribute:"scope"},align:{type:"string",source:"attribute",attribute:"data-align"}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:".wp-block-table > table"},editorStyle:"wp-block-table-editor",style:"wp-block-table"},_u=wu.name,ku={title:Object(X._x)("Table","block title"),description:Object(X.__)("Insert a table — perfect for sharing charts and data."),icon:Us,example:{attributes:{head:[{cells:[{content:Object(X.__)("Version"),tag:"th"},{content:Object(X.__)("Jazz Musician"),tag:"th"},{content:Object(X.__)("Release Date"),tag:"th"}]}],body:[{cells:[{content:"5.2",tag:"td"},{content:"Jaco Pastorius",tag:"td"},{content:Object(X.__)("May 7, 2019"),tag:"td"}]},{cells:[{content:"5.1",tag:"td"},{content:"Betty Carter",tag:"td"},{content:Object(X.__)("February 21, 2019"),tag:"td"}]},{cells:[{content:"5.0",tag:"td"},{content:"Bebo Valdés",tag:"td"},{content:Object(X.__)("December 6, 2018"),tag:"td"}]}]}},styles:[{name:"regular",label:Object(X._x)("Default","block style"),isDefault:!0},{name:"stripes",label:Object(X.__)("Stripes")}],transforms:yu,edit:vu,save:function(e){var t=e.attributes,r=t.hasFixedLayout,n=t.head,c=t.body,o=t.foot,a=t.backgroundColor,i=t.caption;if(!n.length&&!c.length&&!o.length)return null;var l=Object(Y.getColorClassName)("background-color",a),s=ne()(l,{"has-fixed-layout":r,"has-background":!!l}),u=!Y.RichText.isEmpty(i),b=function(e){var t=e.type,r=e.rows;if(!r.length)return null;var n="t".concat(t);return Object(Q.createElement)(n,null,r.map((function(e,t){var r=e.cells;return Object(Q.createElement)("tr",{key:t},r.map((function(e,t){var r=e.content,n=e.tag,c=e.scope,o=e.align,a=ne()(Object(Z.a)({},"has-text-align-".concat(o),o));return Object(Q.createElement)(Y.RichText.Content,{className:a||void 0,"data-align":o,tagName:n,value:r,key:t,scope:"th"===n?c:void 0})})))})))};return Object(Q.createElement)("figure",Y.useBlockProps.save(),Object(Q.createElement)("table",{className:""===s?void 0:s},Object(Q.createElement)(b,{type:"head",rows:n}),Object(Q.createElement)(b,{type:"body",rows:c}),Object(Q.createElement)(b,{type:"foot",rows:o})),u&&Object(Q.createElement)(Y.RichText.Content,{tagName:"figcaption",value:i}))},deprecated:Ws};var Eu={to:[{type:"block",blocks:["core/columns"],transform:function(e){var t=e.className,r=e.columns,n=e.content,c=e.width;return Object(K.createBlock)("core/columns",{align:"wide"===c||"full"===c?c:void 0,className:t,columns:r},n.map((function(e){var t=e.children;return Object(K.createBlock)("core/column",{},[Object(K.createBlock)("core/paragraph",{content:t})])})))}}]},Cu={apiVersion:2,name:"core/text-columns",icon:"columns",category:"design",attributes:{content:{type:"array",source:"query",selector:"p",query:{children:{type:"string",source:"html"}},default:[{},{}]},columns:{type:"number",default:2},width:{type:"string"}},supports:{inserter:!1},editorStyle:"wp-block-text-columns-editor",style:"wp-block-text-columns"},xu=Cu.name,Su={title:Object(X._x)("Text Columns (deprecated)","block title"),description:Object(X.__)("This block is deprecated. Please use the Columns block instead."),transforms:Eu,getEditWrapperProps:function(e){var t=e.width;if("wide"===t||"full"===t)return{"data-align":t}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=t.width,c=t.content,o=t.columns;return Ls()("The Text Columns block",{alternative:"the Columns block",plugin:"Gutenberg"}),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.BlockAlignmentToolbar,{value:n,onChange:function(e){return r({width:e})},controls:["center","wide","full"]})),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,null,Object(Q.createElement)(me.RangeControl,{label:Object(X.__)("Columns"),value:o,onChange:function(e){return r({columns:e})},min:2,max:4,required:!0}))),Object(Q.createElement)("div",Object(Y.useBlockProps)({className:"align".concat(n," columns-").concat(o)}),Object(J.times)(o,(function(e){return Object(Q.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Q.createElement)(Y.RichText,{tagName:"p",value:Object(J.get)(c,[e,"children"]),onChange:function(t){r({content:[].concat(Object(q.a)(c.slice(0,e)),[{children:t}],Object(q.a)(c.slice(e+1)))})},"aria-label":Object(X.sprintf)(Object(X.__)("Column %d text"),e+1),placeholder:Object(X.__)("New Column")}))}))))},save:function(e){var t=e.attributes,r=t.width,n=t.content,c=t.columns;return Object(Q.createElement)("div",Y.useBlockProps.save({className:"align".concat(r," columns-").concat(c)}),Object(J.times)(c,(function(e){return Object(Q.createElement)("div",{className:"wp-block-column",key:"column-".concat(e)},Object(Q.createElement)(Y.RichText.Content,{tagName:"p",value:Object(J.get)(n,[e,"children"])}))})))}},Pu=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})),Bu=[{attributes:{content:{type:"string",source:"html",selector:"pre",default:""},textAlign:{type:"string"}},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content;return Object(Q.createElement)(Y.RichText.Content,{tagName:"pre",style:{textAlign:r},value:n})}}];var Tu={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/verse",e)}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){return Object(K.createBlock)("core/paragraph",e)}}]},zu={apiVersion:2,name:"core/verse",category:"text",attributes:{content:{type:"string",source:"html",selector:"pre",default:"",__unstablePreserveWhiteSpace:!0},textAlign:{type:"string"}},supports:{anchor:!0,__experimentalFontFamily:!0,fontSize:!0},style:"wp-block-verse",editorStyle:"wp-block-verse-editor"},Nu=zu.name,Mu={title:Object(X._x)("Verse","block title"),description:Object(X.__)("Insert poetry. Use special spacing formats. Or quote song lyrics."),icon:Pu,example:{attributes:{content:Object(X.__)("WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.")}},keywords:[Object(X.__)("poetry"),Object(X.__)("poem")],transforms:Tu,deprecated:Bu,merge:function(e,t){return{content:e.content+t.content}},edit:function(e){var t=e.attributes,r=e.setAttributes,n=e.mergeBlocks,c=t.textAlign,o=t.content,a=Object(Y.useBlockProps)({className:ne()(Object(Z.a)({},"has-text-align-".concat(c),c))});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(Y.AlignmentToolbar,{value:c,onChange:function(e){r({textAlign:e})}})),Object(Q.createElement)(Y.RichText,Object(ue.a)({tagName:"pre",identifier:"content",preserveWhiteSpace:!0,value:o,onChange:function(e){r({content:e})},"aria-label":Object(X.__)("Verse text"),placeholder:Object(X.__)("Write verse…"),onMerge:n,textAlign:c},a)))},save:function(e){var t=e.attributes,r=t.textAlign,n=t.content,c=ne()(Object(Z.a)({},"has-text-align-".concat(r),r));return Object(Q.createElement)("pre",Y.useBlockProps.save({className:c}),Object(Q.createElement)(Y.RichText.Content,{value:n}))}},Ru=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})),Vu=[{value:"auto",label:Object(X.__)("Auto")},{value:"metadata",label:Object(X.__)("Metadata")},{value:"none",label:Object(X.__)("None")}],Au=function(e){var t=e.setAttributes,r=e.attributes,n=r.autoplay,c=r.controls,o=r.loop,a=r.muted,i=r.playsInline,l=r.preload,s=Object(Q.useCallback)((function(e){return e?Object(X.__)("Note: Autoplaying videos may cause usability issues for some visitors."):null}),[]),u=Object(Q.useMemo)((function(){var e=function(e){return function(r){t(Object(Z.a)({},e,r))}};return{autoplay:e("autoplay"),loop:e("loop"),muted:e("muted"),controls:e("controls"),playsInline:e("playsInline")}}),[]),b=Object(Q.useCallback)((function(e){t({preload:e})}),[]);return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Autoplay"),onChange:u.autoplay,checked:n,help:s}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Loop"),onChange:u.loop,checked:o}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Muted"),onChange:u.muted,checked:a}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Playback controls"),onChange:u.controls,checked:c}),Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Play inline"),onChange:u.playsInline,checked:i}),Object(Q.createElement)(me.SelectControl,{label:Object(X.__)("Preload"),value:l,onChange:b,options:Vu}))};var Hu=r(314);function Lu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Iu(e){for(var t=1;t1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(c([]),t.preventDefault(),t.stopImmediatePropagation()),t.altKey&&t.keyCode===cr.F10&&t.stopPropagation()})),e.on("init",(function(){var t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())}))}function s(){var e=window.wpEditorL10n.tinymce.settings;ub.oldEditor.initialize("editor-".concat(t),{tinymce:sb(sb({},e),{},{inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-".concat(t),setup:l})})}function u(){"complete"===document.readyState&&s()}return o.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:a,suffix:i}),"complete"===document.readyState?s():document.addEventListener("readystatechange",u),function(){document.removeEventListener("readystatechange",u),ub.oldEditor.remove("editor-".concat(t))}}),[]),Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(ib,{clientId:t}))),Object(Q.createElement)("div",Object(Y.useBlockProps)(),Object(Q.createElement)("div",{key:"toolbar",id:"toolbar-".concat(t),className:"block-library-classic__toolbar",onClick:function(){var e=window.tinymce.get("editor-".concat(t));e&&e.focus()},"data-placeholder":Object(X.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(Q.createElement)("div",{key:"editor",id:"editor-".concat(t),className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function(e){var t=e.attributes.content;return Object(Q.createElement)(Q.RawHTML,null,t)}},pb=Object(Q.createElement)(ee.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})),gb=["core/social-link"],hb=[{name:Object(X.__)("Small"),value:"has-small-icon-size"},{name:Object(X.__)("Normal"),value:"has-normal-icon-size"},{name:Object(X.__)("Large"),value:"has-large-icon-size"},{name:Object(X.__)("Huge"),value:"has-huge-icon-size"}];var fb=Object(Y.withColors)({iconColor:"icon-color",iconBackgroundColor:"icon-background-color"})((function(e){var t,r=e.attributes,n=e.iconBackgroundColor,c=e.iconColor,o=e.setAttributes,a=e.setIconBackgroundColor,i=e.setIconColor,l=r.iconBackgroundColorValue,s=r.iconColorValue,u=r.openInNewTab,b=r.size,m=(null===(t=r.className)||void 0===t?void 0:t.indexOf("is-style-logos-only"))>=0;Object(Q.useEffect)((function(){m&&o({iconBackgroundColor:void 0,customIconBackgroundColor:void 0,iconBackgroundColorValue:void 0})}),[m,o]);var d=Object(Q.createElement)("div",{className:"wp-block-social-links__social-placeholder"},Object(Q.createElement)("div",{className:"wp-social-link"}),Object(Q.createElement)("div",{className:"wp-block-social-links__social-placeholder-icons"},Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-twitter"}),Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-facebook"}),Object(Q.createElement)("div",{className:"wp-social-link wp-social-link-instagram"}))),p=ne()(b,{"has-icon-color":c.color||s,"has-icon-background-color":n.color||l}),g={"--wp--social-links--icon-color":c.color||s,"--wp--social-links--icon-background-color":n.color||l},h=Object(Y.useBlockProps)({className:p,style:g}),f=Object(Y.__experimentalUseInnerBlocksProps)(h,{allowedBlocks:gb,orientation:"horizontal",placeholder:d,templateLock:!1,__experimentalAppenderTagName:"li"}),O={position:"bottom right",isAlternate:!0};return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.BlockControls,null,Object(Q.createElement)(me.ToolbarGroup,null,Object(Q.createElement)(me.ToolbarItem,null,(function(e){return Object(Q.createElement)(me.DropdownMenu,{label:Object(X.__)("Size"),text:Object(X.__)("Size"),icon:null,popoverProps:O,toggleProps:e},(function(e){var t=e.onClose;return Object(Q.createElement)(me.MenuGroup,null,hb.map((function(e){return Object(Q.createElement)(me.MenuItem,{icon:(b===e.value||!b&&"has-normal-icon-size"===e.value)&&Et.a,isSelected:b===e.value,key:e.value,onClick:function(){o({size:e.value})},onClose:t,role:"menuitemradio"},e.name)})))}))})))),Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.__)("Link settings")},Object(Q.createElement)(me.ToggleControl,{label:Object(X.__)("Open links in new tab"),checked:u,onChange:function(){return o({openInNewTab:!u})}})),Object(Q.createElement)(Y.PanelColorSettings,{title:Object(X.__)("Color settings"),colorSettings:[{value:c.color||s,onChange:function(e){i(e),o({iconColorValue:e})},label:Object(X.__)("Icon color")},!m&&{value:n.color||l,onChange:function(e){a(e),o({iconBackgroundColorValue:e})},label:Object(X.__)("Icon background color")}]}),!m&&Object(Q.createElement)(Y.ContrastChecker,Object(ue.a)({textColor:s,backgroundColor:l},{isLargeText:!1}))),Object(Q.createElement)("ul",f))}));var Ob={apiVersion:2,name:"core/social-links",category:"widgets",attributes:{iconColor:{type:"string"},customIconColor:{type:"string"},iconColorValue:{type:"string"},iconBackgroundColor:{type:"string"},customIconBackgroundColor:{type:"string"},iconBackgroundColorValue:{type:"string"},openInNewTab:{type:"boolean",default:!1},size:{type:"string"}},providesContext:{openInNewTab:"openInNewTab"},supports:{align:["left","center","right"],anchor:!0},editorStyle:"wp-block-social-links-editor",style:"wp-block-social-links"},vb=Ob.name,jb={title:Object(X._x)("Social Icons","block title"),description:Object(X.__)("Display icons linking to your social media profiles or websites."),keywords:[Object(X._x)("links","block keywords")],example:{innerBlocks:[{name:"core/social-link",attributes:{service:"wordpress",url:"https://wordpress.org"}},{name:"core/social-link",attributes:{service:"facebook",url:"https://www.facebook.com/WordPress/"}},{name:"core/social-link",attributes:{service:"twitter",url:"https://twitter.com/WordPress"}}]},styles:[{name:"default",label:Object(X.__)("Default"),isDefault:!0},{name:"logos-only",label:Object(X.__)("Logos Only")},{name:"pill-shape",label:Object(X.__)("Pill Shape")}],icon:pb,edit:fb,save:function(e){var t=e.attributes,r=t.iconBackgroundColorValue,n=t.iconColorValue,c=t.size,o=ne()(c,{"has-icon-color":n,"has-icon-background-color":r}),a={"--wp--social-links--icon-color":n,"--wp--social-links--icon-background-color":r};return Object(Q.createElement)("ul",Y.useBlockProps.save({className:o,style:a}),Object(Q.createElement)(Y.InnerBlocks.Content,null))}},yb=r(220),wb=function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.647,16.706a1.134,1.134,0,0,0-.343-.833l-2.549-2.549a1.134,1.134,0,0,0-.833-.343,1.168,1.168,0,0,0-.883.392l.233.226q.2.189.264.264a2.922,2.922,0,0,1,.184.233.986.986,0,0,1,.159.312,1.242,1.242,0,0,1,.043.337,1.172,1.172,0,0,1-1.176,1.176,1.237,1.237,0,0,1-.337-.043,1,1,0,0,1-.312-.159,2.76,2.76,0,0,1-.233-.184q-.073-.068-.264-.264l-.226-.233a1.19,1.19,0,0,0-.4.895,1.134,1.134,0,0,0,.343.833L15.837,19.3a1.13,1.13,0,0,0,.833.331,1.18,1.18,0,0,0,.833-.318l1.8-1.789a1.12,1.12,0,0,0,.343-.821Zm-8.615-8.64a1.134,1.134,0,0,0-.343-.833L8.163,4.7a1.134,1.134,0,0,0-.833-.343,1.184,1.184,0,0,0-.833.331L4.7,6.473a1.12,1.12,0,0,0-.343.821,1.134,1.134,0,0,0,.343.833l2.549,2.549a1.13,1.13,0,0,0,.833.331,1.184,1.184,0,0,0,.883-.38L8.728,10.4q-.2-.189-.264-.264A2.922,2.922,0,0,1,8.28,9.9a.986.986,0,0,1-.159-.312,1.242,1.242,0,0,1-.043-.337A1.172,1.172,0,0,1,9.254,8.079a1.237,1.237,0,0,1,.337.043,1,1,0,0,1,.312.159,2.761,2.761,0,0,1,.233.184q.073.068.264.264l.226.233a1.19,1.19,0,0,0,.4-.895ZM22,16.706a3.343,3.343,0,0,1-1.042,2.488l-1.8,1.789a3.536,3.536,0,0,1-4.988-.025l-2.525-2.537a3.384,3.384,0,0,1-1.017-2.488,3.448,3.448,0,0,1,1.078-2.561l-1.078-1.078a3.434,3.434,0,0,1-2.549,1.078,3.4,3.4,0,0,1-2.5-1.029L3.029,9.794A3.4,3.4,0,0,1,2,7.294,3.343,3.343,0,0,1,3.042,4.806l1.8-1.789A3.384,3.384,0,0,1,7.331,2a3.357,3.357,0,0,1,2.5,1.042l2.525,2.537a3.384,3.384,0,0,1,1.017,2.488,3.448,3.448,0,0,1-1.078,2.561l1.078,1.078a3.551,3.551,0,0,1,5.049-.049l2.549,2.549A3.4,3.4,0,0,1,22,16.706Z"}))},_b=[{isDefault:!0,name:"wordpress",attributes:{service:"wordpress"},title:"WordPress",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(Q.createElement)(ee.Path,{d:"M12.158,12.786L9.46,20.625c0.806,0.237,1.657,0.366,2.54,0.366c1.047,0,2.051-0.181,2.986-0.51 c-0.024-0.038-0.046-0.079-0.065-0.124L12.158,12.786z M3.009,12c0,3.559,2.068,6.634,5.067,8.092L3.788,8.341 C3.289,9.459,3.009,10.696,3.009,12z M18.069,11.546c0-1.112-0.399-1.881-0.741-2.48c-0.456-0.741-0.883-1.368-0.883-2.109 c0-0.826,0.627-1.596,1.51-1.596c0.04,0,0.078,0.005,0.116,0.007C16.472,3.904,14.34,3.009,12,3.009 c-3.141,0-5.904,1.612-7.512,4.052c0.211,0.007,0.41,0.011,0.579,0.011c0.94,0,2.396-0.114,2.396-0.114 C7.947,6.93,8.004,7.642,7.52,7.699c0,0-0.487,0.057-1.029,0.085l3.274,9.739l1.968-5.901l-1.401-3.838 C9.848,7.756,9.389,7.699,9.389,7.699C8.904,7.67,8.961,6.93,9.446,6.958c0,0,1.484,0.114,2.368,0.114 c0.94,0,2.397-0.114,2.397-0.114c0.485-0.028,0.542,0.684,0.057,0.741c0,0-0.488,0.057-1.029,0.085l3.249,9.665l0.897-2.996 C17.841,13.284,18.069,12.316,18.069,11.546z M19.889,7.686c0.039,0.286,0.06,0.593,0.06,0.924c0,0.912-0.171,1.938-0.684,3.22 l-2.746,7.94c2.673-1.558,4.47-4.454,4.47-7.771C20.991,10.436,20.591,8.967,19.889,7.686z M12,22C6.486,22,2,17.514,2,12 C2,6.486,6.486,2,12,2c5.514,0,10,4.486,10,10C22,17.514,17.514,22,12,22z"}))}},{name:"fivehundredpx",attributes:{service:"fivehundredpx"},title:"500px",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M6.94026,15.1412c.00437.01213.108.29862.168.44064a6.55008,6.55008,0,1,0,6.03191-9.09557,6.68654,6.68654,0,0,0-2.58357.51467A8.53914,8.53914,0,0,0,8.21268,8.61344L8.209,8.61725V3.22948l9.0504-.00008c.32934-.0036.32934-.46353.32934-.61466s0-.61091-.33035-.61467L7.47248,2a.43.43,0,0,0-.43131.42692v7.58355c0,.24466.30476.42131.58793.4819.553.11812.68074-.05864.81617-.2457l.018-.02481A10.52673,10.52673,0,0,1,9.32258,9.258a5.35268,5.35268,0,1,1,7.58985,7.54976,5.417,5.417,0,0,1-3.80867,1.56365,5.17483,5.17483,0,0,1-2.69822-.74478l.00342-4.61111a2.79372,2.79372,0,0,1,.71372-1.78792,2.61611,2.61611,0,0,1,1.98282-.89477,2.75683,2.75683,0,0,1,1.95525.79477,2.66867,2.66867,0,0,1,.79656,1.909,2.724,2.724,0,0,1-2.75849,2.748,4.94651,4.94651,0,0,1-.86254-.13719c-.31234-.093-.44519.34058-.48892.48349-.16811.54966.08453.65862.13687.67489a3.75751,3.75751,0,0,0,1.25234.18375,3.94634,3.94634,0,1,0-2.82444-6.742,3.67478,3.67478,0,0,0-1.13028,2.584l-.00041.02323c-.0035.11667-.00579,2.881-.00644,3.78811l-.00407-.00451a6.18521,6.18521,0,0,1-1.0851-1.86092c-.10544-.27856-.34358-.22925-.66857-.12917-.14192.04372-.57386.17677-.47833.489Zm4.65165-1.08338a.51346.51346,0,0,0,.19513.31818l.02276.022a.52945.52945,0,0,0,.3517.18416.24242.24242,0,0,0,.16577-.0611c.05473-.05082.67382-.67812.73287-.738l.69041.68819a.28978.28978,0,0,0,.21437.11032.53239.53239,0,0,0,.35708-.19486c.29792-.30419.14885-.46821.07676-.54751l-.69954-.69975.72952-.73469c.16-.17311.01874-.35708-.12218-.498-.20461-.20461-.402-.25742-.52855-.14083l-.7254.72665-.73354-.73375a.20128.20128,0,0,0-.14179-.05695.54135.54135,0,0,0-.34379.19648c-.22561.22555-.274.38149-.15656.5059l.73374.7315-.72942.73072A.26589.26589,0,0,0,11.59191,14.05782Zm1.59866-9.915A8.86081,8.86081,0,0,0,9.854,4.776a.26169.26169,0,0,0-.16938.22759.92978.92978,0,0,0,.08619.42094c.05682.14524.20779.531.50006.41955a8.40969,8.40969,0,0,1,2.91968-.55484,7.87875,7.87875,0,0,1,3.086.62286,8.61817,8.61817,0,0,1,2.30562,1.49315.2781.2781,0,0,0,.18318.07586c.15529,0,.30425-.15253.43167-.29551.21268-.23861.35873-.4369.1492-.63538a8.50425,8.50425,0,0,0-2.62312-1.694A9.0177,9.0177,0,0,0,13.19058,4.14283ZM19.50945,18.6236h0a.93171.93171,0,0,0-.36642-.25406.26589.26589,0,0,0-.27613.06613l-.06943.06929A7.90606,7.90606,0,0,1,7.60639,18.505a7.57284,7.57284,0,0,1-1.696-2.51537,8.58715,8.58715,0,0,1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z"}))}},{name:"amazon",attributes:{service:"amazon"},title:"Amazon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M13.582,8.182C11.934,8.367,9.78,8.49,8.238,9.166c-1.781,0.769-3.03,2.337-3.03,4.644 c0,2.953,1.86,4.429,4.253,4.429c2.02,0,3.125-0.477,4.685-2.065c0.516,0.747,0.685,1.109,1.629,1.894 c0.212,0.114,0.483,0.103,0.672-0.066l0.006,0.006c0.567-0.505,1.599-1.401,2.18-1.888c0.231-0.188,0.19-0.496,0.009-0.754 c-0.52-0.718-1.072-1.303-1.072-2.634V8.305c0-1.876,0.133-3.599-1.249-4.891C15.23,2.369,13.422,2,12.04,2 C9.336,2,6.318,3.01,5.686,6.351C5.618,6.706,5.877,6.893,6.109,6.945l2.754,0.298C9.121,7.23,9.308,6.977,9.357,6.72 c0.236-1.151,1.2-1.706,2.284-1.706c0.584,0,1.249,0.215,1.595,0.738c0.398,0.584,0.346,1.384,0.346,2.061V8.182z M13.049,14.088 c-0.451,0.8-1.169,1.291-1.967,1.291c-1.09,0-1.728-0.83-1.728-2.061c0-2.42,2.171-2.86,4.227-2.86v0.615 C13.582,12.181,13.608,13.104,13.049,14.088z M20.683,19.339C18.329,21.076,14.917,22,11.979,22c-4.118,0-7.826-1.522-10.632-4.057 c-0.22-0.199-0.024-0.471,0.241-0.317c3.027,1.762,6.771,2.823,10.639,2.823c2.608,0,5.476-0.541,8.115-1.66 C20.739,18.62,21.072,19.051,20.683,19.339z M21.336,21.043c-0.194,0.163-0.379,0.076-0.293-0.139 c0.284-0.71,0.92-2.298,0.619-2.684c-0.301-0.386-1.99-0.183-2.749-0.092c-0.23,0.027-0.266-0.173-0.059-0.319 c1.348-0.946,3.555-0.673,3.811-0.356C22.925,17.773,22.599,19.986,21.336,21.043z"}))}},{name:"bandcamp",attributes:{service:"bandcamp"},title:"Bandcamp",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M15.27 17.289 3 17.289 8.73 6.711 21 6.711 15.27 17.289"}))}},{name:"behance",attributes:{service:"behance"},title:"Behance",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M7.799,5.698c0.589,0,1.12,0.051,1.606,0.156c0.482,0.102,0.894,0.273,1.241,0.507c0.344,0.235,0.612,0.546,0.804,0.938 c0.188,0.387,0.281,0.871,0.281,1.443c0,0.619-0.141,1.137-0.421,1.551c-0.284,0.413-0.7,0.751-1.255,1.014 c0.756,0.218,1.317,0.601,1.689,1.146c0.374,0.549,0.557,1.205,0.557,1.975c0,0.623-0.12,1.161-0.359,1.612 c-0.241,0.457-0.569,0.828-0.973,1.114c-0.408,0.288-0.876,0.5-1.399,0.637C9.052,17.931,8.514,18,7.963,18H2V5.698H7.799 M7.449,10.668c0.481,0,0.878-0.114,1.192-0.345c0.311-0.228,0.463-0.603,0.463-1.119c0-0.286-0.051-0.523-0.152-0.707 C8.848,8.315,8.711,8.171,8.536,8.07C8.362,7.966,8.166,7.894,7.94,7.854c-0.224-0.044-0.457-0.06-0.697-0.06H4.709v2.874H7.449z M7.6,15.905c0.267,0,0.521-0.024,0.759-0.077c0.243-0.053,0.457-0.137,0.637-0.261c0.182-0.12,0.332-0.283,0.441-0.491 C9.547,14.87,9.6,14.602,9.6,14.278c0-0.633-0.18-1.084-0.533-1.357c-0.356-0.27-0.83-0.404-1.413-0.404H4.709v3.388L7.6,15.905z M16.162,15.864c0.367,0.358,0.897,0.538,1.583,0.538c0.493,0,0.92-0.125,1.277-0.374c0.354-0.248,0.571-0.514,0.654-0.79h2.155 c-0.347,1.072-0.872,1.838-1.589,2.299C19.534,18,18.67,18.23,17.662,18.23c-0.701,0-1.332-0.113-1.899-0.337 c-0.567-0.227-1.041-0.544-1.439-0.958c-0.389-0.415-0.689-0.907-0.904-1.484c-0.213-0.574-0.32-1.21-0.32-1.899 c0-0.666,0.11-1.288,0.329-1.863c0.222-0.577,0.529-1.075,0.933-1.492c0.406-0.42,0.885-0.751,1.444-0.994 c0.558-0.241,1.175-0.363,1.857-0.363c0.754,0,1.414,0.145,1.98,0.44c0.563,0.291,1.026,0.686,1.389,1.181 c0.363,0.493,0.622,1.057,0.783,1.69c0.16,0.632,0.217,1.292,0.171,1.983h-6.428C15.557,14.84,15.795,15.506,16.162,15.864 M18.973,11.184c-0.291-0.321-0.783-0.496-1.384-0.496c-0.39,0-0.714,0.066-0.973,0.2c-0.254,0.132-0.461,0.297-0.621,0.491 c-0.157,0.197-0.265,0.405-0.328,0.628c-0.063,0.217-0.101,0.413-0.111,0.587h3.98C19.478,11.969,19.265,11.509,18.973,11.184z M15.057,7.738h4.985V6.524h-4.985L15.057,7.738z"}))}},{name:"chain",attributes:{service:"chain"},title:"Link",icon:wb},{name:"codepen",attributes:{service:"codepen"},title:"CodePen",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.016,8.84c-0.002-0.013-0.005-0.025-0.007-0.037c-0.005-0.025-0.008-0.048-0.015-0.072 c-0.003-0.015-0.01-0.028-0.013-0.042c-0.008-0.02-0.015-0.04-0.023-0.062c-0.007-0.015-0.013-0.028-0.02-0.042 c-0.008-0.02-0.018-0.037-0.03-0.057c-0.007-0.013-0.017-0.027-0.025-0.038c-0.012-0.018-0.023-0.035-0.035-0.052 c-0.01-0.013-0.02-0.025-0.03-0.037c-0.015-0.017-0.028-0.032-0.043-0.045c-0.01-0.012-0.022-0.023-0.035-0.035 c-0.015-0.015-0.032-0.028-0.048-0.04c-0.012-0.01-0.025-0.02-0.037-0.03c-0.005-0.003-0.01-0.008-0.015-0.012l-9.161-6.096 c-0.289-0.192-0.666-0.192-0.955,0L2.359,8.237C2.354,8.24,2.349,8.245,2.344,8.249L2.306,8.277 c-0.017,0.013-0.033,0.027-0.048,0.04C2.246,8.331,2.234,8.342,2.222,8.352c-0.015,0.015-0.028,0.03-0.042,0.047 c-0.012,0.013-0.022,0.023-0.03,0.037C2.139,8.453,2.125,8.471,2.115,8.488C2.107,8.501,2.099,8.514,2.09,8.526 C2.079,8.548,2.069,8.565,2.06,8.585C2.054,8.6,2.047,8.613,2.04,8.626C2.032,8.648,2.025,8.67,2.019,8.69 c-0.005,0.013-0.01,0.027-0.013,0.042C1.999,8.755,1.995,8.778,1.99,8.803C1.989,8.817,1.985,8.828,1.984,8.84 C1.978,8.879,1.975,8.915,1.975,8.954v6.093c0,0.037,0.003,0.075,0.008,0.112c0.002,0.012,0.005,0.025,0.007,0.038 c0.005,0.023,0.008,0.047,0.015,0.072c0.003,0.015,0.008,0.028,0.013,0.04c0.007,0.022,0.013,0.042,0.022,0.063 c0.007,0.015,0.013,0.028,0.02,0.04c0.008,0.02,0.018,0.038,0.03,0.058c0.007,0.013,0.015,0.027,0.025,0.038 c0.012,0.018,0.023,0.035,0.035,0.052c0.01,0.013,0.02,0.025,0.03,0.037c0.013,0.015,0.028,0.032,0.042,0.045 c0.012,0.012,0.023,0.023,0.035,0.035c0.015,0.013,0.032,0.028,0.048,0.04l0.038,0.03c0.005,0.003,0.01,0.007,0.013,0.01 l9.163,6.095C11.668,21.953,11.833,22,12,22c0.167,0,0.332-0.047,0.478-0.144l9.163-6.095l0.015-0.01 c0.013-0.01,0.027-0.02,0.037-0.03c0.018-0.013,0.035-0.028,0.048-0.04c0.013-0.012,0.025-0.023,0.035-0.035 c0.017-0.015,0.03-0.032,0.043-0.045c0.01-0.013,0.02-0.025,0.03-0.037c0.013-0.018,0.025-0.035,0.035-0.052 c0.008-0.013,0.018-0.027,0.025-0.038c0.012-0.02,0.022-0.038,0.03-0.058c0.007-0.013,0.013-0.027,0.02-0.04 c0.008-0.022,0.015-0.042,0.023-0.063c0.003-0.013,0.01-0.027,0.013-0.04c0.007-0.025,0.01-0.048,0.015-0.072 c0.002-0.013,0.005-0.027,0.007-0.037c0.003-0.042,0.007-0.079,0.007-0.117V8.954C22.025,8.915,22.022,8.879,22.016,8.84z M12.862,4.464l6.751,4.49l-3.016,2.013l-3.735-2.492V4.464z M11.138,4.464v4.009l-3.735,2.494L4.389,8.954L11.138,4.464z M3.699,10.562L5.853,12l-2.155,1.438V10.562z M11.138,19.536l-6.749-4.491l3.015-2.011l3.735,2.492V19.536z M12,14.035L8.953,12 L12,9.966L15.047,12L12,14.035z M12.862,19.536v-4.009l3.735-2.492l3.016,2.011L12.862,19.536z M20.303,13.438L18.147,12 l2.156-1.438L20.303,13.438z"}))}},{name:"deviantart",attributes:{service:"deviantart"},title:"DeviantArt",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M 18.19 5.636 18.19 2 18.188 2 14.553 2 14.19 2.366 12.474 5.636 11.935 6 5.81 6 5.81 10.994 9.177 10.994 9.477 11.357 5.81 18.363 5.81 22 5.811 22 9.447 22 9.81 21.634 11.526 18.364 12.065 18 18.19 18 18.19 13.006 14.823 13.006 14.523 12.641 18.19 5.636z"}))}},{name:"dribbble",attributes:{service:"dribbble"},title:"Dribbble",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,22C6.486,22,2,17.514,2,12S6.486,2,12,2c5.514,0,10,4.486,10,10S17.514,22,12,22z M20.434,13.369 c-0.292-0.092-2.644-0.794-5.32-0.365c1.117,3.07,1.572,5.57,1.659,6.09C18.689,17.798,20.053,15.745,20.434,13.369z M15.336,19.876c-0.127-0.749-0.623-3.361-1.822-6.477c-0.019,0.006-0.038,0.013-0.056,0.019c-4.818,1.679-6.547,5.02-6.701,5.334 c1.448,1.129,3.268,1.803,5.243,1.803C13.183,20.555,14.311,20.313,15.336,19.876z M5.654,17.724 c0.193-0.331,2.538-4.213,6.943-5.637c0.111-0.036,0.224-0.07,0.337-0.102c-0.214-0.485-0.448-0.971-0.692-1.45 c-4.266,1.277-8.405,1.223-8.778,1.216c-0.003,0.087-0.004,0.174-0.004,0.261C3.458,14.207,4.29,16.21,5.654,17.724z M3.639,10.264 c0.382,0.005,3.901,0.02,7.897-1.041c-1.415-2.516-2.942-4.631-3.167-4.94C5.979,5.41,4.193,7.613,3.639,10.264z M9.998,3.709 c0.236,0.316,1.787,2.429,3.187,5c3.037-1.138,4.323-2.867,4.477-3.085C16.154,4.286,14.17,3.471,12,3.471 C11.311,3.471,10.641,3.554,9.998,3.709z M18.612,6.612C18.432,6.855,17,8.69,13.842,9.979c0.199,0.407,0.389,0.821,0.567,1.237 c0.063,0.148,0.124,0.295,0.184,0.441c2.842-0.357,5.666,0.215,5.948,0.275C20.522,9.916,19.801,8.065,18.612,6.612z"}))}},{name:"dropbox",attributes:{service:"dropbox"},title:"Dropbox",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,6.134L6.069,9.797L2,6.54l5.883-3.843L12,6.134z M2,13.054l5.883,3.843L12,13.459L6.069,9.797L2,13.054z M12,13.459 l4.116,3.439L22,13.054l-4.069-3.257L12,13.459z M22,6.54l-5.884-3.843L12,6.134l5.931,3.663L22,6.54z M12.011,14.2l-4.129,3.426 l-1.767-1.153v1.291l5.896,3.539l5.897-3.539v-1.291l-1.769,1.153L12.011,14.2z"}))}},{name:"etsy",attributes:{service:"etsy"},title:"Etsy",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M9.16033,4.038c0-.27174.02717-.43478.48913-.43478h6.22283c1.087,0,1.68478.92391,2.11957,2.663l.35326,1.38587h1.05978C19.59511,3.712,19.75815,2,19.75815,2s-2.663.29891-4.23913.29891h-7.962L3.29076,2.163v1.1413L4.731,3.57609c1.00543.19022,1.25.40761,1.33152,1.33152,0,0,.08152,2.71739.08152,7.20109s-.08152,7.17391-.08152,7.17391c0,.81522-.32609,1.11413-1.33152,1.30435l-1.44022.27174V22l4.2663-.13587h7.11957c1.60326,0,5.32609.13587,5.32609.13587.08152-.97826.625-5.40761.70652-5.89674H19.7038L18.644,18.52174c-.84239,1.90217-2.06522,2.038-3.42391,2.038H11.1712c-1.3587,0-2.01087-.54348-2.01087-1.712V12.65217s3.0163,0,3.99457.08152c.76087.05435,1.22283.27174,1.46739,1.33152l.32609,1.413h1.16848l-.08152-3.55978.163-3.587H15.02989l-.38043,1.57609c-.24457,1.03261-.40761,1.22283-1.46739,1.33152-1.38587.13587-4.02174.1087-4.02174.1087Z"}))}},{name:"facebook",attributes:{service:"facebook"},title:"Facebook",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"}))}},{name:"feed",attributes:{service:"feed"},title:"RSS Feed",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M2,8.667V12c5.515,0,10,4.485,10,10h3.333C15.333,14.637,9.363,8.667,2,8.667z M2,2v3.333 c9.19,0,16.667,7.477,16.667,16.667H22C22,10.955,13.045,2,2,2z M4.5,17C3.118,17,2,18.12,2,19.5S3.118,22,4.5,22S7,20.88,7,19.5 S5.882,17,4.5,17z"}))}},{name:"flickr",attributes:{service:"flickr"},title:"Flickr",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M6.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5S9.25,7,6.5,7z M17.5,7c-2.75,0-5,2.25-5,5s2.25,5,5,5s5-2.25,5-5 S20.25,7,17.5,7z"}))}},{name:"foursquare",attributes:{service:"foursquare"},title:"Foursquare",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.573,2c0,0-9.197,0-10.668,0S5,3.107,5,3.805s0,16.948,0,16.948c0,0.785,0.422,1.077,0.66,1.172 c0.238,0.097,0.892,0.177,1.285-0.275c0,0,5.035-5.843,5.122-5.93c0.132-0.132,0.132-0.132,0.262-0.132h3.26 c1.368,0,1.588-0.977,1.732-1.552c0.078-0.318,0.692-3.428,1.225-6.122l0.675-3.368C19.56,2.893,19.14,2,17.573,2z M16.495,7.22 c-0.053,0.252-0.372,0.518-0.665,0.518c-0.293,0-4.157,0-4.157,0c-0.467,0-0.802,0.318-0.802,0.787v0.508 c0,0.467,0.337,0.798,0.805,0.798c0,0,3.197,0,3.528,0s0.655,0.362,0.583,0.715c-0.072,0.353-0.407,2.102-0.448,2.295 c-0.04,0.193-0.262,0.523-0.655,0.523c-0.33,0-2.88,0-2.88,0c-0.523,0-0.683,0.068-1.033,0.503 c-0.35,0.437-3.505,4.223-3.505,4.223c-0.032,0.035-0.063,0.027-0.063-0.015V4.852c0-0.298,0.26-0.648,0.648-0.648 c0,0,8.228,0,8.562,0c0.315,0,0.61,0.297,0.528,0.683L16.495,7.22z"}))}},{name:"goodreads",attributes:{service:"goodreads"},title:"Goodreads",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.3,17.5c-0.2,0.8-0.5,1.4-1,1.9c-0.4,0.5-1,0.9-1.7,1.2C13.9,20.9,13.1,21,12,21c-0.6,0-1.3-0.1-1.9-0.2 c-0.6-0.1-1.1-0.4-1.6-0.7c-0.5-0.3-0.9-0.7-1.2-1.2c-0.3-0.5-0.5-1.1-0.5-1.7h1.5c0.1,0.5,0.2,0.9,0.5,1.2 c0.2,0.3,0.5,0.6,0.9,0.8c0.3,0.2,0.7,0.3,1.1,0.4c0.4,0.1,0.8,0.1,1.2,0.1c1.4,0,2.5-0.4,3.1-1.2c0.6-0.8,1-2,1-3.5v-1.7h0 c-0.4,0.8-0.9,1.4-1.6,1.9c-0.7,0.5-1.5,0.7-2.4,0.7c-1,0-1.9-0.2-2.6-0.5C8.7,15,8.1,14.5,7.7,14c-0.5-0.6-0.8-1.3-1-2.1 c-0.2-0.8-0.3-1.6-0.3-2.5c0-0.9,0.1-1.7,0.4-2.5c0.3-0.8,0.6-1.5,1.1-2c0.5-0.6,1.1-1,1.8-1.4C10.3,3.2,11.1,3,12,3 c0.5,0,0.9,0.1,1.3,0.2c0.4,0.1,0.8,0.3,1.1,0.5c0.3,0.2,0.6,0.5,0.9,0.8c0.3,0.3,0.5,0.6,0.6,1h0V3.4h1.5V15 C17.6,15.9,17.5,16.7,17.3,17.5z M13.8,14.1c0.5-0.3,0.9-0.7,1.3-1.1c0.3-0.5,0.6-1,0.8-1.6c0.2-0.6,0.3-1.2,0.3-1.9 c0-0.6-0.1-1.2-0.2-1.9c-0.1-0.6-0.4-1.2-0.7-1.7c-0.3-0.5-0.7-0.9-1.3-1.2c-0.5-0.3-1.1-0.5-1.9-0.5s-1.4,0.2-1.9,0.5 c-0.5,0.3-1,0.7-1.3,1.2C8.5,6.4,8.3,7,8.1,7.6C8,8.2,7.9,8.9,7.9,9.5c0,0.6,0.1,1.3,0.2,1.9C8.3,12,8.6,12.5,8.9,13 c0.3,0.5,0.8,0.8,1.3,1.1c0.5,0.3,1.1,0.4,1.9,0.4C12.7,14.5,13.3,14.4,13.8,14.1z"}))}},{name:"google",attributes:{service:"google"},title:"Google",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.02,10.18v3.72v0.01h5.51c-0.26,1.57-1.67,4.22-5.5,4.22c-3.31,0-6.01-2.75-6.01-6.12s2.7-6.12,6.01-6.12 c1.87,0,3.13,0.8,3.85,1.48l2.84-2.76C16.99,2.99,14.73,2,12.03,2c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.77,0,9.6-4.06,9.6-9.77 c0-0.83-0.11-1.42-0.25-2.05H12.02z"}))}},{name:"github",attributes:{service:"github"},title:"GitHub",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"}))}},{name:"instagram",attributes:{service:"instagram"},title:"Instagram",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"}))}},{name:"lastfm",attributes:{service:"lastfm"},title:"Last.fm",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M 12.0002 1.5 C 6.2006 1.5 1.5 6.2011 1.5 11.9998 C 1.5 17.799 6.2006 22.5 12.0002 22.5 C 17.799 22.5 22.5 17.799 22.5 11.9998 C 22.5 6.2011 17.799 1.5 12.0002 1.5 Z M 16.1974 16.2204 C 14.8164 16.2152 13.9346 15.587 13.3345 14.1859 L 13.1816 13.8451 L 11.8541 10.8101 C 11.4271 9.7688 10.3526 9.0712 9.1801 9.0712 C 7.5695 9.0712 6.2593 10.3851 6.2593 12.001 C 6.2593 13.6165 7.5695 14.9303 9.1801 14.9303 C 10.272 14.9303 11.2651 14.3275 11.772 13.3567 C 11.7893 13.3235 11.8239 13.302 11.863 13.3038 C 11.9007 13.3054 11.9353 13.3288 11.9504 13.3632 L 12.4865 14.6046 C 12.5016 14.639 12.4956 14.6778 12.4723 14.7069 C 11.6605 15.6995 10.4602 16.2683 9.1801 16.2683 C 6.8331 16.2683 4.9234 14.3536 4.9234 12.001 C 4.9234 9.6468 6.833 7.732 9.1801 7.732 C 10.9572 7.732 12.3909 8.6907 13.1138 10.3636 C 13.1206 10.3802 13.8412 12.0708 14.4744 13.5191 C 14.8486 14.374 15.1462 14.896 16.1288 14.9292 C 17.0663 14.9613 17.7538 14.4122 17.7538 13.6485 C 17.7538 12.9691 17.3321 12.8004 16.3803 12.4822 C 14.7365 11.9398 13.845 11.3861 13.845 10.0182 C 13.845 8.6809 14.7667 7.8162 16.192 7.8162 C 17.1288 7.8162 17.8155 8.2287 18.2921 9.0768 C 18.305 9.1006 18.3079 9.1281 18.3004 9.1542 C 18.2929 9.1803 18.2748 9.2021 18.2507 9.2138 L 17.3614 9.669 C 17.3178 9.692 17.2643 9.6781 17.2356 9.6385 C 16.9329 9.2135 16.5956 9.0251 16.1423 9.0251 C 15.5512 9.0251 15.122 9.429 15.122 9.9865 C 15.122 10.6738 15.6529 10.8414 16.5339 11.1192 C 16.6491 11.1558 16.7696 11.194 16.8939 11.2343 C 18.2763 11.6865 19.0768 12.2311 19.0768 13.6836 C 19.0769 15.1297 17.8389 16.2204 16.1974 16.2204 Z"}))}},{name:"linkedin",attributes:{service:"linkedin"},title:"LinkedIn",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"}))}},{name:"mail",attributes:{service:"mail"},title:"Mail",keywords:["email","e-mail"],icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z"}))}},{name:"mastodon",attributes:{service:"mastodon"},title:"Mastodon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M23.193 7.879c0-5.206-3.411-6.732-3.411-6.732C18.062.357 15.108.025 12.041 0h-.076c-3.068.025-6.02.357-7.74 1.147 0 0-3.411 1.526-3.411 6.732 0 1.192-.023 2.618.015 4.129.124 5.092.934 10.109 5.641 11.355 2.17.574 4.034.695 5.535.612 2.722-.15 4.25-.972 4.25-.972l-.09-1.975s-1.945.613-4.129.539c-2.165-.074-4.449-.233-4.799-2.891a5.499 5.499 0 0 1-.048-.745s2.125.52 4.817.643c1.646.075 3.19-.097 4.758-.283 3.007-.359 5.625-2.212 5.954-3.905.517-2.665.475-6.507.475-6.507zm-4.024 6.709h-2.497V8.469c0-1.29-.543-1.944-1.628-1.944-1.2 0-1.802.776-1.802 2.312v3.349h-2.483v-3.35c0-1.536-.602-2.312-1.802-2.312-1.085 0-1.628.655-1.628 1.944v6.119H4.832V8.284c0-1.289.328-2.313.987-3.07.68-.758 1.569-1.146 2.674-1.146 1.278 0 2.246.491 2.886 1.474L12 6.585l.622-1.043c.64-.983 1.608-1.474 2.886-1.474 1.104 0 1.994.388 2.674 1.146.658.757.986 1.781.986 3.07v6.304z"}))}},{name:"meetup",attributes:{service:"meetup"},title:"Meetup",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M19.24775,14.722a3.57032,3.57032,0,0,1-2.94457,3.52073,3.61886,3.61886,0,0,1-.64652.05634c-.07314-.0008-.10187.02846-.12507.09547A2.38881,2.38881,0,0,1,13.49453,20.094a2.33092,2.33092,0,0,1-1.827-.50716.13635.13635,0,0,0-.19878-.00408,3.191,3.191,0,0,1-2.104.60248,3.26309,3.26309,0,0,1-3.00324-2.71993,2.19076,2.19076,0,0,1-.03512-.30865c-.00156-.08579-.03413-.1189-.11608-.13493a2.86421,2.86421,0,0,1-1.23189-.56111,2.945,2.945,0,0,1-1.166-2.05749,2.97484,2.97484,0,0,1,.87524-2.50774.112.112,0,0,0,.02091-.16107,2.7213,2.7213,0,0,1-.36648-1.48A2.81256,2.81256,0,0,1,6.57673,7.58838a.35764.35764,0,0,0,.28869-.22819,4.2208,4.2208,0,0,1,6.02892-1.90111.25161.25161,0,0,0,.22023.0243,3.65608,3.65608,0,0,1,3.76031.90678A3.57244,3.57244,0,0,1,17.95918,8.626a2.97339,2.97339,0,0,1,.01829.57356.10637.10637,0,0,0,.0853.12792,1.97669,1.97669,0,0,1,1.27939,1.33733,2.00266,2.00266,0,0,1-.57112,2.12652c-.05284.05166-.04168.08328-.01173.13489A3.51189,3.51189,0,0,1,19.24775,14.722Zm-6.35959-.27836a1.6984,1.6984,0,0,0,1.14556,1.61113,3.82039,3.82039,0,0,0,1.036.17935,1.46888,1.46888,0,0,0,.73509-.12255.44082.44082,0,0,0,.26057-.44274.45312.45312,0,0,0-.29211-.43375.97191.97191,0,0,0-.20678-.063c-.21326-.03806-.42754-.0701-.63973-.11215a.54787.54787,0,0,1-.50172-.60926,2.75864,2.75864,0,0,1,.1773-.901c.1763-.535.414-1.045.64183-1.55913A12.686,12.686,0,0,0,15.85,10.47863a1.58461,1.58461,0,0,0,.04861-.87208,1.04531,1.04531,0,0,0-.85432-.83981,1.60658,1.60658,0,0,0-1.23654.16594.27593.27593,0,0,1-.36286-.03413c-.085-.0747-.16594-.15379-.24918-.23055a.98682.98682,0,0,0-1.33577-.04933,6.1468,6.1468,0,0,1-.4989.41615.47762.47762,0,0,1-.51535.03566c-.17448-.09307-.35512-.175-.53531-.25665a1.74949,1.74949,0,0,0-.56476-.2016,1.69943,1.69943,0,0,0-1.61654.91787,8.05815,8.05815,0,0,0-.32952.80126c-.45471,1.2557-.82507,2.53825-1.20838,3.81639a1.24151,1.24151,0,0,0,.51532,1.44389,1.42659,1.42659,0,0,0,1.22008.17166,1.09728,1.09728,0,0,0,.66994-.69764c.44145-1.04111.839-2.09989,1.25981-3.14926.11581-.28876.22792-.57874.35078-.86438a.44548.44548,0,0,1,.69189-.19539.50521.50521,0,0,1,.15044.43836,1.75625,1.75625,0,0,1-.14731.50453c-.27379.69219-.55265,1.38236-.82766,2.074a2.0836,2.0836,0,0,0-.14038.42876.50719.50719,0,0,0,.27082.57722.87236.87236,0,0,0,.66145.02739.99137.99137,0,0,0,.53406-.532q.61571-1.20914,1.228-2.42031.28423-.55863.57585-1.1133a.87189.87189,0,0,1,.29055-.35253.34987.34987,0,0,1,.37634-.01265.30291.30291,0,0,1,.12434.31459.56716.56716,0,0,1-.04655.1915c-.05318.12739-.10286.25669-.16183.38156-.34118.71775-.68754,1.43273-1.02568,2.152A2.00213,2.00213,0,0,0,12.88816,14.44366Zm4.78568,5.28972a.88573.88573,0,0,0-1.77139.00465.8857.8857,0,0,0,1.77139-.00465Zm-14.83838-7.296a.84329.84329,0,1,0,.00827-1.68655.8433.8433,0,0,0-.00827,1.68655Zm10.366-9.43673a.83506.83506,0,1,0-.0091,1.67.83505.83505,0,0,0,.0091-1.67Zm6.85014,5.22a.71651.71651,0,0,0-1.433.0093.71656.71656,0,0,0,1.433-.0093ZM5.37528,6.17908A.63823.63823,0,1,0,6.015,5.54483.62292.62292,0,0,0,5.37528,6.17908Zm6.68214,14.80843a.54949.54949,0,1,0-.55052.541A.54556.54556,0,0,0,12.05742,20.98752Zm8.53235-8.49689a.54777.54777,0,0,0-.54027.54023.53327.53327,0,0,0,.532.52293.51548.51548,0,0,0,.53272-.5237A.53187.53187,0,0,0,20.58977,12.49063ZM7.82846,2.4715a.44927.44927,0,1,0,.44484.44766A.43821.43821,0,0,0,7.82846,2.4715Zm13.775,7.60492a.41186.41186,0,0,0-.40065.39623.40178.40178,0,0,0,.40168.40168A.38994.38994,0,0,0,22,10.48172.39946.39946,0,0,0,21.60349,10.07642ZM5.79193,17.96207a.40469.40469,0,0,0-.397-.39646.399.399,0,0,0-.396.405.39234.39234,0,0,0,.39939.389A.39857.39857,0,0,0,5.79193,17.96207Z"}))}},{name:"medium",attributes:{service:"medium"},title:"Medium",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M20.962,7.257l-5.457,8.867l-3.923-6.375l3.126-5.08c0.112-0.182,0.319-0.286,0.527-0.286c0.05,0,0.1,0.008,0.149,0.02 c0.039,0.01,0.078,0.023,0.114,0.041l5.43,2.715l0.006,0.003c0.004,0.002,0.007,0.006,0.011,0.008 C20.971,7.191,20.98,7.227,20.962,7.257z M9.86,8.592v5.783l5.14,2.57L9.86,8.592z M15.772,17.331l4.231,2.115 C20.554,19.721,21,19.529,21,19.016V8.835L15.772,17.331z M8.968,7.178L3.665,4.527C3.569,4.479,3.478,4.456,3.395,4.456 C3.163,4.456,3,4.636,3,4.938v11.45c0,0.306,0.224,0.669,0.498,0.806l4.671,2.335c0.12,0.06,0.234,0.088,0.337,0.088 c0.29,0,0.494-0.225,0.494-0.602V7.231C9,7.208,8.988,7.188,8.968,7.178z"}))}},{name:"patreon",attributes:{service:"patreon"},title:"Patreon",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 569 546",version:"1.1"},Object(Q.createElement)(ee.Circle,{cx:"363",cy:"205",r:"205"}),Object(Q.createElement)(ee.Rect,{width:"100",height:"546",x:"0",y:"0"}))}},{name:"pinterest",attributes:{service:"pinterest"},title:"Pinterest",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"}))}},{name:"pocket",attributes:{service:"pocket"},title:"Pocket",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M21.927,4.194C21.667,3.48,20.982,3,20.222,3h-0.01h-1.721H3.839C3.092,3,2.411,3.47,2.145,4.17 C2.066,4.378,2.026,4.594,2.026,4.814v6.035l0.069,1.2c0.29,2.73,1.707,5.115,3.899,6.778c0.039,0.03,0.079,0.059,0.119,0.089 l0.025,0.018c1.175,0.859,2.491,1.441,3.91,1.727c0.655,0.132,1.325,0.2,1.991,0.2c0.615,0,1.232-0.057,1.839-0.17 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.297,2.621-0.864,3.753-1.691l0.025-0.018 c0.04-0.029,0.08-0.058,0.119-0.089c2.192-1.664,3.609-4.049,3.898-6.778l0.069-1.2V4.814C22.026,4.605,22,4.398,21.927,4.194z M17.692,10.481l-4.704,4.512c-0.266,0.254-0.608,0.382-0.949,0.382c-0.342,0-0.684-0.128-0.949-0.382l-4.705-4.512 C5.838,9.957,5.82,9.089,6.344,8.542c0.524-0.547,1.392-0.565,1.939-0.04l3.756,3.601l3.755-3.601 c0.547-0.524,1.415-0.506,1.939,0.04C18.256,9.089,18.238,9.956,17.692,10.481z"}))}},{name:"reddit",attributes:{service:"reddit"},title:"Reddit",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22,11.816c0-1.256-1.021-2.277-2.277-2.277c-0.593,0-1.122,0.24-1.526,0.614c-1.481-0.965-3.455-1.594-5.647-1.69 l1.171-3.702l3.18,0.748c0.008,1.028,0.846,1.862,1.876,1.862c1.035,0,1.877-0.842,1.877-1.878c0-1.035-0.842-1.877-1.877-1.877 c-0.769,0-1.431,0.466-1.72,1.13l-3.508-0.826c-0.203-0.047-0.399,0.067-0.46,0.261l-1.35,4.268 c-2.316,0.038-4.411,0.67-5.97,1.671C5.368,9.765,4.853,9.539,4.277,9.539C3.021,9.539,2,10.56,2,11.816 c0,0.814,0.433,1.523,1.078,1.925c-0.037,0.221-0.061,0.444-0.061,0.672c0,3.292,4.011,5.97,8.941,5.97s8.941-2.678,8.941-5.97 c0-0.214-0.02-0.424-0.053-0.632C21.533,13.39,22,12.661,22,11.816z M18.776,4.394c0.606,0,1.1,0.493,1.1,1.1s-0.493,1.1-1.1,1.1 s-1.1-0.494-1.1-1.1S18.169,4.394,18.776,4.394z M2.777,11.816c0-0.827,0.672-1.5,1.499-1.5c0.313,0,0.598,0.103,0.838,0.269 c-0.851,0.676-1.477,1.479-1.812,2.36C2.983,12.672,2.777,12.27,2.777,11.816z M11.959,19.606c-4.501,0-8.164-2.329-8.164-5.193 S7.457,9.22,11.959,9.22s8.164,2.329,8.164,5.193S16.46,19.606,11.959,19.606z M20.636,13.001c-0.326-0.89-0.948-1.701-1.797-2.384 c0.248-0.186,0.55-0.301,0.883-0.301c0.827,0,1.5,0.673,1.5,1.5C21.223,12.299,20.992,12.727,20.636,13.001z M8.996,14.704 c-0.76,0-1.397-0.616-1.397-1.376c0-0.76,0.637-1.397,1.397-1.397c0.76,0,1.376,0.637,1.376,1.397 C10.372,14.088,9.756,14.704,8.996,14.704z M16.401,13.328c0,0.76-0.616,1.376-1.376,1.376c-0.76,0-1.399-0.616-1.399-1.376 c0-0.76,0.639-1.397,1.399-1.397C15.785,11.931,16.401,12.568,16.401,13.328z M15.229,16.708c0.152,0.152,0.152,0.398,0,0.55 c-0.674,0.674-1.727,1.002-3.219,1.002c-0.004,0-0.007-0.002-0.011-0.002c-0.004,0-0.007,0.002-0.011,0.002 c-1.492,0-2.544-0.328-3.218-1.002c-0.152-0.152-0.152-0.398,0-0.55c0.152-0.152,0.399-0.151,0.55,0 c0.521,0.521,1.394,0.775,2.669,0.775c0.004,0,0.007,0.002,0.011,0.002c0.004,0,0.007-0.002,0.011-0.002 c1.275,0,2.148-0.253,2.669-0.775C14.831,16.556,15.078,16.556,15.229,16.708z"}))}},{name:"skype",attributes:{service:"skype"},title:"Skype",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M10.113,2.699c0.033-0.006,0.067-0.013,0.1-0.02c0.033,0.017,0.066,0.033,0.098,0.051L10.113,2.699z M2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223z M21.275,13.771 c0.007-0.035,0.011-0.071,0.018-0.106c-0.018-0.031-0.033-0.064-0.052-0.095L21.275,13.771z M13.563,21.199 c0.032,0.019,0.065,0.035,0.096,0.053c0.036-0.006,0.071-0.011,0.105-0.017L13.563,21.199z M22,16.386 c0,1.494-0.581,2.898-1.637,3.953c-1.056,1.057-2.459,1.637-3.953,1.637c-0.967,0-1.914-0.251-2.75-0.725 c0.036-0.006,0.071-0.011,0.105-0.017l-0.202-0.035c0.032,0.019,0.065,0.035,0.096,0.053c-0.543,0.096-1.099,0.147-1.654,0.147 c-1.275,0-2.512-0.25-3.676-0.743c-1.125-0.474-2.135-1.156-3.002-2.023c-0.867-0.867-1.548-1.877-2.023-3.002 c-0.493-1.164-0.743-2.401-0.743-3.676c0-0.546,0.049-1.093,0.142-1.628c0.018,0.032,0.033,0.064,0.051,0.095L2.72,10.223 c-0.006,0.034-0.011,0.069-0.017,0.103C2.244,9.5,2,8.566,2,7.615c0-1.493,0.582-2.898,1.637-3.953 c1.056-1.056,2.46-1.638,3.953-1.638c0.915,0,1.818,0.228,2.622,0.655c-0.033,0.007-0.067,0.013-0.1,0.02l0.199,0.031 c-0.032-0.018-0.066-0.034-0.098-0.051c0.002,0,0.003-0.001,0.004-0.001c0.586-0.112,1.187-0.169,1.788-0.169 c1.275,0,2.512,0.249,3.676,0.742c1.124,0.476,2.135,1.156,3.002,2.024c0.868,0.867,1.548,1.877,2.024,3.002 c0.493,1.164,0.743,2.401,0.743,3.676c0,0.575-0.054,1.15-0.157,1.712c-0.018-0.031-0.033-0.064-0.052-0.095l0.034,0.201 c0.007-0.035,0.011-0.071,0.018-0.106C21.754,14.494,22,15.432,22,16.386z M16.817,14.138c0-1.331-0.613-2.743-3.033-3.282 l-2.209-0.49c-0.84-0.192-1.807-0.444-1.807-1.237c0-0.794,0.679-1.348,1.903-1.348c2.468,0,2.243,1.696,3.468,1.696 c0.645,0,1.209-0.379,1.209-1.031c0-1.521-2.435-2.663-4.5-2.663c-2.242,0-4.63,0.952-4.63,3.488c0,1.221,0.436,2.521,2.839,3.123 l2.984,0.745c0.903,0.223,1.129,0.731,1.129,1.189c0,0.762-0.758,1.507-2.129,1.507c-2.679,0-2.307-2.062-3.743-2.062 c-0.645,0-1.113,0.444-1.113,1.078c0,1.236,1.501,2.886,4.856,2.886C15.236,17.737,16.817,16.199,16.817,14.138z"}))}},{name:"snapchat",attributes:{service:"snapchat"},title:"Snapchat",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.065,2a5.526,5.526,0,0,1,3.132.892A5.854,5.854,0,0,1,17.326,5.4a5.821,5.821,0,0,1,.351,2.33q0,.612-.117,2.487a.809.809,0,0,0,.365.091,1.93,1.93,0,0,0,.664-.176,1.93,1.93,0,0,1,.664-.176,1.3,1.3,0,0,1,.729.234.7.7,0,0,1,.351.6.839.839,0,0,1-.41.7,2.732,2.732,0,0,1-.9.41,3.192,3.192,0,0,0-.9.378.728.728,0,0,0-.41.618,1.575,1.575,0,0,0,.156.56,6.9,6.9,0,0,0,1.334,1.953,5.6,5.6,0,0,0,1.881,1.315,5.875,5.875,0,0,0,1.042.3.42.42,0,0,1,.365.456q0,.911-2.852,1.341a1.379,1.379,0,0,0-.143.507,1.8,1.8,0,0,1-.182.605.451.451,0,0,1-.429.241,5.878,5.878,0,0,1-.807-.085,5.917,5.917,0,0,0-.833-.085,4.217,4.217,0,0,0-.807.065,2.42,2.42,0,0,0-.82.293,6.682,6.682,0,0,0-.755.5q-.351.267-.755.527a3.886,3.886,0,0,1-.989.436A4.471,4.471,0,0,1,11.831,22a4.307,4.307,0,0,1-1.256-.176,3.784,3.784,0,0,1-.976-.436q-.4-.26-.749-.527a6.682,6.682,0,0,0-.755-.5,2.422,2.422,0,0,0-.807-.293,4.432,4.432,0,0,0-.82-.065,5.089,5.089,0,0,0-.853.1,5,5,0,0,1-.762.1.474.474,0,0,1-.456-.241,1.819,1.819,0,0,1-.182-.618,1.411,1.411,0,0,0-.143-.521q-2.852-.429-2.852-1.341a.42.42,0,0,1,.365-.456,5.793,5.793,0,0,0,1.042-.3,5.524,5.524,0,0,0,1.881-1.315,6.789,6.789,0,0,0,1.334-1.953A1.575,1.575,0,0,0,6,12.9a.728.728,0,0,0-.41-.618,3.323,3.323,0,0,0-.9-.384,2.912,2.912,0,0,1-.9-.41.814.814,0,0,1-.41-.684.71.71,0,0,1,.338-.593,1.208,1.208,0,0,1,.716-.241,1.976,1.976,0,0,1,.625.169,2.008,2.008,0,0,0,.69.169.919.919,0,0,0,.416-.091q-.117-1.849-.117-2.474A5.861,5.861,0,0,1,6.385,5.4,5.516,5.516,0,0,1,8.625,2.819,7.075,7.075,0,0,1,12.062,2Z"}))}},{name:"soundcloud",attributes:{service:"soundcloud"},title:"SoundCloud",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M8.9,16.1L9,14L8.9,9.5c0-0.1,0-0.1-0.1-0.1c0,0-0.1-0.1-0.1-0.1c-0.1,0-0.1,0-0.1,0.1c0,0-0.1,0.1-0.1,0.1L8.3,14l0.1,2.1 c0,0.1,0,0.1,0.1,0.1c0,0,0.1,0.1,0.1,0.1C8.8,16.3,8.9,16.3,8.9,16.1z M11.4,15.9l0.1-1.8L11.4,9c0-0.1,0-0.2-0.1-0.2 c0,0-0.1,0-0.1,0s-0.1,0-0.1,0c-0.1,0-0.1,0.1-0.1,0.2l0,0.1l-0.1,5c0,0,0,0.7,0.1,2v0c0,0.1,0,0.1,0.1,0.1c0.1,0.1,0.1,0.1,0.2,0.1 c0.1,0,0.1,0,0.2-0.1c0.1,0,0.1-0.1,0.1-0.2L11.4,15.9z M2.4,12.9L2.5,14l-0.2,1.1c0,0.1,0,0.1-0.1,0.1c0,0-0.1,0-0.1-0.1L2.1,14 l0.1-1.1C2.2,12.9,2.3,12.9,2.4,12.9C2.3,12.9,2.4,12.9,2.4,12.9z M3.1,12.2L3.3,14l-0.2,1.8c0,0.1,0,0.1-0.1,0.1 c-0.1,0-0.1,0-0.1-0.1L2.8,14L3,12.2C3,12.2,3,12.2,3.1,12.2C3.1,12.2,3.1,12.2,3.1,12.2z M3.9,11.9L4.1,14l-0.2,2.1 c0,0.1,0,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L3.5,14l0.2-2.1c0-0.1,0-0.1,0.1-0.1C3.9,11.8,3.9,11.8,3.9,11.9z M4.7,11.9L4.9,14 l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c-0.1,0-0.1,0-0.1-0.1L4.3,14l0.2-2.2c0-0.1,0-0.1,0.1-0.1C4.7,11.7,4.7,11.8,4.7,11.9z M5.6,12 l0.2,2l-0.2,2.1c0,0.1-0.1,0.1-0.1,0.1c0,0-0.1,0-0.1,0c0,0,0-0.1,0-0.1L5.1,14l0.2-2c0,0,0-0.1,0-0.1s0.1,0,0.1,0 C5.5,11.9,5.5,11.9,5.6,12L5.6,12z M6.4,10.7L6.6,14l-0.2,2.1c0,0,0,0.1,0,0.1c0,0-0.1,0-0.1,0c-0.1,0-0.1-0.1-0.2-0.2L5.9,14 l0.2-3.3c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0C6.4,10.7,6.4,10.7,6.4,10.7z M7.2,10l0.2,4.1l-0.2,2.1c0,0,0,0.1,0,0.1 c0,0-0.1,0-0.1,0c-0.1,0-0.2-0.1-0.2-0.2l-0.1-2.1L6.8,10c0-0.1,0.1-0.2,0.2-0.2c0,0,0.1,0,0.1,0S7.2,9.9,7.2,10z M8,9.6L8.2,14 L8,16.1c0,0.1-0.1,0.2-0.2,0.2c-0.1,0-0.2-0.1-0.2-0.2L7.5,14l0.1-4.4c0-0.1,0-0.1,0.1-0.1c0,0,0.1-0.1,0.1-0.1c0.1,0,0.1,0,0.1,0.1 C8,9.6,8,9.6,8,9.6z M11.4,16.1L11.4,16.1L11.4,16.1z M9.7,9.6L9.8,14l-0.1,2.1c0,0.1,0,0.1-0.1,0.2s-0.1,0.1-0.2,0.1 c-0.1,0-0.1,0-0.1-0.1s-0.1-0.1-0.1-0.2L9.2,14l0.1-4.4c0-0.1,0-0.1,0.1-0.2s0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S9.7,9.5,9.7,9.6 L9.7,9.6z M10.6,9.8l0.1,4.3l-0.1,2c0,0.1,0,0.1-0.1,0.2c0,0-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c0,0-0.1-0.1-0.1-0.2L10,14 l0.1-4.3c0-0.1,0-0.1,0.1-0.2c0,0,0.1-0.1,0.2-0.1c0.1,0,0.1,0,0.2,0.1S10.6,9.7,10.6,9.8z M12.4,14l-0.1,2c0,0.1,0,0.1-0.1,0.2 c-0.1,0.1-0.1,0.1-0.2,0.1c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2l-0.1-1l-0.1-1l0.1-5.5v0c0-0.1,0-0.2,0.1-0.2 c0.1,0,0.1-0.1,0.2-0.1c0,0,0.1,0,0.1,0c0.1,0,0.1,0.1,0.1,0.2L12.4,14z M22.1,13.9c0,0.7-0.2,1.3-0.7,1.7c-0.5,0.5-1.1,0.7-1.7,0.7 h-6.8c-0.1,0-0.1,0-0.2-0.1c-0.1-0.1-0.1-0.1-0.1-0.2V8.2c0-0.1,0.1-0.2,0.2-0.3c0.5-0.2,1-0.3,1.6-0.3c1.1,0,2.1,0.4,2.9,1.1 c0.8,0.8,1.3,1.7,1.4,2.8c0.3-0.1,0.6-0.2,1-0.2c0.7,0,1.3,0.2,1.7,0.7C21.8,12.6,22.1,13.2,22.1,13.9L22.1,13.9z"}))}},{name:"spotify",attributes:{service:"spotify"},title:"Spotify",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,5.523,4.477,10,10,10c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2 M16.586,16.424 c-0.18,0.295-0.563,0.387-0.857,0.207c-2.348-1.435-5.304-1.76-8.785-0.964c-0.335,0.077-0.67-0.133-0.746-0.469 c-0.077-0.335,0.132-0.67,0.469-0.746c3.809-0.871,7.077-0.496,9.713,1.115C16.673,15.746,16.766,16.13,16.586,16.424 M17.81,13.7 c-0.226,0.367-0.706,0.482-1.072,0.257c-2.687-1.652-6.785-2.131-9.965-1.166C6.36,12.917,5.925,12.684,5.8,12.273 C5.675,11.86,5.908,11.425,6.32,11.3c3.632-1.102,8.147-0.568,11.234,1.328C17.92,12.854,18.035,13.335,17.81,13.7 M17.915,10.865 c-3.223-1.914-8.54-2.09-11.618-1.156C5.804,9.859,5.281,9.58,5.131,9.086C4.982,8.591,5.26,8.069,5.755,7.919 c3.532-1.072,9.404-0.865,13.115,1.338c0.445,0.264,0.59,0.838,0.327,1.282C18.933,10.983,18.359,11.129,17.915,10.865"}))}},{name:"telegram",attributes:{service:"telegram"},title:"Telegram",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 128 128",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z"}))}},{name:"tiktok",attributes:{service:"tiktok"},title:"TikTok",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 32 32",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"}))}},{name:"tumblr",attributes:{service:"tumblr"},title:"Tumblr",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M17.04 21.28h-3.28c-2.84 0-4.94-1.37-4.94-5.02v-5.67H6.08V7.5c2.93-.73 4.11-3.3 4.3-5.48h3.01v4.93h3.47v3.65H13.4v4.93c0 1.47.73 2.01 1.92 2.01h1.73v3.75z"}))}},{name:"twitch",attributes:{service:"twitch"},title:"Twitch",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M16.499,8.089h-1.636v4.91h1.636V8.089z M12,8.089h-1.637v4.91H12V8.089z M4.228,3.178L3,6.451v13.092h4.499V22h2.456 l2.454-2.456h3.681L21,14.636V3.178H4.228z M19.364,13.816l-2.864,2.865H12l-2.453,2.453V16.68H5.863V4.814h13.501V13.816z"}))}},{name:"twitter",attributes:{service:"twitter"},title:"Twitter",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z"}))}},{name:"vimeo",attributes:{service:"vimeo"},title:"Vimeo",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22.396,7.164c-0.093,2.026-1.507,4.799-4.245,8.32C15.322,19.161,12.928,21,10.97,21c-1.214,0-2.24-1.119-3.079-3.359 c-0.56-2.053-1.119-4.106-1.68-6.159C5.588,9.243,4.921,8.122,4.206,8.122c-0.156,0-0.701,0.328-1.634,0.98L1.594,7.841 c1.027-0.902,2.04-1.805,3.037-2.708C6.001,3.95,7.03,3.327,7.715,3.264c1.619-0.156,2.616,0.951,2.99,3.321 c0.404,2.557,0.685,4.147,0.841,4.769c0.467,2.121,0.981,3.181,1.542,3.181c0.435,0,1.09-0.688,1.963-2.065 c0.871-1.376,1.338-2.422,1.401-3.142c0.125-1.187-0.343-1.782-1.401-1.782c-0.498,0-1.012,0.115-1.541,0.341 c1.023-3.35,2.977-4.977,5.862-4.884C21.511,3.066,22.52,4.453,22.396,7.164z"}))}},{name:"vk",attributes:{service:"vk"},title:"VK",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M22,7.1c0.2,0.4-0.4,1.5-1.6,3.1c-0.2,0.2-0.4,0.5-0.7,0.9c-0.5,0.7-0.9,1.1-0.9,1.4c-0.1,0.3-0.1,0.6,0.1,0.8 c0.1,0.1,0.4,0.4,0.8,0.9h0l0,0c1,0.9,1.6,1.7,2,2.3c0,0,0,0.1,0.1,0.1c0,0.1,0,0.1,0.1,0.3c0,0.1,0,0.2,0,0.4 c0,0.1-0.1,0.2-0.3,0.3c-0.1,0.1-0.4,0.1-0.6,0.1l-2.7,0c-0.2,0-0.4,0-0.6-0.1c-0.2-0.1-0.4-0.1-0.5-0.2l-0.2-0.1 c-0.2-0.1-0.5-0.4-0.7-0.7s-0.5-0.6-0.7-0.8c-0.2-0.2-0.4-0.4-0.6-0.6C14.8,15,14.6,15,14.4,15c0,0,0,0-0.1,0c0,0-0.1,0.1-0.2,0.2 c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.1-0.1,0.3-0.2,0.5c-0.1,0.2-0.1,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.1-0.1,0.2-0.1,0.2l0,0.1 c-0.1,0.1-0.3,0.2-0.6,0.2h-1.2c-0.5,0-1,0-1.5-0.2c-0.5-0.1-1-0.3-1.4-0.6s-0.7-0.5-1.1-0.7s-0.6-0.4-0.7-0.6l-0.3-0.3 c-0.1-0.1-0.2-0.2-0.3-0.3s-0.4-0.5-0.7-0.9s-0.7-1-1.1-1.6c-0.4-0.6-0.8-1.3-1.3-2.2C2.9,9.4,2.5,8.5,2.1,7.5C2,7.4,2,7.3,2,7.2 c0-0.1,0-0.1,0-0.2l0-0.1c0.1-0.1,0.3-0.2,0.6-0.2l2.9,0c0.1,0,0.2,0,0.2,0.1S5.9,6.9,5.9,7L6,7c0.1,0.1,0.2,0.2,0.3,0.3 C6.4,7.7,6.5,8,6.7,8.4C6.9,8.8,7,9,7.1,9.2l0.2,0.3c0.2,0.4,0.4,0.8,0.6,1.1c0.2,0.3,0.4,0.5,0.5,0.7s0.3,0.3,0.4,0.4 c0.1,0.1,0.3,0.1,0.4,0.1c0.1,0,0.2,0,0.3-0.1c0,0,0,0,0.1-0.1c0,0,0.1-0.1,0.1-0.2c0.1-0.1,0.1-0.3,0.1-0.5c0-0.2,0.1-0.5,0.1-0.8 c0-0.4,0-0.8,0-1.3c0-0.3,0-0.5-0.1-0.8c0-0.2-0.1-0.4-0.1-0.5L9.6,7.6C9.4,7.3,9.1,7.2,8.7,7.1C8.6,7.1,8.6,7,8.7,6.9 C8.9,6.7,9,6.6,9.1,6.5c0.4-0.2,1.2-0.3,2.5-0.3c0.6,0,1,0.1,1.4,0.1c0.1,0,0.3,0.1,0.3,0.1c0.1,0.1,0.2,0.1,0.2,0.3 c0,0.1,0.1,0.2,0.1,0.3s0,0.3,0,0.5c0,0.2,0,0.4,0,0.6c0,0.2,0,0.4,0,0.7c0,0.3,0,0.6,0,0.9c0,0.1,0,0.2,0,0.4c0,0.2,0,0.4,0,0.5 c0,0.1,0,0.3,0,0.4s0.1,0.3,0.1,0.4c0.1,0.1,0.1,0.2,0.2,0.3c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.3-0.1c0.1-0.1,0.2-0.2,0.4-0.4 s0.3-0.4,0.5-0.7c0.2-0.3,0.5-0.7,0.7-1.1c0.4-0.7,0.8-1.5,1.1-2.3c0-0.1,0.1-0.1,0.1-0.2c0-0.1,0.1-0.1,0.1-0.1l0,0l0.1,0 c0,0,0,0,0.1,0s0.2,0,0.2,0l3,0c0.3,0,0.5,0,0.7,0S21.9,7,21.9,7L22,7.1z"}))}},{name:"yelp",attributes:{service:"yelp"},title:"Yelp",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M12.271,16.718v1.417q-.011,3.257-.067,3.4a.707.707,0,0,1-.569.446,4.637,4.637,0,0,1-2.024-.424A4.609,4.609,0,0,1,7.8,20.565a.844.844,0,0,1-.19-.4.692.692,0,0,1,.044-.29,3.181,3.181,0,0,1,.379-.524q.335-.412,2.019-2.409.011,0,.669-.781a.757.757,0,0,1,.44-.274.965.965,0,0,1,.552.039.945.945,0,0,1,.418.324.732.732,0,0,1,.139.468Zm-1.662-2.8a.783.783,0,0,1-.58.781l-1.339.435q-3.067.981-3.257.981a.711.711,0,0,1-.6-.4,2.636,2.636,0,0,1-.19-.836,9.134,9.134,0,0,1,.011-1.857,3.559,3.559,0,0,1,.335-1.389.659.659,0,0,1,.625-.357,22.629,22.629,0,0,1,2.253.859q.781.324,1.283.524l.937.379a.771.771,0,0,1,.4.34A.982.982,0,0,1,10.609,13.917Zm9.213,3.313a4.467,4.467,0,0,1-1.021,1.8,4.559,4.559,0,0,1-1.512,1.417.671.671,0,0,1-.7-.078q-.156-.112-2.052-3.2l-.524-.859a.761.761,0,0,1-.128-.513.957.957,0,0,1,.217-.513.774.774,0,0,1,.926-.29q.011.011,1.327.446,2.264.736,2.7.887a2.082,2.082,0,0,1,.524.229.673.673,0,0,1,.245.68Zm-7.5-7.049q.056,1.137-.6,1.361-.647.19-1.272-.792L6.237,4.08a.7.7,0,0,1,.212-.691,5.788,5.788,0,0,1,2.314-1,5.928,5.928,0,0,1,2.5-.352.681.681,0,0,1,.547.5q.034.2.245,3.407T12.327,10.181Zm7.384,1.2a.679.679,0,0,1-.29.658q-.167.112-3.67.959-.747.167-1.015.257l.011-.022a.769.769,0,0,1-.513-.044.914.914,0,0,1-.413-.357.786.786,0,0,1,0-.971q.011-.011.836-1.137,1.394-1.908,1.673-2.275a2.423,2.423,0,0,1,.379-.435A.7.7,0,0,1,17.435,8a4.482,4.482,0,0,1,1.372,1.489,4.81,4.81,0,0,1,.9,1.868v.034Z"}))}},{name:"youtube",attributes:{service:"youtube"},title:"YouTube",icon:function(){return Object(Q.createElement)(ee.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(Q.createElement)(ee.Path,{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"}))}}];_b.forEach((function(e){e.isActive||(e.isActive=function(e,t){return e.service===t.service})}));var kb=_b,Eb=function(e){var t,r,n=e.attributes,c=e.setAttributes,o=e.isSelected,a=n.url,i=n.service,l=n.label,s=Object(Q.useState)(!1),u=Object(be.a)(s,2),b=u[0],m=u[1],d=ne()("wp-social-link","wp-social-link-"+i,{"wp-social-link__is-incomplete":!a}),p=(t=i,(r=Object(J.find)(kb,{name:t}))?r.icon:wb),g=function(e){var t=Object(J.find)(kb,{name:e});return t?t.title:Object(X.__)("Social Icon")}(i),h=Object(Y.useBlockProps)({className:d});return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)(Y.InspectorControls,null,Object(Q.createElement)(me.PanelBody,{title:Object(X.sprintf)(Object(X.__)("%s label"),g),initialOpen:!1},Object(Q.createElement)(me.PanelRow,null,Object(Q.createElement)(me.TextControl,{label:Object(X.__)("Link label"),help:Object(X.__)("Briefly describe the link to help screen reader users."),value:l,onChange:function(e){return c({label:e})}})))),Object(Q.createElement)("li",h,Object(Q.createElement)(me.Button,{onClick:function(){return m(!0)}},Object(Q.createElement)(p,null),o&&b&&Object(Q.createElement)(Y.URLPopover,{onClose:function(){return m(!1)}},Object(Q.createElement)("form",{className:"block-editor-url-popover__link-editor",onSubmit:function(e){e.preventDefault(),m(!1)}},Object(Q.createElement)("div",{className:"block-editor-url-input"},Object(Q.createElement)(Y.URLInput,{value:a,onChange:function(e){return c({url:e})},placeholder:Object(X.__)("Enter address"),disableSuggestions:!0})),Object(Q.createElement)(me.Button,{icon:yb.a,label:Object(X.__)("Apply"),type:"submit"}))))))},Cb={apiVersion:2,name:"core/social-link",category:"widgets",parent:["core/social-links"],attributes:{url:{type:"string"},service:{type:"string"},label:{type:"string"}},usesContext:["openInNewTab"],supports:{reusable:!1,html:!1},editorStyle:"wp-block-social-link-editor"},xb=Cb.name,Sb={title:Object(X._x)("Social Icon","block title"),icon:pb,edit:Eb,description:Object(X.__)("Display an icon linking to a social media profile or website."),variations:kb},Pb=function(e){if(e){var t=e.metadata,r=e.settings,n=e.name;t&&Object(K.unstable__bootstrapServerSideBlockDefinitions)(Object(Z.a)({},n,t)),Object(K.registerBlockType)(n,r)}},Bb=function(){return[n,c,o,i,k,a,R,l,s,u,b,m,d,p,g,h,f,O,v,N,window.wp&&window.wp.oldEditor?F:null,j,y,w,_,E,C,x,S,P,T,z,M,B,U,W,V,A,H,G,L,I,D]},Tb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bb();e.forEach(Pb),Object(K.setDefaultBlockName)(ye),window.wp&&window.wp.oldEditor&&Object(K.setFreeformContentHandlerName)(mb),Object(K.setUnregisteredTypeHandlerName)(sl),Object(K.setGroupingBlockName)(fs)},zb=void 0},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},50:function(e,t){e.exports=window.wp.apiFetch},51:function(e,t){e.exports=window.wp.notices},52:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,"a",(function(){return n}))},57:function(e,t){e.exports=window.wp.coreData},6:function(e,t){e.exports=window.wp.blockEditor},60:function(e,t,r){var n;!function(c){var o=/^\s+/,a=/\s+$/,i=0,l=c.round,s=c.min,u=c.max,b=c.random;function m(e,t){if(t=t||{},(e=e||"")instanceof m)return e;if(!(this instanceof m))return new m(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,l=null,b=!1,m=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,r=!1;if(B[e])e=B[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=F.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=F.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=F.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=F.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=F.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=F.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=F.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:L(t[4]),format:r?"name":"hex8"};if(t=F.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:r?"name":"hex"};if(t=F.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=F.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(d=e.r,p=e.g,g=e.b,t={r:255*N(d,255),g:255*N(p,255),b:255*N(g,255)},b=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(n=A(e.s),i=A(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=c.floor(e),o=e-n,a=r*(1-t),i=r*(1-o*t),l=r*(1-(1-o)*t),s=n%6;return{r:255*[r,i,a,a,l,r][s],g:255*[l,r,r,i,a,a][s],b:255*[a,a,l,r,r,i][s]}}(e.h,n,i),b=!0,m="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(n=A(e.s),l=A(e.l),t=function(e,t,r){var n,c,o;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=c=o=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=a(l,i,e+1/3),c=a(l,i,e),o=a(l,i,e-1/3)}return{r:255*n,g:255*c,b:255*o}}(e.h,n,l),b=!0,m="hsl"),e.hasOwnProperty("a")&&(r=e.a));var d,p,g;return r=z(r),{ok:b,format:e.format||m,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=i++}function d(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,c,o=u(e,t,r),a=s(e,t,r),i=(o+a)/2;if(o==a)n=c=0;else{var l=o-a;switch(c=i>.5?l/(2-o-a):l/(o+a),o){case e:n=(t-r)/l+(t>1)+720)%360;--t;)n.h=(n.h+c)%360,o.push(m(n));return o}function P(e,t){t=t||6;for(var r=m(e).toHsv(),n=r.h,c=r.s,o=r.v,a=[],i=1/t;t--;)a.push(m({h:n,s:c,v:o})),o=(o+i)%1;return a}m.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:c.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:c.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:c.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,c){var o=[V(l(e).toString(16)),V(l(t).toString(16)),V(l(r).toString(16)),V(H(n))];if(c&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*N(this._r,255))+"%",g:l(100*N(this._g,255))+"%",b:l(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%)":"rgba("+l(100*N(this._r,255))+"%, "+l(100*N(this._g,255))+"%, "+l(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var c=m(e);r="#"+h(c._r,c._g,c._b,c._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return m(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(O,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},m.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:A(e[n]));e=r}return m(e,t)},m.equals=function(e,t){return!(!e||!t)&&m(e).toRgbString()==m(t).toRgbString()},m.random=function(){return m.fromRatio({r:b(),g:b(),b:b()})},m.mix=function(e,t,r){r=0===r?0:r||50;var n=m(e).toRgb(),c=m(t).toRgb(),o=r/100;return m({r:(c.r-n.r)*o+n.r,g:(c.g-n.g)*o+n.g,b:(c.b-n.b)*o+n.b,a:(c.a-n.a)*o+n.a})},m.readability=function(e,t){var r=m(e),n=m(t);return(c.max(r.getLuminance(),n.getLuminance())+.05)/(c.min(r.getLuminance(),n.getLuminance())+.05)},m.isReadable=function(e,t,r){var n,c,o=m.readability(e,t);switch(c=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":c=o>=4.5;break;case"AAlarge":c=o>=3;break;case"AAAsmall":c=o>=7}return c},m.mostReadable=function(e,t,r){var n,c,o,a,i=null,l=0;c=(r=r||{}).includeFallbackColors,o=r.level,a=r.size;for(var s=0;sl&&(l=n,i=m(t[s]));return m.isReadable(e,i,{level:o,size:a})||!c?i:(r.includeFallbackColors=!1,m.mostReadable(e,["#fff","#000"],r))};var B=m.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=m.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(B);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),c.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function V(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function H(e){return c.round(255*parseFloat(e)).toString(16)}function L(e){return R(e)/255}var I,D,G,F=(D="[\\s|\\(]+("+(I="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",G="[\\s|\\(]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")[,|\\s]+("+I+")\\s*\\)?",{CSS_UNIT:new RegExp(I),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+G),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+G),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+G),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(e){return!!F.CSS_UNIT.exec(e)}e.exports?e.exports=m:void 0===(n=function(){return m}.call(t,r,t,e))||(e.exports=n)}(Math)},69:function(e,t){e.exports=window.wp.date},7:function(e,t){e.exports=window.wp.primitives},71:function(e,t,r){e.exports=function(e,t){var r,n,c=0;function o(){var o,a,i=r,l=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(a=0;a') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else { + if (this.delegate.appendToDoctypeName) + this.delegate.appendToDoctypeName(char.toLowerCase()); + } + }, + afterDoctypeName: function () { + var char = this.consume(); + if (isSpace(char)) { + return; + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else { + var nextSixChars = char.toUpperCase() + this.input.substring(this.index, this.index + 5).toUpperCase(); + var isPublic = nextSixChars.toUpperCase() === 'PUBLIC'; + var isSystem = nextSixChars.toUpperCase() === 'SYSTEM'; + if (isPublic || isSystem) { + this.consume(); + this.consume(); + this.consume(); + this.consume(); + this.consume(); + this.consume(); + } + if (isPublic) { + this.transitionTo("afterDoctypePublicKeyword" /* afterDoctypePublicKeyword */); + } + else if (isSystem) { + this.transitionTo("afterDoctypeSystemKeyword" /* afterDoctypeSystemKeyword */); + } + } + }, + afterDoctypePublicKeyword: function () { + var char = this.peek(); + if (isSpace(char)) { + this.transitionTo("beforeDoctypePublicIdentifier" /* beforeDoctypePublicIdentifier */); + this.consume(); + } + else if (char === '"') { + this.transitionTo("doctypePublicIdentifierDoubleQuoted" /* doctypePublicIdentifierDoubleQuoted */); + this.consume(); + } + else if (char === "'") { + this.transitionTo("doctypePublicIdentifierSingleQuoted" /* doctypePublicIdentifierSingleQuoted */); + this.consume(); + } + else if (char === '>') { + this.consume(); + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + }, + doctypePublicIdentifierDoubleQuoted: function () { + var char = this.consume(); + if (char === '"') { + this.transitionTo("afterDoctypePublicIdentifier" /* afterDoctypePublicIdentifier */); + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else { + if (this.delegate.appendToDoctypePublicIdentifier) + this.delegate.appendToDoctypePublicIdentifier(char); + } + }, + doctypePublicIdentifierSingleQuoted: function () { + var char = this.consume(); + if (char === "'") { + this.transitionTo("afterDoctypePublicIdentifier" /* afterDoctypePublicIdentifier */); + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else { + if (this.delegate.appendToDoctypePublicIdentifier) + this.delegate.appendToDoctypePublicIdentifier(char); + } + }, + afterDoctypePublicIdentifier: function () { + var char = this.consume(); + if (isSpace(char)) { + this.transitionTo("betweenDoctypePublicAndSystemIdentifiers" /* betweenDoctypePublicAndSystemIdentifiers */); + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else if (char === '"') { + this.transitionTo("doctypeSystemIdentifierDoubleQuoted" /* doctypeSystemIdentifierDoubleQuoted */); + } + else if (char === "'") { + this.transitionTo("doctypeSystemIdentifierSingleQuoted" /* doctypeSystemIdentifierSingleQuoted */); + } + }, + betweenDoctypePublicAndSystemIdentifiers: function () { + var char = this.consume(); + if (isSpace(char)) { + return; + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else if (char === '"') { + this.transitionTo("doctypeSystemIdentifierDoubleQuoted" /* doctypeSystemIdentifierDoubleQuoted */); + } + else if (char === "'") { + this.transitionTo("doctypeSystemIdentifierSingleQuoted" /* doctypeSystemIdentifierSingleQuoted */); + } + }, + doctypeSystemIdentifierDoubleQuoted: function () { + var char = this.consume(); + if (char === '"') { + this.transitionTo("afterDoctypeSystemIdentifier" /* afterDoctypeSystemIdentifier */); + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else { + if (this.delegate.appendToDoctypeSystemIdentifier) + this.delegate.appendToDoctypeSystemIdentifier(char); + } + }, + doctypeSystemIdentifierSingleQuoted: function () { + var char = this.consume(); + if (char === "'") { + this.transitionTo("afterDoctypeSystemIdentifier" /* afterDoctypeSystemIdentifier */); + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } + else { + if (this.delegate.appendToDoctypeSystemIdentifier) + this.delegate.appendToDoctypeSystemIdentifier(char); + } + }, + afterDoctypeSystemIdentifier: function () { + var char = this.consume(); + if (isSpace(char)) { + return; + } + else if (char === '>') { + if (this.delegate.endDoctype) + this.delegate.endDoctype(); + this.transitionTo("beforeData" /* beforeData */); + } }, commentStart: function () { var char = this.consume(); @@ -8951,6 +9153,36 @@ var Tokenizer = /** @class */ (function () { this.startColumn = this.tokenizer.column; }; // Data + Tokenizer.prototype.beginDoctype = function () { + this.push({ + type: "Doctype" /* Doctype */, + name: '', + }); + }; + Tokenizer.prototype.appendToDoctypeName = function (char) { + this.current("Doctype" /* Doctype */).name += char; + }; + Tokenizer.prototype.appendToDoctypePublicIdentifier = function (char) { + var doctype = this.current("Doctype" /* Doctype */); + if (doctype.publicIdentifier === undefined) { + doctype.publicIdentifier = char; + } + else { + doctype.publicIdentifier += char; + } + }; + Tokenizer.prototype.appendToDoctypeSystemIdentifier = function (char) { + var doctype = this.current("Doctype" /* Doctype */); + if (doctype.systemIdentifier === undefined) { + doctype.systemIdentifier = char; + } + else { + doctype.systemIdentifier += char; + } + }; + Tokenizer.prototype.endDoctype = function () { + this.addLocInfo(); + }; Tokenizer.prototype.beginData = function () { this.push({ type: "Chars" /* Chars */, diff --git a/wp-includes/js/dist/blocks.min.js b/wp-includes/js/dist/blocks.min.js index 9ac3cd1bf9..3096fa1912 100644 --- a/wp-includes/js/dist/blocks.min.js +++ b/wp-includes/js/dist/blocks.min.js @@ -1,3 +1,3 @@ /*! This file is auto-generated */ -this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=460)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(38);var a=r(31),o=r(39);function i(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},115:function(e,t){e.exports=window.wp.autop},12:function(e,t){e.exports=window.wp.compose},129:function(e,t){e.exports=window.wp.shortcode},147:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(38),a=r(37),o=r(31),i=r(39);function s(e){return Object(n.a)(e)||Object(a.a)(e)||Object(o.a)(e)||Object(i.a)()}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(24);var a=r(37),o=r(31);function i(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2:function(e,t){e.exports=window.lodash},204:function(e,t,r){"use strict";var n,a=new Uint8Array(16);function o(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}var i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"==typeof e&&i.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r};t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return l(n)}},215:function(e,t,r){"use strict";var n=r(0),a=r(7),o=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=o},24:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:
    foo
    ",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var o={},i={},s={},c=a(!0),u="vanilla",l={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};o.helper.isArray(e)||(e=[e]);for(var a=0;a").replace(/&/g,"&")};var p=function(e,t,r,n){"use strict";var a,o,i,s,c,u=n||"",l=u.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),p=[];do{for(a=0;i=d.exec(e);)if(f.test(i[0]))a++||(s=(o=d.lastIndex)-i[0].length);else if(a&&!--a){c=i.index+i[0].length;var h={left:{start:s,end:o},match:{start:o,end:i.index},right:{start:i.index,end:c},wholeMatch:{start:s,end:c}};if(p.push(h),!l)return p}}while(a&&(d.lastIndex=o));return p};o.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=p(e,t,r,n),o=[],i=0;i0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d=0?n+(r||0):n},o.helper.splitAtIndex=function(e,t){"use strict";if(!o.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},o.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},o.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),o.helper.regexes={asteriskDashAndColon:/([*_:~])/g},o.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},o.Converter=function(e){"use strict";var t={},r=[],n=[],a={},i=u,f={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,o.helper.isString(e)){if(t=e=o.helper.stdExtName(e),o.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new o.Converter));o.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var i=0;i[ \t]+¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),i="#"+a,o.helper.isUndefined(r.gUrls[a]))return e;i=r.gUrls[a],o.helper.isUndefined(r.gTitles[a])||(u=r.gTitles[a])}var l='"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,n,a,i){if("\\"===n)return r+a;if(!o.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'"+a+""}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,b=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,v=function(e){"use strict";return function(t,r,n,a,i,s,c){var u=n=n.replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback),l="",d="",f=r||"",p=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'"+u+""+l+p}},w=function(e,t){"use strict";return function(r,n,a){var i="mailto:";return n=n||"",a=o.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(i=o.helper.encodeEmailAddress(i+a),a=o.helper.encodeEmailAddress(a)):i+=a,n+''+a+""}};o.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(b,v(t))).replace(_,w(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)})),o.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,v(t)):e.replace(h,v(t))).replace(m,w(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),o.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=o.subParser("blockQuotes")(e,t,r),e=o.subParser("headers")(e,t,r),e=o.subParser("horizontalRule")(e,t,r),e=o.subParser("lists")(e,t,r),e=o.subParser("codeBlocks")(e,t,r),e=o.subParser("tables")(e,t,r),e=o.subParser("hashHTMLBlocks")(e,t,r),e=o.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),o.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=o.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=o.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
    [^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),o.subParser("hashBlock")("
    \n"+e+"\n
    ",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),o.subParser("codeBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var i=n,s=a,c="\n";return i=o.subParser("outdent")(i,t,r),i=o.subParser("encodeCode")(i,t,r),i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="
    "+i+c+"
    ",o.subParser("hashBlock")(i,t,r)+s}))).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),o.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+""+(s=o.subParser("encodeCode")(s,t,r))+"",s=o.subParser("hashHTMLSpans")(s,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),o.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="\n",o="",i='\n',s="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":o=""+r.metadata.parsed.title+"\n";break;case"charset":i="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[u]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+o+i+c+"\n\n"+e.trim()+"\n\n",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),o.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),o.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,o.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),o.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),o.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)}))).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,o.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),o.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=o.subParser("encodeCode")(i,t,r),i="
    "+(i=(i=(i=o.subParser("detab")(i,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",i=o.subParser("hashBlock")(i,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),o.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)})),o.subParser("hashCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=o.helper.replaceRecursiveRegExp(e,(function(e,n,a,i){var s=a+o.subParser("encodeCode")(n,t,r)+i;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"]*>","","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),o.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),o.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var i=0;i]*>)","im"),u="<"+n[i]+"\\b[^>]*>",l="";-1!==(s=o.helper.regexIndexOf(e,c));){var d=o.helper.splitAtIndex(e,s),f=o.helper.replaceRecursiveRegExp(d[1],a,u,l,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=(e=o.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,o.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),o.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),o.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),o.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,i=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=""+i+"";return o.subParser("hashBlock")(u,t,r)}))).replace(i,(function(e,a){var i=o.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l=""+i+"";return o.subParser("hashBlock")(l,t,r)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return n=e,a=o.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,i){var s=i;t.customizedHeaderId&&(s=i.replace(/\s?\{([^{]+?)}\s*$/,""));var u=o.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(i)+'"',d=n-1+a.length,f=""+u+"";return o.subParser("hashBlock")(f,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),o.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=o.subParser("hashBlock")("
    ",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)})),o.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,i,s,c,u){var l=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),u||(u=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,o.helper.isUndefined(l[n]))return e;a=l[n],o.helper.isUndefined(d[n])||(u=d[n]),o.helper.isUndefined(f[n])||(i=f[n].width,s=f[n].height)}t=t.replace(/"/g,""").replace(o.helper.regexes.asteriskDashAndColon,o.helper.escapeCharactersCallback);var p=''+t+'"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,r,a,o,i,s,c){return n(e,t,r,a=a.replace(/\s/g,""),o,i,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)})),o.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"","")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"","")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"","")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=r.converter._dispatch("italicsAndBold.after",e,t,r)})),o.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,u,l){l=l&&""!==l.trim();var d=o.subParser("outdent")(c,t,r),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-1?(d=o.subParser("githubCodeBlocks")(d,t,r),d=o.subParser("blockGamut")(d,t,r)):(d=(d=o.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=o.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=i?o.subParser("paragraphs")(d,t,r):o.subParser("spanGamut")(d,t,r)),d=""+(d=d.replace("¨A",""))+"\n"}))).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function i(e,r,o){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?i:s,u="";if(-1!==e.search(c))!function t(l){var d=l.search(c),f=a(e,r);-1!==d?(u+="\n\n<"+r+f+">\n"+n(l.slice(0,d),!!o)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?i:s,t(l.slice(d))):u+="\n\n<"+r+f+">\n"+n(l,!!o)+"\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!o)+"\n"}return u}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r){return i(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return i(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),o.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)})),o.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)})),o.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,s=0;s=0?a.push(c):c.search(/\S/)>=0&&(c=(c=o.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(i=a.length,s=0;s]*>\s*]*>/.test(l)&&(d=!0)}a[s]=l}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),o.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),o.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=o.subParser("codeSpans")(e,t,r),e=o.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=o.subParser("encodeBackslashEscapes")(e,t,r),e=o.subParser("images")(e,t,r),e=o.subParser("anchors")(e,t,r),e=o.subParser("autoLinks")(e,t,r),e=o.subParser("simplifiedAutoLinks")(e,t,r),e=o.subParser("emoji")(e,t,r),e=o.subParser("underline")(e,t,r),e=o.subParser("italicsAndBold")(e,t,r),e=o.subParser("strikethrough")(e,t,r),e=o.subParser("ellipsis")(e,t,r),e=o.subParser("hashHTMLSpans")(e,t,r),e=o.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),o.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=o.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),o.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,i,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=o.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,""")),t.parseImgDimensions&&i&&s&&(r.gDimensions[n]={width:i,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),o.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+o.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,i=e.split("\n");for(a=0;a"+(c=o.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var o=0;o\n"}return r+="\n\n"}(h,b)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,o.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),o.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/(_)/g,o.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),o.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),o.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i ")})),o.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),o.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),o.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),o.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),o.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""})),o.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;itr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rh&&(h=g)}for(r=0;r/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(n=function(){"use strict";return o}.call(t,r,t,e))||(e.exports=n)}).call(this)},31:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(24);function a(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},33:function(e,t){e.exports=window.wp.hooks},35:function(e,t){e.exports=window.wp.deprecated},37:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},4:function(e,t){e.exports=window.wp.data},41:function(e,t,r){"use strict";var n,a;function o(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=p("SET_DEFAULT_BLOCK_NAME"),g=p("SET_FREEFORM_FALLBACK_BLOCK_NAME"),b=p("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=p("SET_GROUPING_BLOCK_NAME");var _=Object(o.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.keyBy)(Object(c.map)(t.blockTypes,(function(e){return Object(c.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(c.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["styles"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(t,["variations"],[])),Object(i.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(i.a)(Object(c.get)(e,[t.blockName],[])),Object(i.a)(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:g,unregisteredFallbackBlockName:b,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(c.isEmpty)(t.category))return e;var r=Object(c.find)(e,["slug",t.slug]);if(r)return Object(c.map)(e,(function(e){return e.slug===t.slug?d(d({},e),t.category):e}))}return e},collections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return d(d({},e),{},Object(s.a)({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(c.omit)(e,t.namespace)}return e}}),v=r(41);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t0},H=function(e,t){return Object(c.some)(L(e,t),(function(t){return z(e,t,"inserter",!0)}))};function V(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(c.castArray)(e)}}function R(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(c.castArray)(e)}}function F(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(c.castArray)(t),blockName:e}}function $(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(c.castArray)(t),blockName:e}}function q(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(c.castArray)(t),blockName:e}}function U(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(c.castArray)(t),blockName:e}}function G(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function K(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function W(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Y(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Z(e){return{type:"SET_CATEGORIES",categories:e}}function Q(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function X(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function J(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}var ee=Object(o.createReduxStore)("core/blocks",{reducer:_,selectors:n,actions:a});Object(o.register)(ee);var te=r(11),re=r(204),ne=r(33),ae=r(215),oe=r(60),ie=r.n(oe),se=r(0),ce=r(27);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function le(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"visual";if("core/template-part"===e.name&&t.slug){var n,a=Object(o.select)("core").getEntityRecord("postType","wp_template_part",t.theme+"//"+t.slug);if(a)return Object(c.startCase)((null===(n=a.title)||void 0===n?void 0:n.rendered)||a.slug)}var i=e.__experimentalLabel,s=e.title,u=i&&i(t,{context:r});return u?Object(ce.__unstableStripHTML)(u):s}function me(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",a=e.title,o=be(e,t,"accessibility"),i=void 0!==r,s=o&&o!==a;return i&&"vertical"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d. %3$s"),a,r,o):Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d"),a,r):i&&"horizontal"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d. %3$s"),a,r,o):Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d"),a,r):s?Object(u.sprintf)(Object(u.__)("%1$s Block. %2$s"),a,o):Object(u.sprintf)(Object(u.__)("%s Block"),a)}function _e(e,t){var r=De(e);if(void 0===r)throw new Error("Block type '".concat(e,"' is not registered."));return Object(c.reduce)(r.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{})}var ve=["attributes","supports","save","migrate","isEligible","apiVersion"],we={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},color:{value:["color","text"],support:["color"]},fontFamily:{value:["typography","fontFamily"],support:["__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["lineHeight"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["__experimentalTextTransform"]}};function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=_e(e,t),a=Object(re.a)();return{clientId:a,name:e,isValid:!0,attributes:n,innerBlocks:r}}function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){var t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],r=Object(te.a)(t,3),n=r[0],a=r[1],o=r[2];return Xe(n,a,Je(void 0===o?[]:o))}))}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Object(re.a)(),a=_e(e.name,Qe(Qe({},e.attributes),t));return Qe(Qe({},e),{},{clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map((function(e){return et(e)}))})}var tt=function(e,t,r){if(Object(c.isEmpty)(r))return!1;var n=r.length>1,a=Object(c.first)(r).name;if(!(rt(e)||!n||e.isMultiBlock))return!1;if(!rt(e)&&!Object(c.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var o=Object(c.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(o.name)||rt(e)))return!1;if(!n&&nt(o.name)&&nt(e.blockName))return!1;if(Object(c.isFunction)(e.isMatch)){var i=e.isMultiBlock?r.map((function(e){return e.attributes})):o.attributes;if(!e.isMatch(i))return!1}return!0},rt=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},nt=function(e){return e===Ee()};function at(e){if(Object(c.isEmpty)(e))return[];var t=function(e){if(Object(c.isEmpty)(e))return[];var t=Ie();return Object(c.filter)(t,(function(t){return!!ot(it("from",t.name),(function(t){return tt(t,"from",e)}))}))}(e),r=function(e){if(Object(c.isEmpty)(e))return[];var t=it("to",De(Object(c.first)(e).name).name),r=Object(c.filter)(t,(function(t){return t&&tt(t,"to",e)}));return Object(c.flatMap)(r,(function(e){return e.blocks})).map((function(e){return De(e)}))}(e);return Object(c.uniq)([].concat(Object(i.a)(t),Object(i.a)(r)))}function ot(e,t){for(var r=Object(ne.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a1,o=n[0],i=o.name,s=it("from",t),u=ot(it("to",i),(function(e){return"block"===e.type&&(rt(e)||-1!==e.blocks.indexOf(t))&&(!a||e.isMultiBlock)}))||ot(s,(function(e){return"block"===e.type&&(rt(e)||-1!==e.blocks.indexOf(i))&&(!a||e.isMultiBlock)}));if(!u)return null;if(r=u.isMultiBlock?Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(n):u.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(o):u.transform(o.attributes,o.innerBlocks),!Object(c.isObjectLike)(r))return null;if((r=Object(c.castArray)(r)).some((function(e){return!De(e.name)})))return null;var l=Object(c.findIndex)(r,(function(e){return e.name===t}));return l<0?null:r.map((function(t,r){var n=Qe(Qe({},t),{},{clientId:r===l?o.clientId:t.clientId});return Object(ne.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var ct=function e(t,r){return Xe(t,r.attributes,Object(c.map)(r.innerBlocks,(function(t){return e(t.name,t)})))};function ut(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var lt,dt=function(){return lt||(lt=document.implementation.createHTMLDocument("")),lt};function ft(e,t){if(t){if("string"==typeof e){var r=dt();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=ft(e,t[n]),r}),{})}}function pt(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return ut(n,t)}}var ht=r(115),gt=r(284),bt=r(147),mt=r(25),_t=r(26),vt=/^#[xX]([A-Fa-f0-9]+)$/,wt=/^#([0-9]+)$/,yt=/^([A-Za-z0-9]+)$/,kt=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(vt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(wt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(yt))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Ot=/[A-Za-z]/,jt=/\r\n?/g;function Ct(e){return kt.test(e)}function xt(e){return Ot.test(e)}var Tt=function(){function e(e,t,r){void 0===r&&(r="precompile"),this.delegate=e,this.entityParser=t,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||xt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();Ct(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();Ct(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();Ct(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();Ct(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();Ct(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();Ct(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();Ct(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();Ct(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||xt(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(jt,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),Pt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Tt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t1?r-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{},t=Ut.blockType,r=Ut.attributes;return Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ft({},e),t,r)}function Kt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ge(e),a=n.save;if(a.prototype instanceof se.Component){var o=new a({attributes:t});a=o.render.bind(o)}Ut.blockType=n,Ut.attributes=t;var i=a({attributes:t,innerBlocks:r}),s=n.apiVersion>1||Ve(n,"lightBlockWrapper",!1);if(Object(c.isObject)(i)&&Object(ne.hasFilter)("blocks.getSaveContent.extraProps")&&!s){var u=Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ft({},i.props),n,t);Nt()(u,i.props)||(i=Object(se.cloneElement)(i,u))}return i=Object(ne.applyFilters)("blocks.getSaveElement",i,n,t),Object(se.createElement)(Vt,{innerBlocks:r},i)}function Wt(e,t,r){var n=ge(e);return Object(se.renderToString)(Kt(n,t,r))}function Yt(e,t){return Object(c.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e}),{})}function Zt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=Wt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Qt(e,t,r){var n=Object(c.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(c.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function Xt(e){1===e.length&&fe(e[0])&&(e=[]);var t=Jt(e);return 1===e.length&&e[0].name===Ae()&&(t=Object(ht.removep)(t)),t}function Jt(e,t){return Object(c.castArray)(e).map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isInnerBlocks,n=void 0!==r&&r,a=e.name,o=Zt(e);if(a===Ne()||!n&&a===Ae())return o;var i=De(a),s=Yt(i,e.attributes);return Qt(a,s,o)}(e,t)})).join("\n\n")}function er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var tr=/[\t\n\r\v\f ]+/g,rr=/^[\t\n\r\v\f ]*$/,nr=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,ar=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],or=[].concat(ar,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),ir=[c.identity,function(e){return dr(e).join(" ")}],sr=/^[\da-z]+$/i,cr=/^#\d+$/,ur=/^#x[\da-f]+$/i;var lr=function(){function e(){Object(mt.a)(this,e)}return Object(_t.a)(e,[{key:"parse",value:function(e){if(t=e,sr.test(t)||cr.test(t)||ur.test(t))return Object(St.decodeEntities)("&"+e+";");var t}}]),e}();function dr(e){return e.trim().split(tr)}function fr(e){return e.attributes.filter((function(e){var t=Object(te.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(c.includes)(or,r)}))}function pr(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:At(),n=e.chars,a=t.chars,o=0;o2&&void 0!==arguments[2]?arguments[2]:At();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var n={},a=0;a2&&void 0!==arguments[2]?arguments[2]:At();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):_r.apply(void 0,Object(i.a)([e,t].map(fr)).concat([r]))},Chars:pr,Comment:pr};function wr(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!rr.test(t.chars))return t}}function yr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:At();try{return new Pt(new lr).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function kr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Or(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:At();if(e===t)return!0;var n,a,o=[e,t].map((function(e){return yr(e,r)})),i=Object(te.a)(o,2),s=i[0],c=i[1];if(!s||!c)return!1;for(;n=wr(s);){if(!(a=wr(c)))return r.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==a.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",a.type,a,n.type,n),!1;var u=vr[n.type];if(u&&!u(n,a,r))return!1;kr(n,c[0])?wr(c):kr(a,s[0])&&wr(s)}return!(a=wr(c))||(r.warning("Expected %o, instead saw end of content.",a),!1)}function jr(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Et(),o=ge(e);try{n=Wt(o,t)}catch(e){return a.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:a.getItems()}}var i=Or(r,n,a);return i||a.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,n,r),{isValid:i,validationIssues:a.getItems()}}function Cr(e,t,r){return jr(e,t,r,At()).isValid}function xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tr(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},n=ge(e),a=Object(c.mapValues)(n.attributes,(function(e,n){return Rr(n,e,t,r)}));return Object(ne.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function $r(e,t){var r=Dr({},t);if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){var n=e.substring(11),a={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=n in a?a[n]:n,["amazon-kindle","wordpress"].includes(n)||(r.responsive=!0),e="core/embed"}return{name:e,attributes:r}}function qr(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,o=e.innerHTML,s=e.innerContent,u=Ae(),l=Ne()||u;r=r||{},o=o.trim();var d=t||u,f=$r(d,r);d=f.name,r=f.attributes,d===u&&(o=Object(ht.autop)(o).trim());var p=De(d);if(!p){var h={attrs:r,blockName:t,innerBlocks:a,innerContent:s},g=Ur(h,{isCommentDelimited:!1}),b=Ur(h,{isCommentDelimited:!0});d&&(o=b),r={originalName:t,originalContent:b,originalUndelimitedContent:g},p=De(d=l)}a=(a=a.map(qr)).filter((function(e){return e}));var m=d===u||d===l;if(p&&(o||!m)){var _=Xe(d,Fr(p,o,r),a);if(!m){var v=jr(p,_.attributes,o),w=v.isValid,y=v.validationIssues;_.isValid=w,_.validationIssues=y}return _.originalContent=_.originalContent||o,(_=function(e,t){var r=De(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,o=a.originalContent,s=a.innerBlocks,u=0;u0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",p.name,p,Wt(p,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(i.a)(r))}))),_}}function Ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,o=e.attrs,i=void 0===o?{}:o,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=void 0===u?[]:u,d=0,f=l.map((function(e){return null!==e?e:Ur(c[d++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?Qt(a,i,f):f}var Gr,Kr=(Gr=gt.parse,function(e){return Gr(e).reduce((function(e,t){var r=qr(t);return r&&e.push(r),e}),[])}),Wr=Kr;function Yr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zr(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:e,r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function vn(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ce.isTextContent)(e)&&Object(c.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(c.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var o=n.closest("p,div");o?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!o.textContent.trim())&&_n(n,o):_n(n,o):"BODY"===n.parentNode.nodeName&&_n(n)}}var wn=r(129);function yn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kn(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=it("from"),o=ot(a,(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(c.some)(Object(c.castArray)(e.tag),(function(e){return Object(wn.regexp)(e).test(t)}))}));if(!o)return[t];var s,u=Object(c.castArray)(o.tag),l=Object(c.find)(u,(function(e){return Object(wn.regexp)(e).test(t)})),d=r;if(s=Object(wn.next)(l,t,r)){r=s.index+s.content.length;var f=t.substr(0,s.index),p=t.substr(r);if(!(Object(c.includes)(s.shortcode.content||"","<")||/(\n|

    )\s*$/.test(f)&&/^\s*(\n|<\/p>)/.test(p)))return e(t,r);if(o.isMatch&&!o.isMatch(s.shortcode.attrs))return e(t,d,[].concat(Object(i.a)(n),[o.blockName]));var h=Object(c.mapValues)(Object(c.pickBy)(o.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(s.shortcode.attrs,s)})),g=Xe(o.blockName,Fr(kn(kn({},De(o.blockName)),{},{attributes:o.attributes}),s.shortcode.content,h));return[].concat(Object(i.a)(e(f)),[g],Object(i.a)(e(p)))}return[t]},jn=r(285),Cn=new(r.n(jn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function xn(e){if("IFRAME"===e.nodeName){var t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function Tn(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ce.unwrap)(e)}function Pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,En(n.body.childNodes,t,n,r),n.body.innerHTML}function Nn(e,t){var r=e["".concat(t,"Sibling")];if(r&&Object(ce.isPhrasingContent)(r))return r;var n=e.parentNode;return n&&Object(ce.isPhrasingContent)(n)?Nn(n,t):void 0}function Ln(e){if(e.nodeType===e.TEXT_NODE){for(var t=e;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;var r,n=e.data.replace(/[ \r\n\t]+/g," ");if(" "===n[0]){var a=Nn(e,"previous");a&&"BR"!==a.nodeName&&" "!==a.textContent.slice(-1)||(n=n.slice(1))}if(" "===n[n.length-1]){var o=Nn(e,"next");(!o||"BR"===o.nodeName||o.nodeType===o.TEXT_NODE&&(" "===(r=o.textContent[0])||"\r"===r||"\n"===r||"\t"===r))&&(n=n.slice(0,-1))}n?e.data=n:e.parentNode.removeChild(e)}}function Mn(e){"BR"===e.nodeName&&(Nn(e,"next")||e.parentNode.removeChild(e))}function zn(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}function Dn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function In(e){for(var t=1;t]+>/g,"")).replace(/^\s*]*>\s*]*>(?:\s*)?/i,"")).replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==s){var d=n||o;if(-1!==d.indexOf("\x3c!-- wp:"))return Kr(d)}if(String.prototype.normalize&&(n=n.normalize()),!o||n&&!function(e){return!/<(?!br[ />])/i.test(e)}(n)||(t=o,n=Cn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,r,n){return"".concat(t,"\n").concat(r,"\n").concat(n)}))}(t)),"AUTO"===s&&-1===o.indexOf("\n")&&0!==o.indexOf("

    ")&&0===n.indexOf("

    ")&&(s="INLINE")),"INLINE"===s)return Vn(n,l);var f=On(n),p=f.length>1;if("AUTO"===s&&!p&&function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(nn)&&rn(n,t)}(n,u))return Vn(n,l);var h=Object(ce.getPhrasingContentSchema)("paste"),g=An("paste"),b=Object(c.compact)(Object(c.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[Tn,un,on,dn,bn,an,en,tn,xn,vn,mn],r=In(In({},g),h);return e=Bn(e,t,g),e=Bn(e=Jr(e=Object(ce.removeInvalidHTML)(e,r)),[Ln,Mn,zn],g),Hn.log("Processed HTML piece:\n\n",e),Xr(e)})));if("AUTO"===s&&1===b.length&&Ve(b[0].name,"__unstablePasteTextInline",!1)){var m=o.trim();if(""!==m&&-1===m.indexOf("\n"))return Object(ce.removeInvalidHTML)(Zt(b[0]),h)}return b}var Fn=r(35),$n=r.n(Fn);function qn(e){return $n()("wp.blocks.getPhrasingContentSchema",{alternative:"wp.dom.getPhrasingContentSchema"}),Object(ce.getPhrasingContentSchema)(e)}function Un(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Kr(r);var n=On(r),a=An();return Object(c.compact)(Object(c.flatMap)(n,(function(e){return"string"!=typeof e?e:Xr(e=Jr(e=Bn(e,[dn,en,vn,mn],a)))})))}function Gn(){return Object(o.select)(ee).getCategories()}function Kn(e){Object(o.dispatch)(ee).setCategories(e)}function Wn(e,t){Object(o.dispatch)(ee).updateCategory(e,t)}function Yn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(c.every)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],o=n[2],i=e[r];return a===i.name&&Qn(i.innerBlocks,o)}))}function Xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(c.map)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],o=n[1],i=n[2],s=e[r];if(s&&s.name===a){var u=Xn(s.innerBlocks,i);return Zn(Zn({},s),{},{innerBlocks:u})}var l=De(a),d=function(e,t){return Object(c.mapValues)(t,(function(t,r){return f(e[r],t)}))},f=function(e,t){return r=e,"html"===Object(c.get)(r,["source"])&&Object(c.isArray)(t)?Object(se.renderToString)(t):function(e){return"query"===Object(c.get)(e,["source"])}(e)&&t?t.map((function(t){return d(e.query,t)})):t;var r},p=$r(a,d(Object(c.get)(l,["attributes"],{}),o));return Xe(p.name,p.attributes,Xn([],i))})):e}},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},60:function(e,t,r){var n;!function(a){var o=/^\s+/,i=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(i,"").toLowerCase();var t,r=!1;if(A[e])e=A[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:H(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(p=e.r,h=e.g,g=e.b,t={r:255*N(p,255),g:255*N(h,255),b:255*N(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=D(e.s),s=D(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=a.floor(e),o=e-n,i=r*(1-t),s=r*(1-o*t),c=r*(1-(1-o)*t),u=n%6;return{r:255*[r,s,i,i,c,r][u],g:255*[c,r,r,s,i,i][u],b:255*[i,i,c,r,r,s][u]}}(e.h,n,s),d=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=D(e.s),c=D(e.l),t=function(e,t,r){var n,a,o;function i(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=a=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=i(c,s,e+1/3),a=i(c,s,e),o=i(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*o}}(e.h,n,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var p,h,g;return r=B(r),{ok:d,format:e.format||f,r:u(255,l(t.r,0)),g:u(255,l(t.g,0)),b:u(255,l(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function p(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,o=l(e,t,r),i=u(e,t,r),s=(o+i)/2;if(o==i)n=a=0;else{var c=o-i;switch(a=s>.5?c/(2-o-i):c/(o+i),o){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(f(n));return o}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(f({h:n,s:a,v:o})),o=(o+s)%1;return i}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(c(e).toString(16)),z(c(t).toString(16)),z(c(r).toString(16)),z(I(n))];if(a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+b(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(P,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:D(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),o=r/100;return f({r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,o=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=o>=4.5;break;case"AAlarge":a=o>=3;break;case"AAAsmall":a=o>=7}return a},f.mostReadable=function(e,t,r){var n,a,o,i,s=null,c=0;a=(r=r||{}).includeFallbackColors,o=r.level,i=r.size;for(var u=0;uc&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:o,size:i})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var A=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(A);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return u(1,l(0,e))}function M(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function I(e){return a.round(255*parseFloat(e)).toString(16)}function H(e){return M(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},63:function(e,t){e.exports=window.wp.isShallowEqual},64:function(e,t){e.exports=window.wp.htmlEntities},7:function(e,t){e.exports=window.wp.primitives},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r};t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return l(n)}},215:function(e,t,r){"use strict";var n=r(0),a=r(7),i=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=i},24:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:

    foo
    ",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}var i={},o={},s={},c=a(!0),u="vanilla",l={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";var e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function d(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var a=0;a").replace(/&/g,"&")};var p=function(e,t,r,n){"use strict";var a,i,o,s,c,u=n||"",l=u.indexOf("g")>-1,d=new RegExp(t+"|"+r,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),p=[];do{for(a=0;o=d.exec(e);)if(f.test(o[0]))a++||(s=(i=d.lastIndex)-o[0].length);else if(a&&!--a){c=o.index+o[0].length;var h={left:{start:s,end:i},match:{start:i,end:o.index},right:{start:o.index,end:c},wholeMatch:{start:s,end:c}};if(p.push(h),!l)return p}}while(a&&(d.lastIndex=i));return p};i.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=p(e,t,r,n),i=[],o=0;o0){var l=[];0!==s[0].wholeMatch.start&&l.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d=0?n+(r||0):n},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";var t={},r=[],n=[],a={},o=u,f={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var a=d(e,t);if(!a.valid)throw Error(a.error);for(var o=0;o[ \t]+¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(r)};!function e(t){for(var r=0;r? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,i.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],i.helper.isUndefined(r.gTitles[a])||(u=r.gTitles[a])}var l='"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,r,n,a,o){if("\\"===n)return r+a;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,o),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'"+a+""}))),e=r.converter._dispatch("anchors.after",e,t,r)}));var h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,g=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,b=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,v=function(e){"use strict";return function(t,r,n,a,o,s,c){var u=n=n.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),l="",d="",f=r||"",p=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(l=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),f+'"+u+""+l+p}},y=function(e,t){"use strict";return function(r,n,a){var o="mailto:";return n=n||"",a=i.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=i.helper.encodeEmailAddress(o+a),a=i.helper.encodeEmailAddress(a)):o+=a,n+''+a+""}};i.subParser("autoLinks",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(b,v(t))).replace(_,y(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)})),i.subParser("simplifiedAutoLinks",(function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(g,v(t)):e.replace(h,v(t))).replace(m,y(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e})),i.subParser("blockGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=i.subParser("blockQuotes")(e,t,r),e=i.subParser("headers")(e,t,r),e=i.subParser("horizontalRule")(e,t,r),e=i.subParser("lists")(e,t,r),e=i.subParser("codeBlocks")(e,t,r),e=i.subParser("tables")(e,t,r),e=i.subParser("hashHTMLBlocks")(e,t,r),e=i.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)})),i.subParser("blockQuotes",(function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=i.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*
    [^\r]+?<\/pre>)/gm,(function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("
    \n"+e+"\n
    ",t,r)})),e=r.converter._dispatch("blockQuotes.after",e,t,r)})),i.subParser("codeBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("codeBlocks.before",e,t,r);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,n,a){var o=n,s=a,c="\n";return o=i.subParser("outdent")(o,t,r),o=i.subParser("encodeCode")(o,t,r),o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),o="
    "+o+c+"
    ",i.subParser("hashBlock")(o,t,r)+s}))).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)})),i.subParser("codeSpans",(function(e,t,r){"use strict";return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,n,a,o){var s=o;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=n+""+(s=i.subParser("encodeCode")(s,t,r))+"",s=i.subParser("hashHTMLSpans")(s,t,r)})),e=r.converter._dispatch("codeSpans.after",e,t,r)})),i.subParser("completeHTMLDocument",(function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="\n",i="",o='\n',s="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(o='')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":i=""+r.metadata.parsed.title+"\n";break;case"charset":o="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[u]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)})),i.subParser("detab",(function(e,t,r){"use strict";return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var r=t,n=4-r.length%4,a=0;a/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)})),i.subParser("encodeBackslashEscapes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)})),i.subParser("encodeCode",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)})),i.subParser("githubCodeBlocks",(function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,n,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,r),o="
    "+(o=(o=(o=i.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"
    ",o=i.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}))).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e})),i.subParser("hashBlock",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)})),i.subParser("hashCodeTags",(function(e,t,r){"use strict";e=r.converter._dispatch("hashCodeTags.before",e,t,r);return e=i.helper.replaceRecursiveRegExp(e,(function(e,n,a,o){var s=a+i.subParser("encodeCode")(n,t,r)+o;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"}),"]*>","","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)})),i.subParser("hashElement",(function(e,t,r){"use strict";return function(e,t){var n=t;return n=(n=(n=n.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var i=e;return-1!==n.search(/\bmarkdown\b/)&&(i=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var o=0;o]*>)","im"),u="<"+n[o]+"\\b[^>]*>",l="";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],a,u,l,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,r)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)})),i.subParser("hashHTMLSpans",(function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,(function(e){return n(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return n(e)}))).replace(/<[^>]+?>/gi,(function(e){return n(e)})),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)})),i.subParser("unhashHTMLSpans",(function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)})),i.subParser("headers",(function(e,t,r){"use strict";e=r.converter._dispatch("headers.before",e,t,r);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(a,(function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=""+o+"";return i.subParser("hashBlock")(u,t,r)}))).replace(o,(function(e,a){var o=i.subParser("spanGamut")(a,t,r),s=t.noHeaderId?"":' id="'+c(a)+'"',u=n+1,l=""+o+"";return i.subParser("hashBlock")(l,t,r)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var n,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,a=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}return e=e.replace(s,(function(e,a,o){var s=o;t.customizedHeaderId&&(s=o.replace(/\s?\{([^{]+?)}\s*$/,""));var u=i.subParser("spanGamut")(s,t,r),l=t.noHeaderId?"":' id="'+c(o)+'"',d=n-1+a.length,f=""+u+"";return i.subParser("hashBlock")(f,t,r)})),e=r.converter._dispatch("headers.after",e,t,r)})),i.subParser("horizontalRule",(function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=i.subParser("hashBlock")("
    ",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)})),i.subParser("images",(function(e,t,r){"use strict";function n(e,t,n,a,o,s,c,u){var l=r.gUrls,d=r.gTitles,f=r.gDimensions;if(n=n.toLowerCase(),u||(u=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,i.helper.isUndefined(l[n]))return e;a=l[n],i.helper.isUndefined(d[n])||(u=d[n]),i.helper.isUndefined(f[n])||(o=f[n].width,s=f[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var p=''+t+'"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,r,a,i,o,s,c){return n(e,t,r,a=a.replace(/\s/g,""),i,o,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=r.converter._dispatch("images.after",e,t,r)})),i.subParser("italicsAndBold",(function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return n(t,"","")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return n(t,"","")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return n(t,"","")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,r){return n(r,t+"","")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=r.converter._dispatch("italicsAndBold.after",e,t,r)})),i.subParser("lists",(function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(a,(function(e,n,a,s,c,u,l){l=l&&""!==l.trim();var d=i.subParser("outdent")(c,t,r),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-1?(d=i.subParser("githubCodeBlocks")(d,t,r),d=i.subParser("blockGamut")(d,t,r)):(d=(d=i.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=o?i.subParser("paragraphs")(d,t,r):i.subParser("spanGamut")(d,t,r)),d=""+(d=d.replace("¨A",""))+"\n"}))).replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function o(e,r,i){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?o:s,u="";if(-1!==e.search(c))!function t(l){var d=l.search(c),f=a(e,r);-1!==d?(u+="\n\n<"+r+f+">\n"+n(l.slice(0,d),!!i)+"\n",c="ul"===(r="ul"===r?"ol":"ul")?o:s,t(l.slice(d))):u+="\n\n<"+r+f+">\n"+n(l,!!i)+"\n"}(e);else{var l=a(e,r);u="\n\n<"+r+l+">\n"+n(e,!!i)+"\n"}return u}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r){return o(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,r,n){return o(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)})),i.subParser("metadata",(function(e,t,r){"use strict";if(!t.metadata)return e;function n(e){r.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,n){return r.metadata.parsed[t]=n,""}))}return e=(e=(e=(e=r.converter._dispatch("metadata.before",e,t,r)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,r){return n(r),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}))).replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)})),i.subParser("outdent",(function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)})),i.subParser("paragraphs",(function(e,t,r){"use strict";for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],o=n.length,s=0;s=0?a.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,r)).replace(/^([ \t]*)/g,"

    "),c+="

    ",a.push(c))}for(o=a.length,s=0;s]*>\s*]*>/.test(l)&&(d=!0)}a[s]=l}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)})),i.subParser("runExtension",(function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
    \n")):e=e.replace(/ +\n/g,"
    \n"),e=r.converter._dispatch("spanGamut.after",e,t,r)})),i.subParser("strikethrough",(function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,n){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}(n)})),e=r.converter._dispatch("strikethrough.after",e,t,r)),e})),i.subParser("stripLinkDefinitions",(function(e,t,r){"use strict";var n=function(e,n,a,o,s,c,u){return n=n.toLowerCase(),a.match(/^data:.+?\/.+?;base64,/)?r.gUrls[n]=a.replace(/\s/g,""):r.gUrls[n]=i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+u:(u&&(r.gTitles[n]=u.replace(/"|'/g,""")),t.parseImgDimensions&&o&&s&&(r.gDimensions[n]={width:o,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,n)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,r){"use strict";if(!t.tables)return e;function n(e,n){return""+i.subParser("spanGamut")(e,t,r)+"\n"}function a(e){var a,o=e.split("\n");for(a=0;a"+(c=i.subParser("spanGamut")(c,t,r))+"\n"));for(a=0;a\n\n\n",a=0;a\n";for(var i=0;i\n"}return r+="\n\n"}(h,b)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,a)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,a),e=r.converter._dispatch("tables.after",e,t,r)})),i.subParser("underline",(function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e})),i.subParser("unescapeSpecialChars",(function(e,t,r){"use strict";return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,(function(e,t){var r=parseInt(t);return String.fromCharCode(r)})),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var o=0;o",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r})),i.subParser("makeMarkdown.list",(function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,c=0;c"+t.preList[r]+""})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rh&&(h=g)}for(r=0;r/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(n=function(){"use strict";return i}.call(t,r,t,e))||(e.exports=n)}).call(this)},31:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(24);function a(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},33:function(e,t){e.exports=window.wp.hooks},35:function(e,t){e.exports=window.wp.deprecated},37:function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},38:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},39:function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,"a",(function(){return n}))},4:function(e,t){e.exports=window.wp.data},41:function(e,t,r){"use strict";var n,a;function i(e){return[e]}function o(){var e={clear:function(){e.head=null}};return e}function s(e,t,r){var n;if(e.length!==t.length)return!1;for(n=r;n0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=p("SET_DEFAULT_BLOCK_NAME"),g=p("SET_FREEFORM_FALLBACK_BLOCK_NAME"),b=p("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=p("SET_GROUPING_BLOCK_NAME");var _=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.keyBy)(Object(c.map)(t.blockTypes,(function(e){return Object(c.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(c.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(t,["styles"],[])),Object(o.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(e,[t.blockName],[])),Object(o.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(t,["variations"],[])),Object(o.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(e,[t.blockName],[])),Object(o.a)(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:g,unregisteredFallbackBlockName:b,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(c.isEmpty)(t.category))return e;var r=Object(c.find)(e,["slug",t.slug]);if(r)return Object(c.map)(e,(function(e){return e.slug===t.slug?d(d({},e),t.category):e}))}return e},collections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return d(d({},e),{},Object(s.a)({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(c.omit)(e,t.namespace)}return e}}),v=r(41);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t0},H=function(e,t){return Object(c.some)(D(e,t),(function(t){return M(e,t,"inserter",!0)}))};function V(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(c.castArray)(e)}}function R(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(c.castArray)(e)}}function F(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(c.castArray)(t),blockName:e}}function $(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(c.castArray)(t),blockName:e}}function q(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(c.castArray)(t),blockName:e}}function U(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(c.castArray)(t),blockName:e}}function G(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function K(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function W(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Q(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Y(e){return{type:"SET_CATEGORIES",categories:e}}function Z(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function X(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function J(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}var ee=Object(i.createReduxStore)("core/blocks",{reducer:_,selectors:n,actions:a});Object(i.register)(ee);var te=r(11),re=r(204),ne=r(33),ae=r(215),ie=r(60),oe=r.n(ie),se=r(0),ce=r(27);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function le(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"visual";if("core/template-part"===e.name&&t.slug){var n,a=Object(i.select)("core").getEntityRecord("postType","wp_template_part",t.theme+"//"+t.slug);if(a)return Object(c.startCase)((null===(n=a.title)||void 0===n?void 0:n.rendered)||a.slug)}var o=e.__experimentalLabel,s=e.title,u=o&&o(t,{context:r});return u?Object(ce.__unstableStripHTML)(u):s}function me(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",a=e.title,i=be(e,t,"accessibility"),o=void 0!==r,s=i&&i!==a;return o&&"vertical"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d. %3$s"),a,r,i):Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d"),a,r):o&&"horizontal"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d. %3$s"),a,r,i):Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d"),a,r):s?Object(u.sprintf)(Object(u.__)("%1$s Block. %2$s"),a,i):Object(u.sprintf)(Object(u.__)("%s Block"),a)}function _e(e,t){var r=ze(e);if(void 0===r)throw new Error("Block type '".concat(e,"' is not registered."));return Object(c.reduce)(r.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{})}var ve=["attributes","supports","save","migrate","isEligible","apiVersion"],ye={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},color:{value:["color","text"],support:["color"]},fontFamily:{value:["typography","fontFamily"],support:["__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["lineHeight"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["__experimentalTextTransform"]}};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=_e(e,t),a=Object(re.a)();return{clientId:a,name:e,isValid:!0,attributes:n,innerBlocks:r}}function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){var t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],r=Object(te.a)(t,3),n=r[0],a=r[1],i=r[2];return Xe(n,a,Je(void 0===i?[]:i))}))}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Object(re.a)(),a=_e(e.name,Ze(Ze({},e.attributes),t));return Ze(Ze({},e),{},{clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map((function(e){return et(e)}))})}var tt=function(e,t,r){if(Object(c.isEmpty)(r))return!1;var n=r.length>1,a=Object(c.first)(r).name;if(!(rt(e)||!n||e.isMultiBlock))return!1;if(!rt(e)&&!Object(c.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var i=Object(c.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||rt(e)))return!1;if(!n&&nt(i.name)&&nt(e.blockName))return!1;if(Object(c.isFunction)(e.isMatch)){var o=e.isMultiBlock?r.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(o))return!1}return!0},rt=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},nt=function(e){return e===Ee()};function at(e){if(Object(c.isEmpty)(e))return[];var t=function(e){if(Object(c.isEmpty)(e))return[];var t=Ie();return Object(c.filter)(t,(function(t){return!!it(ot("from",t.name),(function(t){return tt(t,"from",e)}))}))}(e),r=function(e){if(Object(c.isEmpty)(e))return[];var t=ot("to",ze(Object(c.first)(e).name).name),r=Object(c.filter)(t,(function(t){return t&&tt(t,"to",e)}));return Object(c.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ze(e)}))}(e);return Object(c.uniq)([].concat(Object(o.a)(t),Object(o.a)(r)))}function it(e,t){for(var r=Object(ne.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a1,i=n[0],o=i.name,s=ot("from",t),u=it(ot("to",o),(function(e){return"block"===e.type&&(rt(e)||-1!==e.blocks.indexOf(t))&&(!a||e.isMultiBlock)}))||it(s,(function(e){return"block"===e.type&&(rt(e)||-1!==e.blocks.indexOf(o))&&(!a||e.isMultiBlock)}));if(!u)return null;if(r=u.isMultiBlock?Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(n):u.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(i):u.transform(i.attributes,i.innerBlocks),!Object(c.isObjectLike)(r))return null;if((r=Object(c.castArray)(r)).some((function(e){return!ze(e.name)})))return null;var l=Object(c.findIndex)(r,(function(e){return e.name===t}));return l<0?null:r.map((function(t,r){var n=Ze(Ze({},t),{},{clientId:r===l?i.clientId:t.clientId});return Object(ne.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var ct=function e(t,r){return Xe(t,r.attributes,Object(c.map)(r.innerBlocks,(function(t){return e(t.name,t)})))};function ut(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var lt,dt=function(){return lt||(lt=document.implementation.createHTMLDocument("")),lt};function ft(e,t){if(t){if("string"==typeof e){var r=dt();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=ft(e,t[n]),r}),{})}}function pt(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return ut(n,t)}}var ht=r(115),gt=r(284),bt=r(147),mt=r(25),_t=r(26),vt=/^#[xX]([A-Fa-f0-9]+)$/,yt=/^#([0-9]+)$/,wt=/^([A-Za-z0-9]+)$/,kt=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(vt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(yt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(wt))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Ot=/[A-Za-z]/,jt=/\r\n?/g;function Tt(e){return kt.test(e)}function Ct(e){return Ot.test(e)}var xt=function(){function e(e,t,r){void 0===r&&(r="precompile"),this.delegate=e,this.entityParser=t,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||Ct(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){Tt(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();Tt(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();Tt(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!Tt(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===t.toUpperCase(),n="SYSTEM"===t.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();Tt(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();Tt(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();Tt(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();Tt(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();Tt(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();Tt(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();Tt(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();Tt(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();Tt(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();Tt(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();Tt(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();Tt(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||Ct(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(jt,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),Pt=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new xt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t1?r-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{},t=Ut.blockType,r=Ut.attributes;return Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ft({},e),t,r)}function Kt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ge(e),a=n.save;if(a.prototype instanceof se.Component){var i=new a({attributes:t});a=i.render.bind(i)}Ut.blockType=n,Ut.attributes=t;var o=a({attributes:t,innerBlocks:r}),s=n.apiVersion>1||Ve(n,"lightBlockWrapper",!1);if(Object(c.isObject)(o)&&Object(ne.hasFilter)("blocks.getSaveContent.extraProps")&&!s){var u=Object(ne.applyFilters)("blocks.getSaveContent.extraProps",Ft({},o.props),n,t);Nt()(u,o.props)||(o=Object(se.cloneElement)(o,u))}return o=Object(ne.applyFilters)("blocks.getSaveElement",o,n,t),Object(se.createElement)(Vt,{innerBlocks:r},o)}function Wt(e,t,r){var n=ge(e);return Object(se.renderToString)(Kt(n,t,r))}function Qt(e,t){return Object(c.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e}),{})}function Yt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=Wt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Zt(e,t,r){var n=Object(c.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(//g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(c.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function Xt(e){1===e.length&&fe(e[0])&&(e=[]);var t=Jt(e);return 1===e.length&&e[0].name===Ae()&&(t=Object(ht.removep)(t)),t}function Jt(e,t){return Object(c.castArray)(e).map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isInnerBlocks,n=void 0!==r&&r,a=e.name,i=Yt(e);if(a===Ne()||!n&&a===Ae())return i;var o=ze(a),s=Qt(o,e.attributes);return Zt(a,s,i)}(e,t)})).join("\n\n")}function er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var tr=/[\t\n\r\v\f ]+/g,rr=/^[\t\n\r\v\f ]*$/,nr=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,ar=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],ir=[].concat(ar,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),or=[c.identity,function(e){return dr(e).join(" ")}],sr=/^[\da-z]+$/i,cr=/^#\d+$/,ur=/^#x[\da-f]+$/i;var lr=function(){function e(){Object(mt.a)(this,e)}return Object(_t.a)(e,[{key:"parse",value:function(e){if(t=e,sr.test(t)||cr.test(t)||ur.test(t))return Object(St.decodeEntities)("&"+e+";");var t}}]),e}();function dr(e){return e.trim().split(tr)}function fr(e){return e.attributes.filter((function(e){var t=Object(te.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(c.includes)(ir,r)}))}function pr(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:At(),n=e.chars,a=t.chars,i=0;i2&&void 0!==arguments[2]?arguments[2]:At();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var n={},a=0;a2&&void 0!==arguments[2]?arguments[2]:At();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):_r.apply(void 0,Object(o.a)([e,t].map(fr)).concat([r]))},Chars:pr,Comment:pr};function yr(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!rr.test(t.chars))return t}}function wr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:At();try{return new Pt(new lr).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function kr(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Or(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:At();if(e===t)return!0;var n,a,i=[e,t].map((function(e){return wr(e,r)})),o=Object(te.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;n=yr(s);){if(!(a=yr(c)))return r.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==a.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",a.type,a,n.type,n),!1;var u=vr[n.type];if(u&&!u(n,a,r))return!1;kr(n,c[0])?yr(c):kr(a,s[0])&&yr(s)}return!(a=yr(c))||(r.warning("Expected %o, instead saw end of content.",a),!1)}function jr(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Et(),i=ge(e);try{n=Wt(i,t)}catch(e){return a.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:a.getItems()}}var o=Or(r,n,a);return o||a.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",i.name,i,n,r),{isValid:o,validationIssues:a.getItems()}}function Tr(e,t,r){return jr(e,t,r,At()).isValid}function Cr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},n=ge(e),a=Object(c.mapValues)(n.attributes,(function(e,n){return Rr(n,e,t,r)}));return Object(ne.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function $r(e,t){var r=zr({},t);if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){var n=e.substring(11),a={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=n in a?a[n]:n,["amazon-kindle","wordpress"].includes(n)||(r.responsive=!0),e="core/embed"}return{name:e,attributes:r}}function qr(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,s=e.innerContent,u=Ae(),l=Ne()||u;r=r||{},i=i.trim();var d=t||u,f=$r(d,r);d=f.name,r=f.attributes,d===u&&(i=Object(ht.autop)(i).trim());var p=ze(d);if(!p){var h={attrs:r,blockName:t,innerBlocks:a,innerContent:s},g=Ur(h,{isCommentDelimited:!1}),b=Ur(h,{isCommentDelimited:!0});d&&(i=b),r={originalName:t,originalContent:b,originalUndelimitedContent:g},p=ze(d=l)}a=(a=a.map(qr)).filter((function(e){return e}));var m=d===u||d===l;if(p&&(i||!m)){var _=Xe(d,Fr(p,i,r),a);if(!m){var v=jr(p,_.attributes,i),y=v.isValid,w=v.validationIssues;_.isValid=y,_.validationIssues=w}return _.originalContent=_.originalContent||i,(_=function(e,t){var r=ze(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,s=a.innerBlocks,u=0;u0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",p.name,p,Wt(p,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(o.a)(r))}))),_}}function Ur(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,i=e.attrs,o=void 0===i?{}:i,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=void 0===u?[]:u,d=0,f=l.map((function(e){return null!==e?e:Ur(c[d++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?Zt(a,o,f):f}var Gr,Kr=(Gr=gt.parse,function(e){return Gr(e).reduce((function(e,t){var r=qr(t);return r&&e.push(r),e}),[])}),Wr=Kr;function Qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yr(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:e,r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function vn(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ce.isTextContent)(e)&&Object(c.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(c.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var i=n.closest("p,div");i?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!i.textContent.trim())&&_n(n,i):_n(n,i):"BODY"===n.parentNode.nodeName&&_n(n)}}var yn=r(129);function wn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kn(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=ot("from"),i=it(a,(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(c.some)(Object(c.castArray)(e.tag),(function(e){return Object(yn.regexp)(e).test(t)}))}));if(!i)return[t];var s,u=Object(c.castArray)(i.tag),l=Object(c.find)(u,(function(e){return Object(yn.regexp)(e).test(t)})),d=r;if(s=Object(yn.next)(l,t,r)){r=s.index+s.content.length;var f=t.substr(0,s.index),p=t.substr(r);if(!(Object(c.includes)(s.shortcode.content||"","<")||/(\n|

    )\s*$/.test(f)&&/^\s*(\n|<\/p>)/.test(p)))return e(t,r);if(i.isMatch&&!i.isMatch(s.shortcode.attrs))return e(t,d,[].concat(Object(o.a)(n),[i.blockName]));var h=Object(c.mapValues)(Object(c.pickBy)(i.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(s.shortcode.attrs,s)})),g=Xe(i.blockName,Fr(kn(kn({},ze(i.blockName)),{},{attributes:i.attributes}),s.shortcode.content,h));return[].concat(Object(o.a)(e(f)),[g],Object(o.a)(e(p)))}return[t]},jn=r(285),Tn=new(r.n(jn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function Cn(e){if("IFRAME"===e.nodeName){var t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function xn(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ce.unwrap)(e)}function Pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,En(n.body.childNodes,t,n,r),n.body.innerHTML}function Nn(e,t){var r=e["".concat(t,"Sibling")];if(r&&Object(ce.isPhrasingContent)(r))return r;var n=e.parentNode;return n&&Object(ce.isPhrasingContent)(n)?Nn(n,t):void 0}function Dn(e){if(e.nodeType===e.TEXT_NODE){for(var t=e;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;var r,n=e.data.replace(/[ \r\n\t]+/g," ");if(" "===n[0]){var a=Nn(e,"previous");a&&"BR"!==a.nodeName&&" "!==a.textContent.slice(-1)||(n=n.slice(1))}if(" "===n[n.length-1]){var i=Nn(e,"next");(!i||"BR"===i.nodeName||i.nodeType===i.TEXT_NODE&&(" "===(r=i.textContent[0])||"\r"===r||"\n"===r||"\t"===r))&&(n=n.slice(0,-1))}n?e.data=n:e.parentNode.removeChild(e)}}function Ln(e){"BR"===e.nodeName&&(Nn(e,"next")||e.parentNode.removeChild(e))}function Mn(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}function zn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function In(e){for(var t=1;t]+>/g,"")).replace(/^\s*]*>\s*]*>(?:\s*)?/i,"")).replace(/(?:\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==s){var d=n||i;if(-1!==d.indexOf("\x3c!-- wp:"))return Kr(d)}if(String.prototype.normalize&&(n=n.normalize()),!i||n&&!function(e){return!/<(?!br[ />])/i.test(e)}(n)||(t=i,n=Tn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,r,n){return"".concat(t,"\n").concat(r,"\n").concat(n)}))}(t)),"AUTO"===s&&-1===i.indexOf("\n")&&0!==i.indexOf("

    ")&&0===n.indexOf("

    ")&&(s="INLINE")),"INLINE"===s)return Vn(n,l);var f=On(n),p=f.length>1;if("AUTO"===s&&!p&&function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(nn)&&rn(n,t)}(n,u))return Vn(n,l);var h=Object(ce.getPhrasingContentSchema)("paste"),g=An("paste"),b=Object(c.compact)(Object(c.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[xn,un,on,dn,bn,an,en,tn,Cn,vn,mn],r=In(In({},g),h);return e=Bn(e,t,g),e=Bn(e=Jr(e=Object(ce.removeInvalidHTML)(e,r)),[Dn,Ln,Mn],g),Hn.log("Processed HTML piece:\n\n",e),Xr(e)})));if("AUTO"===s&&1===b.length&&Ve(b[0].name,"__unstablePasteTextInline",!1)){var m=i.trim();if(""!==m&&-1===m.indexOf("\n"))return Object(ce.removeInvalidHTML)(Yt(b[0]),h)}return b}var Fn=r(35),$n=r.n(Fn);function qn(e){return $n()("wp.blocks.getPhrasingContentSchema",{alternative:"wp.dom.getPhrasingContentSchema"}),Object(ce.getPhrasingContentSchema)(e)}function Un(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Kr(r);var n=On(r),a=An();return Object(c.compact)(Object(c.flatMap)(n,(function(e){return"string"!=typeof e?e:Xr(e=Jr(e=Bn(e,[dn,en,vn,mn],a)))})))}function Gn(){return Object(i.select)(ee).getCategories()}function Kn(e){Object(i.dispatch)(ee).setCategories(e)}function Wn(e,t){Object(i.dispatch)(ee).updateCategory(e,t)}function Qn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(c.every)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&Zn(o.innerBlocks,i)}))}function Xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(c.map)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var u=Xn(s.innerBlocks,o);return Yn(Yn({},s),{},{innerBlocks:u})}var l=ze(a),d=function(e,t){return Object(c.mapValues)(t,(function(t,r){return f(e[r],t)}))},f=function(e,t){return r=e,"html"===Object(c.get)(r,["source"])&&Object(c.isArray)(t)?Object(se.renderToString)(t):function(e){return"query"===Object(c.get)(e,["source"])}(e)&&t?t.map((function(t){return d(e.query,t)})):t;var r},p=$r(a,d(Object(c.get)(l,["attributes"],{}),i));return Xe(p.name,p.attributes,Xn([],o))})):e}},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},60:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,c=a.round,u=a.min,l=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(A[e])e=A[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=$.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=$.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=$.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=$.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=$.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=$.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=$.hex8.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),a:H(t[4]),format:r?"name":"hex8"};if(t=$.hex6.exec(e))return{r:L(t[1]),g:L(t[2]),b:L(t[3]),format:r?"name":"hex"};if(t=$.hex4.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=$.hex3.exec(e))return{r:L(t[1]+""+t[1]),g:L(t[2]+""+t[2]),b:L(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(p=e.r,h=e.g,g=e.b,t={r:255*N(p,255),g:255*N(h,255),b:255*N(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(n=z(e.s),s=z(e.v),t=function(e,t,r){e=6*N(e,360),t=N(t,100),r=N(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),c=r*(1-(1-i)*t),u=n%6;return{r:255*[r,s,o,o,c,r][u],g:255*[c,r,r,s,o,o][u],b:255*[o,o,c,r,r,s][u]}}(e.h,n,s),d=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(n=z(e.s),c=z(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=N(e,360),t=N(t,100),r=N(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=o(c,s,e+1/3),a=o(c,s,e),i=o(c,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var p,h,g;return r=B(r),{ok:d,format:e.format||f,r:u(255,l(t.r,0)),g:u(255,l(t.g,0)),b:u(255,l(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=c(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=r.ok,this._tc_id=s++}function p(e,t,r){e=N(e,255),t=N(t,255),r=N(r,255);var n,a,i=l(e,t,r),o=u(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var c=i-o;switch(a=s>.5?c/(2-i-o):c/(i+o),i){case e:n=(t-r)/c+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function S(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=B(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),r=c(100*e.s),n=c(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var i=[M(c(e).toString(16)),M(c(t).toString(16)),M(c(r).toString(16)),M(I(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(E[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+b(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(_,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(P,arguments)},complement:function(){return this._applyCombination(j,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:z(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},f.mostReadable=function(e,t,r){var n,a,i,o,s=null,c=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;uc&&(c=n,s=f(t[u]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var A=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},E=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(A);function B(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return u(1,l(0,e))}function L(e){return parseInt(e,16)}function M(e){return 1==e.length?"0"+e:""+e}function z(e){return e<=1&&(e=100*e+"%"),e}function I(e){return a.round(255*parseFloat(e)).toString(16)}function H(e){return L(e)/255}var V,R,F,$=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",F="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!$.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},63:function(e,t){e.exports=window.wp.isShallowEqual},64:function(e,t){e.exports=window.wp.htmlEntities},7:function(e,t){e.exports=window.wp.primitives},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),c&&o(t,c),e}();e.exports=c},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(38);var o=r(31),i=r(39);function c(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(n=(c=u.next()).done)&&(r.push(c.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},12:function(e,t){e.exports=window.wp.compose},122:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(14);function o(e,t){var r=Object(n.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(n.useRef)(!0),i=Object(n.useRef)(r),c=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r2?r-2:0),o=2;o2?r-2:0),o=2;o2?r-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r[G];if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:F(F({},t),{},Object(s.a)({},n,o))}})((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new R.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new R.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new R.a(e);return o.delete(t.args),o}return e})),K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return H(e,t)}return e};function W(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function X(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==W(e,t,r)}function B(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===W(e,t,r)}function J(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===W(e,t,r)}function Y(e){return e}function q(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function z(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Q(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function $(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Z(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e){for(var t=1;t1?r-1:0),o=1;o1?r-1:0),o=1;o3?i-3:0),u=3;u1?o-1:0),c=1;c1?o-1:0),c=1;c0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[],o=new Set;function i(){n.forEach((function(e){return e()}))}var c=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function u(e){var n=Object(f.isObject)(e)?e.name:e;o.add(n);var i=r[n];return i?i.getSelectors():t&&t.select(n)}function s(e,t){o.clear();var r=e.call(this);return t.current=Array.from(o),r}function l(e){var n=Object(f.isObject)(e)?e.name:e;o.add(n);var i=r[n];return i?i.__experimentalGetResolveSelectors():t&&t.__experimentalResolveSelect(n)}function p(e){var n=Object(f.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)}function b(e){return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return y[t].apply(null,arguments)}}))}function d(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");r[e]=t,t.subscribe(i)}function v(e){d(e.name,e.instantiate(y))}function O(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):c(n)}var y={registerGenericStore:d,stores:r,namespaces:r,subscribe:c,select:u,__experimentalResolveSelect:l,dispatch:p,use:h,register:v,__experimentalMarkListeningStores:s,__experimentalSubscribeStore:O};function h(e,t){return y=se(se({},y),e(y,t))}return y.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var r=re(e,t).instantiate(y);return d(e,r),r.store},d("core/data",ue(y)),Object.entries(e).forEach((function(e){var t=Object(a.a)(e,2),r=t[0],n=t[1];return y.registerStore(r,n)})),t&&t.subscribe(i),b(y)}var le,pe,be=fe(),de=r(35),ve=r.n(de),Oe=function(e){return ve()("wp.data.plugins.controls",{hint:"The controls plugins is now baked-in."}),e},ye={getItem:function(e){return le&&le[e]?le[e]:null},setItem:function(e,t){le||ye.clear(),le[e]=String(t)},clear:function(){le=Object.create(null)}},he=ye;try{(pe=window.localStorage).setItem("__wpDataTestLocalStorage",""),pe.removeItem("__wpDataTestLocalStorage")}catch(e){pe=he}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t0,c=Object(f.has)(r,["core/edit-post","preferences","features","fullscreenMode"]);i&&!c&&(o=Object(f.merge)({},o,{preferences:{features:{fullscreenMode:!1}}}));var u=Object(f.get)(r,["core/nux","preferences","areTipsEnabled"]),a=Object(f.has)(r,["core/edit-post","preferences","features","welcomeGuide"]);void 0===u||a||(o=Object(f.merge)({},o,{preferences:{features:{welcomeGuide:u}}})),o!==r["core/edit-post"]&&t.set("core/edit-post",o)};var _e=Se,Ee=r(8),Re=r(0),Pe=r(12),Te=r(127),xe=r(152),Ie=r(63),Ae=r.n(Ie),Ne=Object(Re.createContext)(be),ke=Ne.Consumer,De=Ne.Provider,Le=ke,Ce=De;function Me(){return Object(Re.useContext)(Ne)}var Ue=Object(Re.createContext)(!1),Ve=(Ue.Consumer,Ue.Provider);var Fe=Object(xe.createQueue)();function Ge(e,t){var r,n=Object(Re.useCallback)(e,t),o=Me(),i=Object(Re.useContext)(Ue),c=Object(Te.a)((function(){return{queue:!0}}),[o]),u=Object(Re.useReducer)((function(e){return e+1}),0),s=Object(a.a)(u,2)[1],f=Object(Re.useRef)(),l=Object(Re.useRef)(i),p=Object(Re.useRef)(),b=Object(Re.useRef)(),d=Object(Re.useRef)(),v=Object(Re.useRef)([]),O=Object(Re.useCallback)((function(e){return o.__experimentalMarkListeningStores(e,v)}),[o]),y=Object(Re.useMemo)((function(){return{}}),t||[]);try{r=f.current!==n||b.current?O((function(){return n(o.select,o)})):p.current}catch(e){var h="An error occurred while running 'mapSelect': ".concat(e.message);if(b.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(b.current.stack,"\n\n"),h+="Original stack trace:",new Error(h);console.error(h)}return Object(Pe.useIsomorphicLayoutEffect)((function(){f.current=n,p.current=r,b.current=void 0,d.current=!0,l.current!==i&&(l.current=i,Fe.flush(c))})),Object(Pe.useIsomorphicLayoutEffect)((function(){var e=function(){if(d.current){try{var e=O((function(){return f.current(o.select,o)}));if(Ae()(p.current,e))return;p.current=e}catch(e){b.current=e}s()}};l.current?Fe.add(c,e):e();var t=function(){l.current?Fe.add(c,e):e()},r=v.current.map((function(e){return o.__experimentalSubscribeStore(e,t)}));return function(){d.current=!1,r.forEach((function(e){return null==e?void 0:e()})),Fe.flush(c)}}),[o,O,y]),r}var He=function(e){return Object(Pe.createHigherOrderComponent)((function(t){return Object(Pe.pure)((function(r){var n=Ge((function(t,n){return e(t,r,n)}));return Object(Re.createElement)(t,Object(Ee.a)({},r,n))}))}),"withSelect")},Ke=function(e,t){var r=Me(),n=Object(Re.useRef)(e);return Object(Pe.useIsomorphicLayoutEffect)((function(){n.current=e})),Object(Re.useMemo)((function(){var e=n.current(r.dispatch,r);return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=n.current(r.dispatch,r))[t].apply(e,arguments)}}))}),[r].concat(Object(x.a)(t)))},We=function(e){return Object(Pe.createHigherOrderComponent)((function(t){return function(r){var n=Ke((function(t,n){return e(t,r,n)}),[]);return Object(Re.createElement)(t,Object(Ee.a)({},r,n))}}),"withDispatch")},Xe=Object(Pe.createHigherOrderComponent)((function(e){return function(t){return Object(Re.createElement)(Le,null,(function(r){return Object(Re.createElement)(e,Object(Ee.a)({},t,{registry:r}))}))}}),"withRegistry"),Be=function(e){var t=Me().dispatch;return void 0===e?t:t(e)},Je=be.select,Ye=be.__experimentalResolveSelect,qe=be.dispatch,ze=be.subscribe,Qe=be.registerGenericStore,$e=be.registerStore,Ze=be.use,et=be.register},47:function(e,t,r){"use strict";function n(e,t,r,n,o,i,c){try{var u=e[i](c),a=u.value}catch(e){return void r(e)}u.done?t(a):Promise.resolve(a).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var c=e.apply(t,r);function u(e){n(c,o,i,u,a,"next",e)}function a(e){n(c,o,i,u,a,"throw",e)}u(void 0)}))}}r.d(t,"a",(function(){return o}))},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},63:function(e,t){e.exports=window.wp.isShallowEqual},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===n(i)&&(o=o[1]),e.call(r,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,r),u&&o(t,u),e}();e.exports=u},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(38);var o=r(31),i=r(39);function u(e,t){return Object(n.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var u,c=e[Symbol.iterator]();!(n=(u=c.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}}(e,t)||Object(o.a)(e,t)||Object(i.a)()}},12:function(e,t){e.exports=window.wp.compose},122:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(14);function o(e,t){var r=Object(n.useState)((function(){return{inputs:t,result:e()}}))[0],o=Object(n.useRef)(!0),i=Object(n.useRef)(r),u=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r2?r-2:0),o=2;o2?r-2:0),o=2;o2?r-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=r[G];if(void 0===n)return t;var o=e(t[n],r);return o===t[n]?t:F(F({},t),{},Object(s.a)({},n,o))}})((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new R.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var r="START_RESOLUTION"===t.type,n=new R.a(e);return n.set(t.args,r),n;case"INVALIDATE_RESOLUTION":var o=new R.a(e);return o.delete(t.args),o}return e})),K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(f.has)(e,[t.selectorName])?Object(f.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return H(e,t)}return e};function W(e,t,r){var n=Object(f.get)(e,[t]);if(n)return n.get(r)}function X(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==W(e,t,r)}function B(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===W(e,t,r)}function J(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===W(e,t,r)}function Y(e){return e}function q(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function z(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Q(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function $(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Z(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e){for(var t=1;t1?r-1:0),o=1;o1?r-1:0),o=1;o3?i-3:0),c=3;c1?o-1:0),u=1;u1?o-1:0),u=1;u0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={},n=[],o=new Set;function i(){n.forEach((function(e){return e()}))}var u=function(e){return n.push(e),function(){n=Object(f.without)(n,e)}};function c(e){var n=Object(f.isObject)(e)?e.name:e;o.add(n);var i=r[n];return i?i.getSelectors():t&&t.select(n)}function s(e,t){o.clear();var r=e.call(this);return t.current=Array.from(o),r}function l(e){var n=Object(f.isObject)(e)?e.name:e;o.add(n);var i=r[n];return i?i.__experimentalGetResolveSelectors():t&&t.__experimentalResolveSelect(n)}function p(e){var n=Object(f.isObject)(e)?e.name:e,o=r[n];return o?o.getActions():t&&t.dispatch(n)}function b(e){return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return y[t].apply(null,arguments)}}))}function d(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");r[e]=t,t.subscribe(i)}function v(e){d(e.name,e.instantiate(y))}function O(e,n){return e in r?r[e].subscribe(n):t?t.__experimentalSubscribeStore(e,n):u(n)}var y={registerGenericStore:d,stores:r,namespaces:r,subscribe:u,select:c,__experimentalResolveSelect:l,dispatch:p,use:h,register:v,__experimentalMarkListeningStores:s,__experimentalSubscribeStore:O};function h(e,t){return y=se(se({},y),e(y,t))}return y.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var r=re(e,t).instantiate(y);return d(e,r),r.store},d("core/data",ce(y)),Object.entries(e).forEach((function(e){var t=Object(a.a)(e,2),r=t[0],n=t[1];return y.registerStore(r,n)})),t&&t.subscribe(i),b(y)}var le,pe,be=fe(),de=r(35),ve=r.n(de),Oe=function(e){return ve()("wp.data.plugins.controls",{hint:"The controls plugins is now baked-in."}),e},ye={getItem:function(e){return le&&le[e]?le[e]:null},setItem:function(e,t){le||ye.clear(),le[e]=String(t)},clear:function(){le=Object.create(null)}},he=ye;try{(pe=window.localStorage).setItem("__wpDataTestLocalStorage",""),pe.removeItem("__wpDataTestLocalStorage")}catch(e){pe=he}function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t0,p=Object(f.has)(o,["core/edit-post","preferences","features","fullscreenMode"]);l&&!p&&(s=Object(f.merge)({},s,{preferences:{features:{fullscreenMode:!1}}}));var b=Object(f.get)(o,["core/nux","preferences","areTipsEnabled"]),d=Object(f.has)(o,["core/edit-post","preferences","features","welcomeGuide"]);void 0===b||d||(s=Object(f.merge)({},s,{preferences:{features:{welcomeGuide:b}}})),s!==o["core/edit-post"]&&n.set("core/edit-post",s)};var _e=Se,Ee=r(8),Re=r(0),Pe=r(12),Te=r(127),xe=r(152),Ie=r(63),Ae=r.n(Ie),Ne=Object(Re.createContext)(be),ke=Ne.Consumer,De=Ne.Provider,Le=ke,Ce=De;function Me(){return Object(Re.useContext)(Ne)}var Ue=Object(Re.createContext)(!1),Ve=(Ue.Consumer,Ue.Provider);var Fe=Object(xe.createQueue)();function Ge(e,t){var r,n=Object(Re.useCallback)(e,t),o=Me(),i=Object(Re.useContext)(Ue),u=Object(Te.a)((function(){return{queue:!0}}),[o]),c=Object(Re.useReducer)((function(e){return e+1}),0),s=Object(a.a)(c,2)[1],f=Object(Re.useRef)(),l=Object(Re.useRef)(i),p=Object(Re.useRef)(),b=Object(Re.useRef)(),d=Object(Re.useRef)(),v=Object(Re.useRef)([]),O=Object(Re.useCallback)((function(e){return o.__experimentalMarkListeningStores(e,v)}),[o]),y=Object(Re.useMemo)((function(){return{}}),t||[]);try{r=f.current!==n||b.current?O((function(){return n(o.select,o)})):p.current}catch(e){var h="An error occurred while running 'mapSelect': ".concat(e.message);if(b.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(b.current.stack,"\n\n"),h+="Original stack trace:",new Error(h);console.error(h)}return Object(Pe.useIsomorphicLayoutEffect)((function(){f.current=n,p.current=r,b.current=void 0,d.current=!0,l.current!==i&&(l.current=i,Fe.flush(u))})),Object(Pe.useIsomorphicLayoutEffect)((function(){var e=function(){if(d.current){try{var e=O((function(){return f.current(o.select,o)}));if(Ae()(p.current,e))return;p.current=e}catch(e){b.current=e}s()}};l.current?Fe.add(u,e):e();var t=function(){l.current?Fe.add(u,e):e()},r=v.current.map((function(e){return o.__experimentalSubscribeStore(e,t)}));return function(){d.current=!1,r.forEach((function(e){return null==e?void 0:e()})),Fe.flush(u)}}),[o,O,y]),r}var He=function(e){return Object(Pe.createHigherOrderComponent)((function(t){return Object(Pe.pure)((function(r){var n=Ge((function(t,n){return e(t,r,n)}));return Object(Re.createElement)(t,Object(Ee.a)({},r,n))}))}),"withSelect")},Ke=function(e,t){var r=Me(),n=Object(Re.useRef)(e);return Object(Pe.useIsomorphicLayoutEffect)((function(){n.current=e})),Object(Re.useMemo)((function(){var e=n.current(r.dispatch,r);return Object(f.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=n.current(r.dispatch,r))[t].apply(e,arguments)}}))}),[r].concat(Object(x.a)(t)))},We=function(e){return Object(Pe.createHigherOrderComponent)((function(t){return function(r){var n=Ke((function(t,n){return e(t,r,n)}),[]);return Object(Re.createElement)(t,Object(Ee.a)({},r,n))}}),"withDispatch")},Xe=Object(Pe.createHigherOrderComponent)((function(e){return function(t){return Object(Re.createElement)(Le,null,(function(r){return Object(Re.createElement)(e,Object(Ee.a)({},t,{registry:r}))}))}}),"withRegistry"),Be=function(e){var t=Me().dispatch;return void 0===e?t:t(e)},Je=be.select,Ye=be.__experimentalResolveSelect,qe=be.dispatch,ze=be.subscribe,Qe=be.registerGenericStore,$e=be.registerStore,Ze=be.use,et=be.register},47:function(e,t,r){"use strict";function n(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void r(e)}c.done?t(a):Promise.resolve(a).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var u=e.apply(t,r);function c(e){n(u,o,i,c,a,"next",e)}function a(e){n(u,o,i,c,a,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},5:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},63:function(e,t){e.exports=window.wp.isShallowEqual},8:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t