diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index f85e3f5e53..c8376253a6 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' => '68e470cf840f69530e9db3be229ad4b6'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '8ef116cbb8beed8bc1da7eeb6c6e4602'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '17766b2bf644140bbb233ce86db2174c'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e5e1c1378bcb34e073986566ac756500'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4eca38a62df5f0145a5f1a78858581e7'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '3deb079b0e2403bde3764a3ee22c2d59'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', '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-warning', 'wp-wordcount'), 'version' => 'c8b6756c1d06580f6dc496a767e59eca'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', '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' => '8f0bd2f02af515c1861c8ddbac6508f0'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2fc6dec19af6d4c5e5fec8f6fdc1a10b'), '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-shortcode'), 'version' => '28d5b8f8805a22435cbdc51927067812'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', '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' => '6b6e502f785d29d6e254e5706ae7ec7c'), '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' => '058697a4c5024045c81954f411ff6dba'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'b4684a7c90f2d858ab7fa74414ad5a54'), 'customize-widgets.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-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'e38d3f45f9736b7a2a5f8de86137dbca'), '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' => 'c5f9378263e5eea9d870764c8fc1dd1b'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '8f1ca4c9b8ce97569364f3595781e718'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'a9a5af167fc60fa1bfda62582a7beb3c'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '8778985ac0dfb16f24f8ef86d0718f43'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ba466ff86449b948bf89b1d25c2ad20e'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ecda74de0221e1c2ce5c57cbb5af09d5'), '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' => 'aec3905d54d344b48f452da0da95d621'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', '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-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '971e458e054e407d030b769faf7631e2'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '7ac5bb27bb662c888b918bc66c0a0a65'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', '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' => '71e64a9977d3b4af1b207c0924974348'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'fb9def72b4f6427aa79ce1c534a205cc'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ce66e0f9acf6802317399656243ffbc4'), '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' => '5179b7561f0153d3127cffc2fc6d4a26'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e58c8c5a32b2e97491080c5b10dc71c'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '544a76db37139ce991197ce1c0e8a601'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '30fcecb428a0e8383d3776bcdd3a7834'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '77450ab7b4e5185ab453093061332216'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '77c30626bb8cf4f5306643107664a1ae'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '9fd5d44710365c520fb15d397154271b'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bdf52284155ed3fcf2d6999604be6b35'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '18fe8dfbb471a4ef452f5032317b2627'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '5a82ca49493728103b070722b35c3c21'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'e456a944f50b52b51bd573db28db83ac'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'a192d765378319e49e7d3ba821e8afa3'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '31ccba505ebf4a66b299970fad62423c'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8800e995455b762f0853c3b3abee6781'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6c3ab278bc9641b6f62731e018a4449e'), 'reusable-blocks.js' => array('dependencies' => array('lodash', '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' => '0c555ff9c438801c104eea79e73f5769'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => 'a3e3616311fad456179e52a7528ec7fd'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'eb4890f695e6a7a0560506060a152632'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7e026aec9ee5f844fe239b66b54b8865'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ea7b368befe497077dbfdf1bb6bf609d'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52ebb5d46ceac12c583cc27606583f7a'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'ad7c7de26ddc2341a6a3cf458c2c19dc'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1f17121f9d6d7d4961e1345d847b2122'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '18fe49a5f3a015c9be8cd325d3e64924'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6a22341ec4203372b399ccf210f7cc7a')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '68e470cf840f69530e9db3be229ad4b6'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '8ef116cbb8beed8bc1da7eeb6c6e4602'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '17766b2bf644140bbb233ce86db2174c'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e5e1c1378bcb34e073986566ac756500'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4eca38a62df5f0145a5f1a78858581e7'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '3deb079b0e2403bde3764a3ee22c2d59'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', '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-warning', 'wp-wordcount'), 'version' => 'c8b6756c1d06580f6dc496a767e59eca'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', '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' => '49fba42622059b5560281bac78da1c05'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => '2fc6dec19af6d4c5e5fec8f6fdc1a10b'), '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-shortcode'), 'version' => '28d5b8f8805a22435cbdc51927067812'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', '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' => '6b6e502f785d29d6e254e5706ae7ec7c'), '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' => '058697a4c5024045c81954f411ff6dba'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => 'b4684a7c90f2d858ab7fa74414ad5a54'), 'customize-widgets.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-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'e38d3f45f9736b7a2a5f8de86137dbca'), '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' => 'c5f9378263e5eea9d870764c8fc1dd1b'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => '8f1ca4c9b8ce97569364f3595781e718'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'a9a5af167fc60fa1bfda62582a7beb3c'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '8778985ac0dfb16f24f8ef86d0718f43'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ba466ff86449b948bf89b1d25c2ad20e'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ecda74de0221e1c2ce5c57cbb5af09d5'), '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' => 'aec3905d54d344b48f452da0da95d621'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', '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-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '24578b0989e0620b2bc0a97a2cb08556'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '7ac5bb27bb662c888b918bc66c0a0a65'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', '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' => '4462388364a4deca4092cf3e67a30a8b'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'fb9def72b4f6427aa79ce1c534a205cc'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'ce66e0f9acf6802317399656243ffbc4'), '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' => '5179b7561f0153d3127cffc2fc6d4a26'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e58c8c5a32b2e97491080c5b10dc71c'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '544a76db37139ce991197ce1c0e8a601'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '30fcecb428a0e8383d3776bcdd3a7834'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '77450ab7b4e5185ab453093061332216'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '77c30626bb8cf4f5306643107664a1ae'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '9fd5d44710365c520fb15d397154271b'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'bdf52284155ed3fcf2d6999604be6b35'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '18fe8dfbb471a4ef452f5032317b2627'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '5a82ca49493728103b070722b35c3c21'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'e456a944f50b52b51bd573db28db83ac'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'a192d765378319e49e7d3ba821e8afa3'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '31ccba505ebf4a66b299970fad62423c'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '8800e995455b762f0853c3b3abee6781'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6c3ab278bc9641b6f62731e018a4449e'), 'reusable-blocks.js' => array('dependencies' => array('lodash', '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' => '0c555ff9c438801c104eea79e73f5769'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => 'a3e3616311fad456179e52a7528ec7fd'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'eb4890f695e6a7a0560506060a152632'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7e026aec9ee5f844fe239b66b54b8865'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ea7b368befe497077dbfdf1bb6bf609d'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '52ebb5d46ceac12c583cc27606583f7a'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'ad7c7de26ddc2341a6a3cf458c2c19dc'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1f17121f9d6d7d4961e1345d847b2122'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '18fe49a5f3a015c9be8cd325d3e64924'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '6a22341ec4203372b399ccf210f7cc7a')); \ No newline at end of file diff --git a/wp-includes/css/dist/edit-site/style-rtl.css b/wp-includes/css/dist/edit-site/style-rtl.css index 70ddbef25c..866ad9dfe4 100644 --- a/wp-includes/css/dist/edit-site/style-rtl.css +++ b/wp-includes/css/dist/edit-site/style-rtl.css @@ -470,6 +470,10 @@ body.is-fullscreen-mode .interface-interface-skeleton { .edit-site-visual-editor.is-focus-mode .components-resizable-box__container { overflow: visible; } +.edit-site-visual-editor .components-resizable-box__container { + margin: 0 auto; + overflow: auto; +} .edit-site-visual-editor__editor-canvas { border-radius: 2px 2px 0 0; @@ -485,11 +489,6 @@ body.is-fullscreen-mode .interface-interface-skeleton { color: #f0f0f0; } -.components-resizable-box__container { - margin: 0 auto; - overflow: auto; -} - .resizable-editor__drag-handle { position: absolute; top: 0; diff --git a/wp-includes/css/dist/edit-site/style-rtl.min.css b/wp-includes/css/dist/edit-site/style-rtl.min.css index 4817005e2c..ed8abf7dee 100644 --- a/wp-includes/css/dist/edit-site/style-rtl.min.css +++ b/wp-includes/css/dist/edit-site/style-rtl.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{background-color:#2f2f2f;align-items:center}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor.is-focus-mode .components-resizable-box__container{overflow:visible}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{position:absolute;top:8px;right:8px;color:#fff}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.components-resizable-box__container{margin:0 auto;overflow:auto}.resizable-editor__drag-handle{position:absolute;top:0;bottom:0;padding:0;margin:auto 0;width:8px;height:100px;-webkit-appearance:none;appearance:none;cursor:grab;outline:none;background:#757575;border-radius:4px;border:0}.resizable-editor__drag-handle.is-left{right:-28px}.resizable-editor__drag-handle.is-right{left:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{cursor:grabbing;background:#949494}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{display:flex;align-items:center;justify-content:center;min-height:152px;line-height:1}.edit-site-global-styles-preview .component-color-indicator{border-radius:50%;border:0;height:36px;width:36px;margin-right:0;padding:0}.edit-site-typography-panel__preview{display:flex;align-items:center;justify-content:center;min-height:100px;margin-bottom:16px;background:#f0f0f0;border-radius:2px}.edit-site-global-styles-screen-typography{margin:16px}.edit-site-global-styles-screen-typography__indicator{height:24px;width:24px;font-size:14px;display:flex!important;align-items:center;justify-content:center;border-radius:2px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{margin-right:0;display:block;border-radius:50%;height:24px;width:24px;padding:0;border:1px solid #ddd;background:linear-gradient(45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0)}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{margin-bottom:0!important;text-transform:uppercase;font-weight:500!important;font-size:11px!important}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle{margin-left:16px;margin-right:16px;width:unset}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle .components-toggle-group-control{min-height:32px}h2.edit-site-global-styles-gradient-palette-panel__duotone-heading.components-heading{text-transform:uppercase;line-height:24px;font-weight:500;font-size:11px;margin-bottom:8px}.edit-site-screen-background-color__control,.edit-site-screen-link-color__control,.edit-site-screen-text-color__control{padding:16px}.edit-site-header{align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:space-between}body.is-fullscreen-mode .edit-site-header{padding-right:60px;transition:padding-right 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-duration:0s;transition-delay:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{display:flex;align-items:center;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-right:0;transition:padding-right 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-duration:0s;transition-delay:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-left:0}}.edit-site-header__toolbar{display:flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-right:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-left:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-left:0}@media (min-width:600px){.edit-site-header__actions{padding-left:16px}}.edit-site-header__actions-more-menu{margin-right:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-right:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;justify-content:center;height:100%;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-right:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0;opacity:0;padding:0;transition:all .2s ease;background:#e0e0e0;border-radius:2px}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-duration:0s;transition-delay:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{opacity:1;padding:0 4px;max-width:180px;margin-right:6px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{padding:0;min-width:240px}.edit-site-more-menu{margin-right:-4px}.edit-site-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-site-more-menu{margin-right:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-toggle{align-items:center;background:#1e1e1e;border-radius:0;display:flex;position:absolute;z-index:31;height:60px;width:60px}.edit-site-navigation-toggle__button{align-items:center;background:#1e1e1e;border-radius:0;color:#fff;height:61px;width:60px;z-index:1;margin-bottom:-1px}.edit-site-navigation-toggle__button.has-icon{min-width:60px}.edit-site-navigation-toggle__button.has-icon:active,.edit-site-navigation-toggle__button.has-icon:hover{color:#fff}.edit-site-navigation-toggle__button.has-icon:focus{box-shadow:none}.edit-site-navigation-toggle__button.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}@media (prefers-reduced-motion:reduce){.edit-site-navigation-toggle__button.has-icon:before{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-toggle__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-toggle__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-toggle__button .edit-site-navigation-toggle__site-icon{width:36px;height:36px;border-radius:2px;-o-object-fit:cover;object-fit:cover;margin-top:-1px}.edit-site-navigation-panel{height:100%;position:relative;width:0;overflow:hidden;background:#1e1e1e;color:#fff;transition:width .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.interface-interface-skeleton.has-footer .edit-site-navigation-panel{height:calc(100% - 25px)}}.edit-site-navigation-panel__inner{position:relative;width:300px;height:100%;overflow:hidden;visibility:hidden;transition:visibility .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel__inner{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-panel.is-open{width:300px}.edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner{visibility:visible}.edit-site-navigation-panel__site-title-container{height:60px;padding-right:60px;margin:0 8px 0 16px;display:flex;align-items:center}.edit-site-navigation-panel__site-title{font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:#ddd;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.edit-site-navigation-panel__scroll-container{overflow-x:hidden;overflow-y:auto;height:calc(100% - 60px)}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary{height:36px;margin-top:24px;padding:8px 8px 8px 16px}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled){border-bottom-color:transparent}.edit-site-navigation-panel__preview{display:none;border:1px solid #ccc;width:300px;padding:16px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px;position:absolute;top:73px;right:312px;color:#1e1e1e;z-index:32}@media (min-width:782px){.edit-site-navigation-panel__preview{display:block}}.edit-site-navigation-panel__template-item{display:block}.edit-site-navigation-panel__template-item .components-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:auto;min-height:36px;text-align:right;padding-right:16px;padding-left:16px;color:inherit}.edit-site-navigation-panel__template-item-title{font-size:14px;line-height:20px}.edit-site-navigation-panel__template-item-title em{margin-left:1ch}.edit-site-navigation-panel__template-part-item .components-navigation__item-title,.edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading{text-transform:capitalize}.components-navigation__item+.edit-site-navigation-panel__template-item{margin-top:16px}.edit-site-navigation-panel__template-item+.edit-site-navigation-panel__template-item{margin-top:8px}.edit-site-navigation-panel__info-wrapper{padding:4px 0}.edit-site-navigation-panel__template-item-description{padding-top:8px;font-size:12px;line-height:16px}.edit-site-navigation-panel__new-template-dropdown{margin:0 12px 0 0}.edit-site-navigation-panel__new-template-dropdown button{margin:0}@media (min-width:600px){.edit-site-navigation-panel__new-template-popover{min-width:300px}}.edit-site-list-header{position:relative;align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:flex-end;padding-left:16px}body.is-fullscreen-mode .edit-site-list-header{padding-right:60px;transition:padding-right 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-list-header{transition-duration:0s;transition-delay:0s}}.edit-site-list-header .edit-site-list-header__title{position:absolute;right:0;width:100%;text-align:center;font-size:20px;padding:0;margin:0}.edit-site-list-header__right{position:relative}.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:100%}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:0}}.edit-site .edit-site-list .interface-interface-skeleton__content{background:#fff;align-items:center;padding:16px}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__content{padding:72px}}.edit-site-list-table{width:100%;border:1px solid #ddd;border-radius:2px;margin:0;overflow:hidden;border-spacing:0;max-width:960px}.edit-site-list-table tr{display:flex;align-items:center;padding:16px;box-sizing:border-box;border-top:1px solid #f0f0f0;margin:0}.edit-site-list-table tr:first-child{border-top:0}@media (min-width:782px){.edit-site-list-table tr{padding:24px 32px}}.edit-site-list-table tr .edit-site-list-table-column:first-child{width:calc(60% - 18px);padding-left:24px}.edit-site-list-table tr .edit-site-list-table-column:first-child a{display:inline-block;text-decoration:none;font-weight:500;margin-bottom:4px}.edit-site-list-table tr .edit-site-list-table-column:nth-child(2){width:calc(40% - 18px)}.edit-site-list-table tr .edit-site-list-table-column:nth-child(3){min-width:36px;flex-shrink:0}.edit-site-list-table tr.edit-site-list-table-head{font-size:16px;font-weight:600;text-align:right;color:#1e1e1e;border-top:none;border-bottom:1px solid #ddd}.edit-site-list-table tr.edit-site-list-table-head th{font-weight:inherit}@media (min-width:782px){.edit-site-list.is-navigation-open .components-snackbar-list{margin-right:300px}}@media (min-width:782px){.edit-site-list__rename-modal .components-base-control{width:320px}}.edit-site-list__rename-modal .components-modal__header{border-bottom:none}.edit-site-list__rename-modal .components-modal__content:before{margin-bottom:4px}.edit-site-list__rename-modal-actions{margin-top:12px}.edit-site-template__actions button:not(:last-child){margin-left:8px}.edit-site-list-added-by__icon{display:flex;flex-shrink:0;position:relative;align-items:center;justify-content:center;width:32px;height:32px;background:#2f2f2f;border-radius:100%}.edit-site-list-added-by__icon svg{fill:#fff}.edit-site-list-added-by__icon.is-customized:after{position:absolute;content:"";background:var(--wp-admin-theme-color);height:8px;width:8px;outline:2px solid #fff;border-radius:100%;top:-1px;left:-1px}.edit-site-list-added-by__avatar{flex-shrink:0;overflow:hidden;border-radius:100%;background:#2f2f2f;width:32px;height:32px}.edit-site-list-added-by__avatar img{width:32px;height:32px;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-list-added-by__avatar img{transition-duration:0s;transition-delay:0s}}.edit-site-list-added-by__avatar.is-loaded img{opacity:1}.edit-site-new-template-dropdown .components-dropdown-menu__toggle{padding:6px 12px}@media (min-width:600px){.edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover{min-width:300px}}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-right:0;border-left:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-right:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-right:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{padding-top:24px;border-top:1px solid #e0e0e0}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel,.edit-site-global-styles-gradient-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{display:inline-flex;margin-right:8px;padding:0 8px;height:24px;border-radius:2px;background-color:#000;color:#fff;align-items:center;font-size:12px;line-height:1}.components-panel__header.edit-site-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-site-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{display:flex;align-items:flex-start}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;margin-left:12px;width:24px;height:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}html #wpadminbar{display:none}html.wp-toolbar{padding-top:0}.edit-site-editor__toggle-save-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{top:auto;bottom:0}.edit-site-visual-editor{position:relative;height:100%;display:block}.edit-site-visual-editor iframe{display:block;width:100%;height:100%;background-color:#fff}.edit-site .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{right:160px}}.folded .edit-site .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{right:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{margin:12px 0 0;color:#757575}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{position:absolute;left:0;top:0;bottom:0;margin:auto 0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:right}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{display:flex;justify-content:center;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-create-template-part-modal{z-index:1000001}@media (min-width:600px){.edit-site-create-template-part-modal .components-modal__frame{max-width:500px}}.edit-site-create-template-part-modal__modal-actions{padding-top:12px}.edit-site-create-template-part-modal__area-base-control .components-base-control__label{margin:16px 0 8px;cursor:auto}.edit-site-create-template-part-modal__area-radio-group{width:100%;border:1px solid #757575;border-radius:2px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio{display:block;width:100%;height:100%;text-align:right;padding:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover{margin:0;background-color:inherit;border-bottom:1px solid #757575;border-radius:0}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:focus){box-shadow:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:focus{border-bottom:1px solid #fff}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:last-of-type{border-bottom:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover) .edit-site-create-template-part-modal__option-label div,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] .edit-site-create-template-part-modal__option-label div{color:#949494}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label{padding-top:4px;white-space:normal}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label div{padding-top:4px;font-size:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__checkbox{margin-right:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}.edit-site-welcome-guide{width:312px}.edit-site-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-site-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-site-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-site-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 16px;padding:0 32px}.edit-site-welcome-guide__text img{vertical-align:bottom}.edit-site-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}body.appearance_page_gutenberg-edit-site,body.site-editor-php,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent,body.site-editor-php #wpcontent{padding-right:0}body.appearance_page_gutenberg-edit-site #wpbody-content,body.site-editor-php #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter,body.site-editor-php #wpbody-content>div:not(.edit-site):not(#screen-meta),body.site-editor-php #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region,body.site-editor-php .a11y-speak-region{right:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after,body.site-editor-php ul#adminmenu>li.current>a.current:after,body.site-editor-php ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type,body.site-editor-php .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;right:0;min-height:100vh;position:absolute;left:0;top:0}}.edit-site .interface-interface-skeleton{top:0}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-left:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-left:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-right:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-right:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;left:10px;bottom:10px;right:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-right:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{right:0}@media (min-width:783px){.interface-interface-skeleton{right:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{right:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{right:160px}}.folded .interface-interface-skeleton{right:0}@media (min-width:783px){.folded .interface-interface-skeleton{right:36px}}body.is-fullscreen-mode .interface-interface-skeleton{right:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-right:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-left:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;right:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-right:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-right:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-right:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{background-color:#2f2f2f;align-items:center}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor.is-focus-mode .components-resizable-box__container{overflow:visible}.edit-site-visual-editor .components-resizable-box__container{margin:0 auto;overflow:auto}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{position:absolute;top:8px;right:8px;color:#fff}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.resizable-editor__drag-handle{position:absolute;top:0;bottom:0;padding:0;margin:auto 0;width:8px;height:100px;-webkit-appearance:none;appearance:none;cursor:grab;outline:none;background:#757575;border-radius:4px;border:0}.resizable-editor__drag-handle.is-left{right:-28px}.resizable-editor__drag-handle.is-right{left:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{cursor:grabbing;background:#949494}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{display:flex;align-items:center;justify-content:center;min-height:152px;line-height:1}.edit-site-global-styles-preview .component-color-indicator{border-radius:50%;border:0;height:36px;width:36px;margin-right:0;padding:0}.edit-site-typography-panel__preview{display:flex;align-items:center;justify-content:center;min-height:100px;margin-bottom:16px;background:#f0f0f0;border-radius:2px}.edit-site-global-styles-screen-typography{margin:16px}.edit-site-global-styles-screen-typography__indicator{height:24px;width:24px;font-size:14px;display:flex!important;align-items:center;justify-content:center;border-radius:2px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{margin-right:0;display:block;border-radius:50%;height:24px;width:24px;padding:0;border:1px solid #ddd;background:linear-gradient(45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0)}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{margin-bottom:0!important;text-transform:uppercase;font-weight:500!important;font-size:11px!important}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle{margin-left:16px;margin-right:16px;width:unset}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle .components-toggle-group-control{min-height:32px}h2.edit-site-global-styles-gradient-palette-panel__duotone-heading.components-heading{text-transform:uppercase;line-height:24px;font-weight:500;font-size:11px;margin-bottom:8px}.edit-site-screen-background-color__control,.edit-site-screen-link-color__control,.edit-site-screen-text-color__control{padding:16px}.edit-site-header{align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:space-between}body.is-fullscreen-mode .edit-site-header{padding-right:60px;transition:padding-right 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-duration:0s;transition-delay:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{display:flex;align-items:center;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-right:0;transition:padding-right 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-duration:0s;transition-delay:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-left:0}}.edit-site-header__toolbar{display:flex;align-items:center;padding-right:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-right:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-left:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{margin-left:8px;min-width:32px;width:32px;height:32px;padding:0}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(-45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{display:inline-flex;align-items:center;flex-wrap:wrap;padding-left:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-left:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-left:0}@media (min-width:600px){.edit-site-header__actions{padding-left:16px}}.edit-site-header__actions-more-menu{margin-right:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-right:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;justify-content:center;height:100%;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-right:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0;opacity:0;padding:0;transition:all .2s ease;background:#e0e0e0;border-radius:2px}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-duration:0s;transition-delay:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{opacity:1;padding:0 4px;max-width:180px;margin-right:6px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{padding:0;min-width:240px}.edit-site-more-menu{margin-right:-4px}.edit-site-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-site-more-menu{margin-right:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-toggle{align-items:center;background:#1e1e1e;border-radius:0;display:flex;position:absolute;z-index:31;height:60px;width:60px}.edit-site-navigation-toggle__button{align-items:center;background:#1e1e1e;border-radius:0;color:#fff;height:61px;width:60px;z-index:1;margin-bottom:-1px}.edit-site-navigation-toggle__button.has-icon{min-width:60px}.edit-site-navigation-toggle__button.has-icon:active,.edit-site-navigation-toggle__button.has-icon:hover{color:#fff}.edit-site-navigation-toggle__button.has-icon:focus{box-shadow:none}.edit-site-navigation-toggle__button.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;left:9px;bottom:9px;right:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}@media (prefers-reduced-motion:reduce){.edit-site-navigation-toggle__button.has-icon:before{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-toggle__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-toggle__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-toggle__button .edit-site-navigation-toggle__site-icon{width:36px;height:36px;border-radius:2px;-o-object-fit:cover;object-fit:cover;margin-top:-1px}.edit-site-navigation-panel{height:100%;position:relative;width:0;overflow:hidden;background:#1e1e1e;color:#fff;transition:width .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.interface-interface-skeleton.has-footer .edit-site-navigation-panel{height:calc(100% - 25px)}}.edit-site-navigation-panel__inner{position:relative;width:300px;height:100%;overflow:hidden;visibility:hidden;transition:visibility .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel__inner{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-panel.is-open{width:300px}.edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner{visibility:visible}.edit-site-navigation-panel__site-title-container{height:60px;padding-right:60px;margin:0 8px 0 16px;display:flex;align-items:center}.edit-site-navigation-panel__site-title{font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:#ddd;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.edit-site-navigation-panel__scroll-container{overflow-x:hidden;overflow-y:auto;height:calc(100% - 60px)}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary{height:36px;margin-top:24px;padding:8px 8px 8px 16px}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled){border-bottom-color:transparent}.edit-site-navigation-panel__preview{display:none;border:1px solid #ccc;width:300px;padding:16px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px;position:absolute;top:73px;right:312px;color:#1e1e1e;z-index:32}@media (min-width:782px){.edit-site-navigation-panel__preview{display:block}}.edit-site-navigation-panel__template-item{display:block}.edit-site-navigation-panel__template-item .components-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:auto;min-height:36px;text-align:right;padding-right:16px;padding-left:16px;color:inherit}.edit-site-navigation-panel__template-item-title{font-size:14px;line-height:20px}.edit-site-navigation-panel__template-item-title em{margin-left:1ch}.edit-site-navigation-panel__template-part-item .components-navigation__item-title,.edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading{text-transform:capitalize}.components-navigation__item+.edit-site-navigation-panel__template-item{margin-top:16px}.edit-site-navigation-panel__template-item+.edit-site-navigation-panel__template-item{margin-top:8px}.edit-site-navigation-panel__info-wrapper{padding:4px 0}.edit-site-navigation-panel__template-item-description{padding-top:8px;font-size:12px;line-height:16px}.edit-site-navigation-panel__new-template-dropdown{margin:0 12px 0 0}.edit-site-navigation-panel__new-template-dropdown button{margin:0}@media (min-width:600px){.edit-site-navigation-panel__new-template-popover{min-width:300px}}.edit-site-list-header{position:relative;align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:flex-end;padding-left:16px}body.is-fullscreen-mode .edit-site-list-header{padding-right:60px;transition:padding-right 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-list-header{transition-duration:0s;transition-delay:0s}}.edit-site-list-header .edit-site-list-header__title{position:absolute;right:0;width:100%;text-align:center;font-size:20px;padding:0;margin:0}.edit-site-list-header__right{position:relative}.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:100%}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:0}}.edit-site .edit-site-list .interface-interface-skeleton__content{background:#fff;align-items:center;padding:16px}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__content{padding:72px}}.edit-site-list-table{width:100%;border:1px solid #ddd;border-radius:2px;margin:0;overflow:hidden;border-spacing:0;max-width:960px}.edit-site-list-table tr{display:flex;align-items:center;padding:16px;box-sizing:border-box;border-top:1px solid #f0f0f0;margin:0}.edit-site-list-table tr:first-child{border-top:0}@media (min-width:782px){.edit-site-list-table tr{padding:24px 32px}}.edit-site-list-table tr .edit-site-list-table-column:first-child{width:calc(60% - 18px);padding-left:24px}.edit-site-list-table tr .edit-site-list-table-column:first-child a{display:inline-block;text-decoration:none;font-weight:500;margin-bottom:4px}.edit-site-list-table tr .edit-site-list-table-column:nth-child(2){width:calc(40% - 18px)}.edit-site-list-table tr .edit-site-list-table-column:nth-child(3){min-width:36px;flex-shrink:0}.edit-site-list-table tr.edit-site-list-table-head{font-size:16px;font-weight:600;text-align:right;color:#1e1e1e;border-top:none;border-bottom:1px solid #ddd}.edit-site-list-table tr.edit-site-list-table-head th{font-weight:inherit}@media (min-width:782px){.edit-site-list.is-navigation-open .components-snackbar-list{margin-right:300px}}@media (min-width:782px){.edit-site-list__rename-modal .components-base-control{width:320px}}.edit-site-list__rename-modal .components-modal__header{border-bottom:none}.edit-site-list__rename-modal .components-modal__content:before{margin-bottom:4px}.edit-site-list__rename-modal-actions{margin-top:12px}.edit-site-template__actions button:not(:last-child){margin-left:8px}.edit-site-list-added-by__icon{display:flex;flex-shrink:0;position:relative;align-items:center;justify-content:center;width:32px;height:32px;background:#2f2f2f;border-radius:100%}.edit-site-list-added-by__icon svg{fill:#fff}.edit-site-list-added-by__icon.is-customized:after{position:absolute;content:"";background:var(--wp-admin-theme-color);height:8px;width:8px;outline:2px solid #fff;border-radius:100%;top:-1px;left:-1px}.edit-site-list-added-by__avatar{flex-shrink:0;overflow:hidden;border-radius:100%;background:#2f2f2f;width:32px;height:32px}.edit-site-list-added-by__avatar img{width:32px;height:32px;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-list-added-by__avatar img{transition-duration:0s;transition-delay:0s}}.edit-site-list-added-by__avatar.is-loaded img{opacity:1}.edit-site-new-template-dropdown .components-dropdown-menu__toggle{padding:6px 12px}@media (min-width:600px){.edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover{min-width:300px}}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-right:0;border-left:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-right:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-right:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{padding-top:24px;border-top:1px solid #e0e0e0}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel,.edit-site-global-styles-gradient-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{display:inline-flex;margin-right:8px;padding:0 8px;height:24px;border-radius:2px;background-color:#000;color:#fff;align-items:center;font-size:12px;line-height:1}.components-panel__header.edit-site-sidebar__panel-tabs{justify-content:flex-start;padding-right:0;padding-left:16px;border-top:0;margin-top:0}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 auto 0 0;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-right:0;font-weight:500}.components-button.edit-site-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;left:0;right:0;border-bottom:4px solid transparent}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{display:flex;align-items:flex-start}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;margin-left:12px;width:24px;height:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}html #wpadminbar{display:none}html.wp-toolbar{padding-top:0}.edit-site-editor__toggle-save-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{top:auto;bottom:0}.edit-site-visual-editor{position:relative;height:100%;display:block}.edit-site-visual-editor iframe{display:block;width:100%;height:100%;background-color:#fff}.edit-site .components-editor-notices__snackbar{position:fixed;left:0;bottom:40px;padding-right:16px;padding-left:16px;right:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{right:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{right:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{right:160px}}.folded .edit-site .components-editor-notices__snackbar{right:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{right:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{right:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{margin:12px 0 0;color:#757575}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{position:absolute;left:0;top:0;bottom:0;margin:auto 0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:right}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{display:flex;justify-content:center;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-create-template-part-modal{z-index:1000001}@media (min-width:600px){.edit-site-create-template-part-modal .components-modal__frame{max-width:500px}}.edit-site-create-template-part-modal__modal-actions{padding-top:12px}.edit-site-create-template-part-modal__area-base-control .components-base-control__label{margin:16px 0 8px;cursor:auto}.edit-site-create-template-part-modal__area-radio-group{width:100%;border:1px solid #757575;border-radius:2px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio{display:block;width:100%;height:100%;text-align:right;padding:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover{margin:0;background-color:inherit;border-bottom:1px solid #757575;border-radius:0}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:focus){box-shadow:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:focus{border-bottom:1px solid #fff}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:last-of-type{border-bottom:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover) .edit-site-create-template-part-modal__option-label div,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] .edit-site-create-template-part-modal__option-label div{color:#949494}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label{padding-top:4px;white-space:normal}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label div{padding-top:4px;font-size:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__checkbox{margin-right:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{padding-top:8px;padding-left:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-right:16px;padding-left:4px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}.edit-site-welcome-guide{width:312px}.edit-site-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-site-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-site-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-site-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 16px;padding:0 32px}.edit-site-welcome-guide__text img{vertical-align:bottom}.edit-site-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}body.appearance_page_gutenberg-edit-site,body.site-editor-php,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent,body.site-editor-php #wpcontent{padding-right:0}body.appearance_page_gutenberg-edit-site #wpbody-content,body.site-editor-php #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter,body.site-editor-php #wpbody-content>div:not(.edit-site):not(#screen-meta),body.site-editor-php #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region,body.site-editor-php .a11y-speak-region{right:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after,body.site-editor-php ul#adminmenu>li.current>a.current:after,body.site-editor-php ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type,body.site-editor-php .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;right:0;min-height:100vh;position:absolute;left:0;top:0}}.edit-site .interface-interface-skeleton{top:0}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/css/dist/edit-site/style.css b/wp-includes/css/dist/edit-site/style.css index 0ad33dd7df..eb0be7de21 100644 --- a/wp-includes/css/dist/edit-site/style.css +++ b/wp-includes/css/dist/edit-site/style.css @@ -470,6 +470,10 @@ body.is-fullscreen-mode .interface-interface-skeleton { .edit-site-visual-editor.is-focus-mode .components-resizable-box__container { overflow: visible; } +.edit-site-visual-editor .components-resizable-box__container { + margin: 0 auto; + overflow: auto; +} .edit-site-visual-editor__editor-canvas { border-radius: 2px 2px 0 0; @@ -485,11 +489,6 @@ body.is-fullscreen-mode .interface-interface-skeleton { color: #f0f0f0; } -.components-resizable-box__container { - margin: 0 auto; - overflow: auto; -} - .resizable-editor__drag-handle { position: absolute; top: 0; diff --git a/wp-includes/css/dist/edit-site/style.min.css b/wp-includes/css/dist/edit-site/style.min.css index 43d927cf50..f51977c8e7 100644 --- a/wp-includes/css/dist/edit-site/style.min.css +++ b/wp-includes/css/dist/edit-site/style.min.css @@ -1 +1 @@ -:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{background-color:#2f2f2f;align-items:center}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor.is-focus-mode .components-resizable-box__container{overflow:visible}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{position:absolute;top:8px;left:8px;color:#fff}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.components-resizable-box__container{margin:0 auto;overflow:auto}.resizable-editor__drag-handle{position:absolute;top:0;bottom:0;padding:0;margin:auto 0;width:8px;height:100px;-webkit-appearance:none;appearance:none;cursor:grab;outline:none;background:#757575;border-radius:4px;border:0}.resizable-editor__drag-handle.is-left{left:-28px}.resizable-editor__drag-handle.is-right{right:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{cursor:grabbing;background:#949494}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{display:flex;align-items:center;justify-content:center;min-height:152px;line-height:1}.edit-site-global-styles-preview .component-color-indicator{border-radius:50%;border:0;height:36px;width:36px;margin-left:0;padding:0}.edit-site-typography-panel__preview{display:flex;align-items:center;justify-content:center;min-height:100px;margin-bottom:16px;background:#f0f0f0;border-radius:2px}.edit-site-global-styles-screen-typography{margin:16px}.edit-site-global-styles-screen-typography__indicator{height:24px;width:24px;font-size:14px;display:flex!important;align-items:center;justify-content:center;border-radius:2px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{margin-left:0;display:block;border-radius:50%;height:24px;width:24px;padding:0;border:1px solid #ddd;background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0)}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{margin-bottom:0!important;text-transform:uppercase;font-weight:500!important;font-size:11px!important}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle{margin-right:16px;margin-left:16px;width:unset}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle .components-toggle-group-control{min-height:32px}h2.edit-site-global-styles-gradient-palette-panel__duotone-heading.components-heading{text-transform:uppercase;line-height:24px;font-weight:500;font-size:11px;margin-bottom:8px}.edit-site-screen-background-color__control,.edit-site-screen-link-color__control,.edit-site-screen-text-color__control{padding:16px}.edit-site-header{align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:space-between}body.is-fullscreen-mode .edit-site-header{padding-left:60px;transition:padding-left 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-duration:0s;transition-delay:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{display:flex;align-items:center;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-left:0;transition:padding-left 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-duration:0s;transition-delay:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-right:0}}.edit-site-header__toolbar{display:flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-left:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-right:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-right:0}@media (min-width:600px){.edit-site-header__actions{padding-right:16px}}.edit-site-header__actions-more-menu{margin-left:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-left:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;justify-content:center;height:100%;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-left:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0;opacity:0;padding:0;transition:all .2s ease;background:#e0e0e0;border-radius:2px}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-duration:0s;transition-delay:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{opacity:1;padding:0 4px;max-width:180px;margin-left:6px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{padding:0;min-width:240px}.edit-site-more-menu{margin-left:-4px}.edit-site-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-site-more-menu{margin-left:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-toggle{align-items:center;background:#1e1e1e;border-radius:0;display:flex;position:absolute;z-index:31;height:60px;width:60px}.edit-site-navigation-toggle__button{align-items:center;background:#1e1e1e;border-radius:0;color:#fff;height:61px;width:60px;z-index:1;margin-bottom:-1px}.edit-site-navigation-toggle__button.has-icon{min-width:60px}.edit-site-navigation-toggle__button.has-icon:active,.edit-site-navigation-toggle__button.has-icon:hover{color:#fff}.edit-site-navigation-toggle__button.has-icon:focus{box-shadow:none}.edit-site-navigation-toggle__button.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}@media (prefers-reduced-motion:reduce){.edit-site-navigation-toggle__button.has-icon:before{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-toggle__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-toggle__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-toggle__button .edit-site-navigation-toggle__site-icon{width:36px;height:36px;border-radius:2px;-o-object-fit:cover;object-fit:cover;margin-top:-1px}.edit-site-navigation-panel{height:100%;position:relative;width:0;overflow:hidden;background:#1e1e1e;color:#fff;transition:width .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.interface-interface-skeleton.has-footer .edit-site-navigation-panel{height:calc(100% - 25px)}}.edit-site-navigation-panel__inner{position:relative;width:300px;height:100%;overflow:hidden;visibility:hidden;transition:visibility .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel__inner{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-panel.is-open{width:300px}.edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner{visibility:visible}.edit-site-navigation-panel__site-title-container{height:60px;padding-left:60px;margin:0 16px 0 8px;display:flex;align-items:center}.edit-site-navigation-panel__site-title{font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:#ddd;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.edit-site-navigation-panel__scroll-container{overflow-x:hidden;overflow-y:auto;height:calc(100% - 60px)}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary{height:36px;margin-top:24px;padding:8px 16px 8px 8px}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled){border-bottom-color:transparent}.edit-site-navigation-panel__preview{display:none;border:1px solid #ccc;width:300px;padding:16px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px;position:absolute;top:73px;left:312px;color:#1e1e1e;z-index:32}@media (min-width:782px){.edit-site-navigation-panel__preview{display:block}}.edit-site-navigation-panel__template-item{display:block}.edit-site-navigation-panel__template-item .components-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:auto;min-height:36px;text-align:left;padding-left:16px;padding-right:16px;color:inherit}.edit-site-navigation-panel__template-item-title{font-size:14px;line-height:20px}.edit-site-navigation-panel__template-item-title em{margin-right:1ch}.edit-site-navigation-panel__template-part-item .components-navigation__item-title,.edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading{text-transform:capitalize}.components-navigation__item+.edit-site-navigation-panel__template-item{margin-top:16px}.edit-site-navigation-panel__template-item+.edit-site-navigation-panel__template-item{margin-top:8px}.edit-site-navigation-panel__info-wrapper{padding:4px 0}.edit-site-navigation-panel__template-item-description{padding-top:8px;font-size:12px;line-height:16px}.edit-site-navigation-panel__new-template-dropdown{margin:0 0 0 12px}.edit-site-navigation-panel__new-template-dropdown button{margin:0}@media (min-width:600px){.edit-site-navigation-panel__new-template-popover{min-width:300px}}.edit-site-list-header{position:relative;align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:flex-end;padding-right:16px}body.is-fullscreen-mode .edit-site-list-header{padding-left:60px;transition:padding-left 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-list-header{transition-duration:0s;transition-delay:0s}}.edit-site-list-header .edit-site-list-header__title{position:absolute;left:0;width:100%;text-align:center;font-size:20px;padding:0;margin:0}.edit-site-list-header__right{position:relative}.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:100%}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:0}}.edit-site .edit-site-list .interface-interface-skeleton__content{background:#fff;align-items:center;padding:16px}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__content{padding:72px}}.edit-site-list-table{width:100%;border:1px solid #ddd;border-radius:2px;margin:0;overflow:hidden;border-spacing:0;max-width:960px}.edit-site-list-table tr{display:flex;align-items:center;padding:16px;box-sizing:border-box;border-top:1px solid #f0f0f0;margin:0}.edit-site-list-table tr:first-child{border-top:0}@media (min-width:782px){.edit-site-list-table tr{padding:24px 32px}}.edit-site-list-table tr .edit-site-list-table-column:first-child{width:calc(60% - 18px);padding-right:24px}.edit-site-list-table tr .edit-site-list-table-column:first-child a{display:inline-block;text-decoration:none;font-weight:500;margin-bottom:4px}.edit-site-list-table tr .edit-site-list-table-column:nth-child(2){width:calc(40% - 18px)}.edit-site-list-table tr .edit-site-list-table-column:nth-child(3){min-width:36px;flex-shrink:0}.edit-site-list-table tr.edit-site-list-table-head{font-size:16px;font-weight:600;text-align:left;color:#1e1e1e;border-top:none;border-bottom:1px solid #ddd}.edit-site-list-table tr.edit-site-list-table-head th{font-weight:inherit}@media (min-width:782px){.edit-site-list.is-navigation-open .components-snackbar-list{margin-left:300px}}@media (min-width:782px){.edit-site-list__rename-modal .components-base-control{width:320px}}.edit-site-list__rename-modal .components-modal__header{border-bottom:none}.edit-site-list__rename-modal .components-modal__content:before{margin-bottom:4px}.edit-site-list__rename-modal-actions{margin-top:12px}.edit-site-template__actions button:not(:last-child){margin-right:8px}.edit-site-list-added-by__icon{display:flex;flex-shrink:0;position:relative;align-items:center;justify-content:center;width:32px;height:32px;background:#2f2f2f;border-radius:100%}.edit-site-list-added-by__icon svg{fill:#fff}.edit-site-list-added-by__icon.is-customized:after{position:absolute;content:"";background:var(--wp-admin-theme-color);height:8px;width:8px;outline:2px solid #fff;border-radius:100%;top:-1px;right:-1px}.edit-site-list-added-by__avatar{flex-shrink:0;overflow:hidden;border-radius:100%;background:#2f2f2f;width:32px;height:32px}.edit-site-list-added-by__avatar img{width:32px;height:32px;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-list-added-by__avatar img{transition-duration:0s;transition-delay:0s}}.edit-site-list-added-by__avatar.is-loaded img{opacity:1}.edit-site-new-template-dropdown .components-dropdown-menu__toggle{padding:6px 12px}@media (min-width:600px){.edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover{min-width:300px}}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-left:0;border-right:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-left:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-left:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{padding-top:24px;border-top:1px solid #e0e0e0}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel,.edit-site-global-styles-gradient-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{display:inline-flex;margin-left:8px;padding:0 8px;height:24px;border-radius:2px;background-color:#000;color:#fff;align-items:center;font-size:12px;line-height:1}.components-panel__header.edit-site-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-site-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{display:flex;align-items:flex-start}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;margin-right:12px;width:24px;height:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}html #wpadminbar{display:none}html.wp-toolbar{padding-top:0}.edit-site-editor__toggle-save-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{top:auto;bottom:0}.edit-site-visual-editor{position:relative;height:100%;display:block}.edit-site-visual-editor iframe{display:block;width:100%;height:100%;background-color:#fff}.edit-site .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{left:160px}}.folded .edit-site .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{left:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{margin:12px 0 0;color:#757575}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{position:absolute;right:0;top:0;bottom:0;margin:auto 0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:left}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{display:flex;justify-content:center;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-create-template-part-modal{z-index:1000001}@media (min-width:600px){.edit-site-create-template-part-modal .components-modal__frame{max-width:500px}}.edit-site-create-template-part-modal__modal-actions{padding-top:12px}.edit-site-create-template-part-modal__area-base-control .components-base-control__label{margin:16px 0 8px;cursor:auto}.edit-site-create-template-part-modal__area-radio-group{width:100%;border:1px solid #757575;border-radius:2px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio{display:block;width:100%;height:100%;text-align:left;padding:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover{margin:0;background-color:inherit;border-bottom:1px solid #757575;border-radius:0}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:focus){box-shadow:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:focus{border-bottom:1px solid #fff}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:last-of-type{border-bottom:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover) .edit-site-create-template-part-modal__option-label div,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] .edit-site-create-template-part-modal__option-label div{color:#949494}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label{padding-top:4px;white-space:normal}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label div{padding-top:4px;font-size:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__checkbox{margin-left:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}.edit-site-welcome-guide{width:312px}.edit-site-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-site-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-site-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-site-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 16px;padding:0 32px}.edit-site-welcome-guide__text img{vertical-align:bottom}.edit-site-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}body.appearance_page_gutenberg-edit-site,body.site-editor-php,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent,body.site-editor-php #wpcontent{padding-left:0}body.appearance_page_gutenberg-edit-site #wpbody-content,body.site-editor-php #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter,body.site-editor-php #wpbody-content>div:not(.edit-site):not(#screen-meta),body.site-editor-php #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region,body.site-editor-php .a11y-speak-region{left:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after,body.site-editor-php ul#adminmenu>li.current>a.current:after,body.site-editor-php ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type,body.site-editor-php .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;left:0;min-height:100vh;position:absolute;right:0;top:0}}.edit-site .interface-interface-skeleton{top:0}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file +:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-panel__header.interface-complementary-area-header__small{background:#fff;padding-right:4px}.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}@media (min-width:782px){.components-panel__header.interface-complementary-area-header__small{display:none}}.interface-complementary-area-header{background:#fff;padding-right:4px}.interface-complementary-area-header .components-button.has-icon{display:none;margin-left:auto}.interface-complementary-area-header .components-button.has-icon~.components-button{margin-left:0}@media (min-width:782px){.interface-complementary-area-header .components-button.has-icon{display:flex}}@media (min-width:782px){.components-panel__header+.interface-complementary-area-header{margin-top:0}}.interface-complementary-area{background:#fff;color:#1e1e1e}@media (min-width:600px){.interface-complementary-area{-webkit-overflow-scrolling:touch}}@media (min-width:782px){.interface-complementary-area{width:280px}}.interface-complementary-area .components-panel{border:none;position:relative;z-index:0}.interface-complementary-area .components-panel__header{position:sticky;top:0;z-index:1}.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:48px}@media (min-width:782px){.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs{top:0}}.interface-complementary-area p{margin-top:0}.interface-complementary-area h2{font-size:13px;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area h3{font-size:11px;text-transform:uppercase;font-weight:500;color:#1e1e1e;margin-bottom:1.5em}.interface-complementary-area hr{border-top:none;border-bottom:1px solid #f0f0f0;margin:1.5em 0}.interface-complementary-area div.components-toolbar,.interface-complementary-area div.components-toolbar-group{box-shadow:none;margin-bottom:1.5em}.interface-complementary-area div.components-toolbar-group:last-child,.interface-complementary-area div.components-toolbar:last-child{margin-bottom:0}.interface-complementary-area .block-editor-skip-to-selected-block:focus{top:auto;right:10px;bottom:10px;left:auto}@media (min-width:782px){body.js.is-fullscreen-mode{margin-top:-32px;height:calc(100% + 32px)}body.js.is-fullscreen-mode #adminmenumain,body.js.is-fullscreen-mode #wpadminbar{display:none}body.js.is-fullscreen-mode #wpcontent,body.js.is-fullscreen-mode #wpfooter{margin-left:0}}html.interface-interface-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.interface-interface-skeleton__html-container{position:static;width:auto}}.interface-interface-skeleton{display:flex;flex-direction:row;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:783px){.interface-interface-skeleton{top:32px}.is-fullscreen-mode .interface-interface-skeleton{top:0}}.interface-interface-skeleton__editor{display:flex;flex-direction:column;flex:0 1 100%;overflow:hidden}.interface-interface-skeleton{left:0}@media (min-width:783px){.interface-interface-skeleton{left:160px}}@media (min-width:783px){.auto-fold .interface-interface-skeleton{left:36px}}@media (min-width:961px){.auto-fold .interface-interface-skeleton{left:160px}}.folded .interface-interface-skeleton{left:0}@media (min-width:783px){.folded .interface-interface-skeleton{left:36px}}body.is-fullscreen-mode .interface-interface-skeleton{left:0!important}.interface-interface-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}@media (min-width:782px){.has-footer .interface-interface-skeleton__body{padding-bottom:25px}}.interface-interface-skeleton__content{flex-grow:1;display:flex;flex-direction:column;overflow:auto;z-index:20}.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{display:block;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff;color:#1e1e1e}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar,.interface-interface-skeleton__sidebar{position:relative!important;z-index:90;width:auto}}.interface-interface-skeleton__sidebar{overflow:auto}@media (min-width:782px){.interface-interface-skeleton__sidebar{border-left:1px solid #e0e0e0}}@media (min-width:782px){.interface-interface-skeleton__secondary-sidebar{border-right:1px solid #e0e0e0}}.interface-interface-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e0e0e0;z-index:30;color:#1e1e1e}.interface-interface-skeleton__footer{height:auto;flex-shrink:0;border-top:1px solid #e0e0e0;color:#1e1e1e;position:absolute;bottom:0;left:0;width:100%;background-color:#fff;z-index:90;display:none}@media (min-width:782px){.interface-interface-skeleton__footer{display:flex}}.interface-interface-skeleton__footer .block-editor-block-breadcrumb{z-index:30;display:flex;background:#fff;height:24px;align-items:center;font-size:13px;padding:0 18px}.interface-interface-skeleton__actions{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;color:#1e1e1e}.interface-interface-skeleton__actions:focus{top:auto;bottom:0}.interface-more-menu-dropdown{margin-left:-4px}.interface-more-menu-dropdown .components-button{width:auto;padding:0 2px}@media (min-width:600px){.interface-more-menu-dropdown{margin-left:0}.interface-more-menu-dropdown .components-button{padding:0 4px}}.interface-more-menu-dropdown__content .components-popover__content{min-width:280px}@media (min-width:480px){.interface-more-menu-dropdown__content .components-popover__content{width:auto;max-width:480px}}.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.interface-more-menu-dropdown__content{z-index:99998}.interface-pinned-items{display:flex}.interface-pinned-items .components-button:not(:first-child){display:none}@media (min-width:600px){.interface-pinned-items .components-button:not(:first-child){display:flex}}.interface-pinned-items .components-button{margin-left:4px}.interface-pinned-items .components-button svg{max-width:24px;max-height:24px}.edit-site-block-editor__editor-styles-wrapper .components-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:6px 12px}.edit-site-block-editor__editor-styles-wrapper .components-button.has-icon,.edit-site-block-editor__editor-styles-wrapper .components-button.is-tertiary{padding:6px}.edit-site-visual-editor{background-color:#2f2f2f;align-items:center}.edit-site-visual-editor.is-focus-mode{padding:48px}.edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas{border-radius:2px}.edit-site-visual-editor.is-focus-mode .components-resizable-box__container{overflow:visible}.edit-site-visual-editor .components-resizable-box__container{margin:0 auto;overflow:auto}.edit-site-visual-editor__editor-canvas{border-radius:2px 2px 0 0}.edit-site-visual-editor__back-button{position:absolute;top:8px;left:8px;color:#fff}.edit-site-visual-editor__back-button:active:not([aria-disabled=true]),.edit-site-visual-editor__back-button:focus:not([aria-disabled=true]),.edit-site-visual-editor__back-button:hover{color:#f0f0f0}.resizable-editor__drag-handle{position:absolute;top:0;bottom:0;padding:0;margin:auto 0;width:8px;height:100px;-webkit-appearance:none;appearance:none;cursor:grab;outline:none;background:#757575;border-radius:4px;border:0}.resizable-editor__drag-handle.is-left{left:-28px}.resizable-editor__drag-handle.is-right{right:-28px}.resizable-editor__drag-handle:hover{background:#949494}.resizable-editor__drag-handle:active{cursor:grabbing;background:#949494}.resizable-editor__drag-handle:focus{box-shadow:0 0 0 1px #2f2f2f,0 0 0 calc(var(--wp-admin-border-width-focus) + 1px) var(--wp-admin-theme-color)}.edit-site-global-styles-preview{display:flex;align-items:center;justify-content:center;min-height:152px;line-height:1}.edit-site-global-styles-preview .component-color-indicator{border-radius:50%;border:0;height:36px;width:36px;margin-left:0;padding:0}.edit-site-typography-panel__preview{display:flex;align-items:center;justify-content:center;min-height:100px;margin-bottom:16px;background:#f0f0f0;border-radius:2px}.edit-site-global-styles-screen-typography{margin:16px}.edit-site-global-styles-screen-typography__indicator{height:24px;width:24px;font-size:14px;display:flex!important;align-items:center;justify-content:center;border-radius:2px}.edit-site-global-styles-screen-colors{margin:16px}.edit-site-global-styles-screen-colors .component-color-indicator{margin-left:0;display:block;border-radius:50%;height:24px;width:24px;padding:0;border:1px solid #ddd;background:linear-gradient(-45deg,transparent 48%,#ddd 0,#ddd 52%,transparent 0)}.edit-site-global-styles-header__description{padding:0 16px}.edit-site-global-styles-subtitle{margin-bottom:0!important;text-transform:uppercase;font-weight:500!important;font-size:11px!important}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle{margin-right:16px;margin-left:16px;width:unset}.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle .components-toggle-group-control{min-height:32px}h2.edit-site-global-styles-gradient-palette-panel__duotone-heading.components-heading{text-transform:uppercase;line-height:24px;font-weight:500;font-size:11px;margin-bottom:8px}.edit-site-screen-background-color__control,.edit-site-screen-link-color__control,.edit-site-screen-text-color__control{padding:16px}.edit-site-header{align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:space-between}body.is-fullscreen-mode .edit-site-header{padding-left:60px;transition:padding-left 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-header{transition-duration:0s;transition-delay:0s}}.edit-site-header .edit-site-header_end,.edit-site-header .edit-site-header_start{display:flex}.edit-site-header .edit-site-header_center{display:flex;align-items:center;height:100%;min-width:0}.edit-site-header .edit-site-header_end{justify-content:flex-end}body.is-navigation-sidebar-open .edit-site-header{padding-left:0;transition:padding-left 20ms linear;transition-delay:0ms}@media (prefers-reduced-motion:reduce){body.is-navigation-sidebar-open .edit-site-header{transition-duration:0s;transition-delay:0s}}@media (max-width:959px){body.is-navigation-sidebar-open .edit-site-header .edit-site-header-toolbar__inserter-toggle~.components-button,body.is-navigation-sidebar-open .edit-site-header .edit-site-header_end .components-button:not(.is-primary){display:none}body.is-navigation-sidebar-open .edit-site-header .edit-site-save-button__button{margin-right:0}}.edit-site-header__toolbar{display:flex;align-items:center;padding-left:8px}@media (min-width:600px){.edit-site-header__toolbar{padding-left:24px}}@media (min-width:1280px){.edit-site-header__toolbar{padding-right:8px}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle{margin-right:8px;min-width:32px;width:32px;height:32px;padding:0}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition:transform .2s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle svg{transition-duration:0s;transition-delay:0s}}.edit-site-header__toolbar .edit-site-header-toolbar__inserter-toggle.is-pressed svg{transform:rotate(45deg)}.edit-site-header__toolbar-switchers{align-items:center;display:flex}.edit-site-header__toolbar-switchers-separator{margin:0 -6px}.edit-site-header__actions{display:inline-flex;align-items:center;flex-wrap:wrap;padding-right:4px}.edit-site-header__actions .interface-pinned-items{display:none}@media (min-width:782px){.edit-site-header__actions .interface-pinned-items{display:inline-flex}}.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:4px}@media (min-width:600px){.edit-site-header__actions .components-button.components-button,.edit-site-header__actions .editor-post-saved-state{margin-right:12px}}.edit-site-header__actions .components-button.is-tertiary,.edit-site-header__actions .editor-post-saved-state{padding:0 6px}.edit-site-header__actions .edit-site-more-menu .components-button,.edit-site-header__actions .interface-pinned-items .components-button{margin-right:0}@media (min-width:600px){.edit-site-header__actions{padding-right:16px}}.edit-site-header__actions-more-menu{margin-left:-4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 2px;width:auto}@media (min-width:600px){.edit-site-header__actions-more-menu{margin-left:4px}.edit-site-header__actions-more-menu .components-icon-button{padding:8px 4px}}.edit-site-document-actions{display:flex;flex-direction:column;justify-content:center;height:100%;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper{display:flex;flex-direction:row;justify-content:center;align-items:center;min-width:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown{display:inline-flex;margin-left:4px}.edit-site-document-actions .edit-site-document-actions__title-wrapper .components-dropdown .components-button{min-width:0;padding:0}.edit-site-document-actions .edit-site-document-actions__title-wrapper>h1{margin:0;min-width:0}.edit-site-document-actions .edit-site-document-actions__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}@media (min-width:782px){.edit-site-document-actions .edit-site-document-actions__title{max-width:75px}}@media (min-width:1080px){.edit-site-document-actions .edit-site-document-actions__title{max-width:180px}}.edit-site-document-actions .edit-site-document-actions__secondary-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0;opacity:0;padding:0;transition:all .2s ease;background:#e0e0e0;border-radius:2px}@media (prefers-reduced-motion:reduce){.edit-site-document-actions .edit-site-document-actions__secondary-item{transition-duration:0s;transition-delay:0s}}.edit-site-document-actions.has-secondary-label .edit-site-document-actions__secondary-item{opacity:1;padding:0 4px;max-width:180px;margin-left:6px}.edit-site-document-actions__info-dropdown>.components-popover__content>div{padding:0;min-width:240px}.edit-site-more-menu{margin-left:-4px}.edit-site-more-menu .components-button{width:auto;padding:0 2px}@media (min-width:600px){.edit-site-more-menu{margin-left:4px}.edit-site-more-menu .components-button{padding:0 4px}}.edit-site-more-menu__content .components-popover__content{min-width:260px}.edit-site-more-menu__content .components-popover__content .components-dropdown-menu__menu{padding:0}.components-popover.edit-site-more-menu__content{z-index:99998}.edit-site-navigation-toggle{align-items:center;background:#1e1e1e;border-radius:0;display:flex;position:absolute;z-index:31;height:60px;width:60px}.edit-site-navigation-toggle__button{align-items:center;background:#1e1e1e;border-radius:0;color:#fff;height:61px;width:60px;z-index:1;margin-bottom:-1px}.edit-site-navigation-toggle__button.has-icon{min-width:60px}.edit-site-navigation-toggle__button.has-icon:active,.edit-site-navigation-toggle__button.has-icon:hover{color:#fff}.edit-site-navigation-toggle__button.has-icon:focus{box-shadow:none}.edit-site-navigation-toggle__button.has-icon:before{transition:box-shadow .1s ease;content:"";display:block;position:absolute;top:9px;right:9px;bottom:9px;left:9px;border-radius:4px;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e}@media (prefers-reduced-motion:reduce){.edit-site-navigation-toggle__button.has-icon:before{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-toggle__button.has-icon:hover:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) #757575}.edit-site-navigation-toggle__button.has-icon:focus:before{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) hsla(0,0%,100%,.1),inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.edit-site-navigation-toggle__button .edit-site-navigation-toggle__site-icon{width:36px;height:36px;border-radius:2px;-o-object-fit:cover;object-fit:cover;margin-top:-1px}.edit-site-navigation-panel{height:100%;position:relative;width:0;overflow:hidden;background:#1e1e1e;color:#fff;transition:width .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel{transition-duration:0s;transition-delay:0s}}@media (min-width:782px){.interface-interface-skeleton.has-footer .edit-site-navigation-panel{height:calc(100% - 25px)}}.edit-site-navigation-panel__inner{position:relative;width:300px;height:100%;overflow:hidden;visibility:hidden;transition:visibility .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-navigation-panel__inner{transition-duration:0s;transition-delay:0s}}.edit-site-navigation-panel.is-open{width:300px}.edit-site-navigation-panel.is-open .edit-site-navigation-panel__inner{visibility:visible}.edit-site-navigation-panel__site-title-container{height:60px;padding-left:60px;margin:0 16px 0 8px;display:flex;align-items:center}.edit-site-navigation-panel__site-title{font-style:normal;font-weight:600;font-size:14px;line-height:20px;color:#ddd;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.edit-site-navigation-panel__scroll-container{overflow-x:hidden;overflow-y:auto;height:calc(100% - 60px)}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary{height:36px;margin-top:24px;padding:8px 16px 8px 8px}.edit-site-navigation-panel__back-to-dashboard.components-button.is-tertiary:focus:not(:disabled){border-bottom-color:transparent}.edit-site-navigation-panel__preview{display:none;border:1px solid #ccc;width:300px;padding:16px;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.05);border-radius:2px;position:absolute;top:73px;left:312px;color:#1e1e1e;z-index:32}@media (min-width:782px){.edit-site-navigation-panel__preview{display:block}}.edit-site-navigation-panel__template-item{display:block}.edit-site-navigation-panel__template-item .components-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:auto;min-height:36px;text-align:left;padding-left:16px;padding-right:16px;color:inherit}.edit-site-navigation-panel__template-item-title{font-size:14px;line-height:20px}.edit-site-navigation-panel__template-item-title em{margin-right:1ch}.edit-site-navigation-panel__template-part-item .components-navigation__item-title,.edit-site-navigation-panel__template-parts .components-navigation__menu-title-heading{text-transform:capitalize}.components-navigation__item+.edit-site-navigation-panel__template-item{margin-top:16px}.edit-site-navigation-panel__template-item+.edit-site-navigation-panel__template-item{margin-top:8px}.edit-site-navigation-panel__info-wrapper{padding:4px 0}.edit-site-navigation-panel__template-item-description{padding-top:8px;font-size:12px;line-height:16px}.edit-site-navigation-panel__new-template-dropdown{margin:0 0 0 12px}.edit-site-navigation-panel__new-template-dropdown button{margin:0}@media (min-width:600px){.edit-site-navigation-panel__new-template-popover{min-width:300px}}.edit-site-list-header{position:relative;align-items:center;background-color:#fff;display:flex;height:60px;box-sizing:border-box;width:100%;justify-content:flex-end;padding-right:16px}body.is-fullscreen-mode .edit-site-list-header{padding-left:60px;transition:padding-left 20ms linear;transition-delay:80ms}@media (prefers-reduced-motion:reduce){body.is-fullscreen-mode .edit-site-list-header{transition-duration:0s;transition-delay:0s}}.edit-site-list-header .edit-site-list-header__title{position:absolute;left:0;width:100%;text-align:center;font-size:20px;padding:0;margin:0}.edit-site-list-header__right{position:relative}.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:100%}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__editor{min-width:0}}.edit-site .edit-site-list .interface-interface-skeleton__content{background:#fff;align-items:center;padding:16px}@media (min-width:782px){.edit-site .edit-site-list .interface-interface-skeleton__content{padding:72px}}.edit-site-list-table{width:100%;border:1px solid #ddd;border-radius:2px;margin:0;overflow:hidden;border-spacing:0;max-width:960px}.edit-site-list-table tr{display:flex;align-items:center;padding:16px;box-sizing:border-box;border-top:1px solid #f0f0f0;margin:0}.edit-site-list-table tr:first-child{border-top:0}@media (min-width:782px){.edit-site-list-table tr{padding:24px 32px}}.edit-site-list-table tr .edit-site-list-table-column:first-child{width:calc(60% - 18px);padding-right:24px}.edit-site-list-table tr .edit-site-list-table-column:first-child a{display:inline-block;text-decoration:none;font-weight:500;margin-bottom:4px}.edit-site-list-table tr .edit-site-list-table-column:nth-child(2){width:calc(40% - 18px)}.edit-site-list-table tr .edit-site-list-table-column:nth-child(3){min-width:36px;flex-shrink:0}.edit-site-list-table tr.edit-site-list-table-head{font-size:16px;font-weight:600;text-align:left;color:#1e1e1e;border-top:none;border-bottom:1px solid #ddd}.edit-site-list-table tr.edit-site-list-table-head th{font-weight:inherit}@media (min-width:782px){.edit-site-list.is-navigation-open .components-snackbar-list{margin-left:300px}}@media (min-width:782px){.edit-site-list__rename-modal .components-base-control{width:320px}}.edit-site-list__rename-modal .components-modal__header{border-bottom:none}.edit-site-list__rename-modal .components-modal__content:before{margin-bottom:4px}.edit-site-list__rename-modal-actions{margin-top:12px}.edit-site-template__actions button:not(:last-child){margin-right:8px}.edit-site-list-added-by__icon{display:flex;flex-shrink:0;position:relative;align-items:center;justify-content:center;width:32px;height:32px;background:#2f2f2f;border-radius:100%}.edit-site-list-added-by__icon svg{fill:#fff}.edit-site-list-added-by__icon.is-customized:after{position:absolute;content:"";background:var(--wp-admin-theme-color);height:8px;width:8px;outline:2px solid #fff;border-radius:100%;top:-1px;right:-1px}.edit-site-list-added-by__avatar{flex-shrink:0;overflow:hidden;border-radius:100%;background:#2f2f2f;width:32px;height:32px}.edit-site-list-added-by__avatar img{width:32px;height:32px;-o-object-fit:cover;object-fit:cover;opacity:0;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.edit-site-list-added-by__avatar img{transition-duration:0s;transition-delay:0s}}.edit-site-list-added-by__avatar.is-loaded img{opacity:1}.edit-site-new-template-dropdown .components-dropdown-menu__toggle{padding:6px 12px}@media (min-width:600px){.edit-site-new-template-dropdown .edit-site-new-template-dropdown__popover{min-width:300px}}.edit-site-sidebar{width:280px}.edit-site-sidebar>.components-panel{border-left:0;border-right:0;margin-bottom:-1px;margin-top:-1px}.edit-site-sidebar>.components-panel>.components-panel__header{background:#f0f0f0}.edit-site-sidebar .block-editor-block-inspector__card{margin:0}.edit-site-global-styles-sidebar .interface-complementary-area-header .components-button.has-icon{margin-left:0}.edit-site-global-styles-sidebar__reset-button.components-button{margin-left:auto}.edit-site-global-styles-sidebar__border-controls-row{display:flex;justify-content:space-between;margin-bottom:12px}.edit-site-global-styles-sidebar__border-controls-row>*{width:calc(50% - 8px)}.edit-site-global-styles-sidebar__border-controls-row .components-border-style-control__buttons{margin-bottom:0}.edit-site-global-styles-sidebar .components-navigation__menu-title-heading{font-size:15.6px;font-weight:500}.edit-site-global-styles-sidebar .components-navigation__item>button span{font-weight:500}.edit-site-global-styles-sidebar .block-editor-panel-color-gradient-settings,.edit-site-typography-panel{border:0}.edit-site-global-styles-sidebar__blocks-group{padding-top:24px;border-top:1px solid #e0e0e0}.edit-site-global-styles-sidebar__blocks-group-help{padding:0 16px}.edit-site-global-styles-color-palette-panel,.edit-site-global-styles-gradient-palette-panel{padding:16px}.edit-site-global-styles-sidebar__beta{display:inline-flex;margin-left:8px;padding:0 8px;height:24px;border-radius:2px;background-color:#000;color:#fff;align-items:center;font-size:12px;line-height:1}.components-panel__header.edit-site-sidebar__panel-tabs{justify-content:flex-start;padding-left:0;padding-right:16px;border-top:0;margin-top:0}.components-panel__header.edit-site-sidebar__panel-tabs ul{display:flex}.components-panel__header.edit-site-sidebar__panel-tabs li{margin:0}.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:none;margin:0 0 0 auto;padding:0;min-width:24px;height:24px}@media (min-width:782px){.components-panel__header.edit-site-sidebar__panel-tabs .components-button.has-icon{display:flex}}.components-button.edit-site-sidebar__panel-tab{border-radius:0;height:48px;background:transparent;border:none;box-shadow:none;cursor:pointer;display:inline-block;padding:3px 15px;margin-left:0;font-weight:500}.components-button.edit-site-sidebar__panel-tab:after{content:attr(data-label);display:block;font-weight:600;height:0;overflow:hidden;speak:none;visibility:hidden}.components-button.edit-site-sidebar__panel-tab.is-active{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) transparent,inset 0 -4px 0 0 var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:4px solid transparent}.components-button.edit-site-sidebar__panel-tab:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);position:relative;z-index:1}.components-button.edit-site-sidebar__panel-tab.is-active:focus{box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 -4px 0 0 var(--wp-admin-theme-color)}.edit-site-template-card{display:flex;align-items:flex-start}.edit-site-template-card__content{flex-grow:1;margin-bottom:4px}.edit-site-template-card__title{font-weight:500;line-height:24px}.edit-site-template-card__title.edit-site-template-card__title{margin:0 0 4px}.edit-site-template-card__description{font-size:13px;margin:0 0 16px}.edit-site-template-card__icon{flex:0 0 24px;margin-right:12px;width:24px;height:24px}h3.edit-site-template-card__template-areas-title{font-weight:500;margin:0 0 8px}.edit-site-template-card__template-areas-list,.edit-site-template-card__template-areas-list>li{margin:0}.edit-site-template-card__template-areas-item{width:100%}.edit-site-template-card__template-areas-item.components-button.has-icon{padding:0}html #wpadminbar{display:none}html.wp-toolbar{padding-top:0}.edit-site-editor__toggle-save-panel{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px;background-color:#fff;border:1px dotted #ddd;height:auto!important;padding:24px;display:flex;justify-content:center}.interface-interface-skeleton__actions:focus-within .edit-site-editor__toggle-save-panel,.interface-interface-skeleton__actions:focus .edit-site-editor__toggle-save-panel{top:auto;bottom:0}.edit-site-visual-editor{position:relative;height:100%;display:block}.edit-site-visual-editor iframe{display:block;width:100%;height:100%;background-color:#fff}.edit-site .components-editor-notices__snackbar{position:fixed;right:0;bottom:40px;padding-left:16px;padding-right:16px;left:0}@media (min-width:783px){.edit-site .components-editor-notices__snackbar{left:160px}}@media (min-width:783px){.auto-fold .edit-site .components-editor-notices__snackbar{left:36px}}@media (min-width:961px){.auto-fold .edit-site .components-editor-notices__snackbar{left:160px}}.folded .edit-site .components-editor-notices__snackbar{left:0}@media (min-width:783px){.folded .edit-site .components-editor-notices__snackbar{left:36px}}body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar{left:0!important}.edit-site-template-details .edit-site-template-details__group{margin:0;padding:16px}.edit-site-template-details .edit-site-template-details__group+.edit-site-template-details__group{border-top:1px solid #ccc}.edit-site-template-details .edit-site-template-details__title{margin:0}.edit-site-template-details .edit-site-template-details__description{margin:12px 0 0;color:#757575}.edit-site-template-details .edit-site-template-details__group.edit-site-template-details__template-areas{padding:8px}.edit-site-template-details .edit-site-template-details__template-areas-item{position:relative}.edit-site-template-details .edit-site-template-details__template-areas-item .edit-site-template-details__template-areas-item-more{position:absolute;right:0;top:0;bottom:0;margin:auto 0}.edit-site-template-details .edit-site-template-details__revert{padding:12px 8px}.edit-site-template-details .edit-site-template-details__revert-button{height:auto;padding:4px 8px;text-align:left}.edit-site-template-details .edit-site-template-details__revert-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button{display:flex;justify-content:center;background:#1e1e1e;color:#fff;width:100%;height:44px;border-radius:0}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:hover{color:#fff}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:active{color:#ccc}.edit-site-template-details .edit-site-template-details__show-all-button.components-button:focus:not(:disabled){box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color),inset 0 0 0 3px #fff}.edit-site-create-template-part-modal{z-index:1000001}@media (min-width:600px){.edit-site-create-template-part-modal .components-modal__frame{max-width:500px}}.edit-site-create-template-part-modal__modal-actions{padding-top:12px}.edit-site-create-template-part-modal__area-base-control .components-base-control__label{margin:16px 0 8px;cursor:auto}.edit-site-create-template-part-modal__area-radio-group{width:100%;border:1px solid #757575;border-radius:2px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio{display:block;width:100%;height:100%;text-align:left;padding:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover{margin:0;background-color:inherit;border-bottom:1px solid #757575;border-radius:0}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:not(:focus),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:focus){box-shadow:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:focus,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:focus{border-bottom:1px solid #fff}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-primary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio.is-secondary:hover:last-of-type,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:last-of-type{border-bottom:none}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover),.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true]{color:#1e1e1e;cursor:auto}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio:not(:hover) .edit-site-create-template-part-modal__option-label div,.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio[aria-checked=true] .edit-site-create-template-part-modal__option-label div{color:#949494}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label{padding-top:4px;white-space:normal}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__option-label div{padding-top:4px;font-size:12px}.edit-site-create-template-part-modal__area-radio-group .components-button.edit-site-create-template-part-modal__area-radio .edit-site-create-template-part-modal__checkbox{margin-left:auto;min-width:24px}.edit-site-editor__inserter-panel,.edit-site-editor__list-view-panel{height:100%;display:flex;flex-direction:column}.edit-site-editor__list-view-panel{min-width:350px}.edit-site-editor__inserter-panel-header{padding-top:8px;padding-right:8px;display:flex;justify-content:flex-end}@media (min-width:782px){.edit-site-editor__inserter-panel-header{display:none}}.edit-site-editor__inserter-panel-content,.edit-site-editor__list-view-panel-content{height:calc(100% - 44px)}@media (min-width:782px){.edit-site-editor__inserter-panel-content{height:100%}}.edit-site-editor__list-view-panel-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;height:48px;padding-left:16px;padding-right:4px}.edit-site-editor__list-view-panel-content{overflow-y:auto;padding:8px}.edit-site-welcome-guide{width:312px}.edit-site-welcome-guide__image{background:#00a0d2;margin:0 0 16px}.edit-site-welcome-guide__image>img{display:block;max-width:100%;-o-object-fit:cover;object-fit:cover}.edit-site-welcome-guide__heading{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:24px;line-height:1.4;margin:16px 0;padding:0 32px}.edit-site-welcome-guide__text{font-size:13px;line-height:1.4;margin:0 0 16px;padding:0 32px}.edit-site-welcome-guide__text img{vertical-align:bottom}.edit-site-welcome-guide__inserter-icon{margin:0 4px;vertical-align:text-top}body.appearance_page_gutenberg-edit-site,body.site-editor-php,html.wp-toolbar{background:#fff}body.appearance_page_gutenberg-edit-site #wpcontent,body.site-editor-php #wpcontent{padding-left:0}body.appearance_page_gutenberg-edit-site #wpbody-content,body.site-editor-php #wpbody-content{padding-bottom:0}body.appearance_page_gutenberg-edit-site #wpbody-content>div:not(.edit-site):not(#screen-meta),body.appearance_page_gutenberg-edit-site #wpfooter,body.site-editor-php #wpbody-content>div:not(.edit-site):not(#screen-meta),body.site-editor-php #wpfooter{display:none}body.appearance_page_gutenberg-edit-site .a11y-speak-region,body.site-editor-php .a11y-speak-region{left:-1px;top:-1px}body.appearance_page_gutenberg-edit-site ul#adminmenu>li.current>a.current:after,body.appearance_page_gutenberg-edit-site ul#adminmenu a.wp-has-current-submenu:after,body.site-editor-php ul#adminmenu>li.current>a.current:after,body.site-editor-php ul#adminmenu a.wp-has-current-submenu:after{border-right-color:#fff}body.appearance_page_gutenberg-edit-site .media-frame select.attachment-filters:last-of-type,body.site-editor-php .media-frame select.attachment-filters:last-of-type{width:auto;max-width:100%}.components-modal__frame,.edit-site{box-sizing:border-box}.components-modal__frame *,.components-modal__frame :after,.components-modal__frame :before,.edit-site *,.edit-site :after,.edit-site :before{box-sizing:inherit}@media (min-width:600px){.edit-site{bottom:0;left:0;min-height:100vh;position:absolute;right:0;top:0}}.edit-site .interface-interface-skeleton{top:0}.edit-site .interface-complementary-area__pin-unpin-item.components-button{display:none}.edit-site .interface-interface-skeleton__content{background-color:#2f2f2f}@keyframes edit-post__fade-in-animation{0%{opacity:0}to{opacity:1}}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color--rgb:0,133,186;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-10--rgb:0,115,161;--wp-admin-theme-color-darker-20:#006187;--wp-admin-theme-color-darker-20--rgb:0,97,135;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-light{--wp-admin-border-width-focus:1.5px}}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color--rgb:56,88,233;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-10--rgb:33,69,230;--wp-admin-theme-color-darker-20:#183ad6;--wp-admin-theme-color-darker-20--rgb:24,58,214;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-modern{--wp-admin-border-width-focus:1.5px}}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color--rgb:9,100,132;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-10--rgb:7,82,108;--wp-admin-theme-color-darker-20:#064054;--wp-admin-theme-color-darker-20--rgb:6,64,84;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-blue{--wp-admin-border-width-focus:1.5px}}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color--rgb:70,64,60;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-10--rgb:56,51,48;--wp-admin-theme-color-darker-20:#2b2724;--wp-admin-theme-color-darker-20--rgb:43,39,36;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-coffee{--wp-admin-border-width-focus:1.5px}}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color--rgb:82,63,109;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-10--rgb:70,54,93;--wp-admin-theme-color-darker-20:#3a2c4d;--wp-admin-theme-color-darker-20--rgb:58,44,77;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ectoplasm{--wp-admin-border-width-focus:1.5px}}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color--rgb:225,77,67;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-10--rgb:221,56,45;--wp-admin-theme-color-darker-20:#d02c21;--wp-admin-theme-color-darker-20--rgb:208,44,33;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-midnight{--wp-admin-border-width-focus:1.5px}}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color--rgb:98,124,131;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-10--rgb:87,110,116;--wp-admin-theme-color-darker-20:#4c6066;--wp-admin-theme-color-darker-20--rgb:76,96,102;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-ocean{--wp-admin-border-width-focus:1.5px}}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color--rgb:221,130,59;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-10--rgb:217,116,38;--wp-admin-theme-color-darker-20:#c36922;--wp-admin-theme-color-darker-20--rgb:195,105,34;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){body.admin-color-sunrise{--wp-admin-border-width-focus:1.5px}} \ No newline at end of file diff --git a/wp-includes/js/dist/block-library.js b/wp-includes/js/dist/block-library.js index 43a2d39813..12ecd57fd2 100644 --- a/wp-includes/js/dist/block-library.js +++ b/wp-includes/js/dist/block-library.js @@ -20685,12 +20685,6 @@ function useNavigationMenu(ref) { }, [ref]); } -// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js -var build_module_icon = __webpack_require__("iClF"); - -// EXTERNAL MODULE: external ["wp","htmlEntities"] -var external_wp_htmlEntities_ = __webpack_require__("rmEH"); - // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-navigation-entities.js /** * WordPress dependencies @@ -20810,6 +20804,12 @@ function usePageEntities() { }; } +// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js +var build_module_icon = __webpack_require__("iClF"); + +// EXTERNAL MODULE: external ["wp","htmlEntities"] +var external_wp_htmlEntities_ = __webpack_require__("rmEH"); + // EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/search.js var library_search = __webpack_require__("cGtP"); @@ -20849,6 +20849,177 @@ const PlaceholderPreview = _ref => { /* harmony default export */ var placeholder_preview = (PlaceholderPreview); +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/utils/create-template-part-id.js +/** + * Generates a template part Id based on slug and theme inputs. + * + * @param {string} theme the template part's theme. + * @param {string} slug the template part's slug + * @return {string|null} the template part's Id. + */ +function createTemplatePartId(theme, slug) { + return theme && slug ? theme + '//' + slug : null; +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-template-part-area-label.js +/** + * WordPress dependencies + */ + + + +/** + * Internal dependencies + */ +// TODO: this util should perhaps be refactored somewhere like core-data. + + +function useTemplatePartAreaLabel(clientId) { + return Object(external_wp_data_["useSelect"])(select => { + // Use the lack of a clientId as an opportunity to bypass the rest + // of this hook. + if (!clientId) { + return; + } + + const { + getBlock, + getBlockParentsByBlockName + } = select(external_wp_blockEditor_["store"]); + const withAscendingResults = true; + const parentTemplatePartClientIds = getBlockParentsByBlockName(clientId, 'core/template-part', withAscendingResults); + + if (!(parentTemplatePartClientIds !== null && parentTemplatePartClientIds !== void 0 && parentTemplatePartClientIds.length)) { + return; + } // FIXME: @wordpress/block-library should not depend on @wordpress/editor. + // Blocks can be loaded into a *non-post* block editor. + // This code is lifted from this file: + // packages/block-library/src/template-part/edit/advanced-controls.js + // eslint-disable-next-line @wordpress/data-no-store-string-literals + + + const definedAreas = select('core/editor').__experimentalGetDefaultTemplatePartAreas(); + + const { + getEditedEntityRecord + } = select(external_wp_coreData_["store"]); + + for (const templatePartClientId of parentTemplatePartClientIds) { + const templatePartBlock = getBlock(templatePartClientId); // The 'area' usually isn't stored on the block, but instead + // on the entity. + + const { + theme, + slug + } = templatePartBlock.attributes; + const templatePartEntityId = createTemplatePartId(theme, slug); + const templatePartEntity = getEditedEntityRecord('postType', 'wp_template_part', templatePartEntityId); // Look up the `label` for the area in the defined areas so + // that an internationalized label can be used. + + if (templatePartEntity !== null && templatePartEntity !== void 0 && templatePartEntity.area) { + var _definedAreas$find; + + return (_definedAreas$find = definedAreas.find(definedArea => definedArea.area !== 'uncategorized' && definedArea.area === templatePartEntity.area)) === null || _definedAreas$find === void 0 ? void 0 : _definedAreas$find.label; + } + } + }, [clientId]); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-generate-default-navigation-title.js +/** + * WordPress dependencies + */ + + + + + +/** + * Internal dependencies + */ + + +const DRAFT_MENU_PARAMS = ['postType', 'wp_navigation', { + status: 'draft', + per_page: -1 +}]; +const PUBLISHED_MENU_PARAMS = ['postType', 'wp_navigation', { + per_page: -1, + status: 'publish' +}]; +function useGenerateDefaultNavigationTitle(clientId) { + // The block will be disabled in a block preview, use this as a way of + // avoiding the side-effects of this component for block previews. + const isDisabled = Object(external_wp_element_["useContext"])(external_wp_components_["Disabled"].Context); // Because we can't conditionally call hooks, pass an undefined client id + // arg to bypass the expensive `useTemplateArea` code. The hook will return + // early. + + const area = useTemplatePartAreaLabel(isDisabled ? undefined : clientId); + const registry = Object(external_wp_data_["useRegistry"])(); + return Object(external_wp_element_["useCallback"])(async () => { + // Ensure other navigation menus have loaded so an + // accurate name can be created. + if (isDisabled) { + return ''; + } + + const { + getEntityRecords + } = registry.resolveSelect(external_wp_coreData_["store"]); + const [draftNavigationMenus, navigationMenus] = await Promise.all([getEntityRecords(...DRAFT_MENU_PARAMS), getEntityRecords(...PUBLISHED_MENU_PARAMS)]); + const title = area ? Object(external_wp_i18n_["sprintf"])( // translators: %s: the name of a menu (e.g. Header navigation). + Object(external_wp_i18n_["__"])('%s navigation'), area) : // translators: 'navigation' as in website navigation. + Object(external_wp_i18n_["__"])('Navigation'); // Determine how many menus start with the automatic title. + + const matchingMenuTitleCount = [...draftNavigationMenus, ...navigationMenus].reduce((count, menu) => { + var _menu$title, _menu$title$raw; + + return menu !== null && menu !== void 0 && (_menu$title = menu.title) !== null && _menu$title !== void 0 && (_menu$title$raw = _menu$title.raw) !== null && _menu$title$raw !== void 0 && _menu$title$raw.startsWith(title) ? count + 1 : count; + }, 0); // Append a number to the end of the title if a menu with + // the same name exists. + + const titleWithCount = matchingMenuTitleCount > 0 ? `${title} ${matchingMenuTitleCount + 1}` : title; + return titleWithCount || ''; + }, [isDisabled, area]); +} + +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-create-navigation-menu.js +/** + * WordPress dependencies + */ + + + + +/** + * Internal dependencies + */ + + +function useCreateNavigationMenu(clientId) { + const { + saveEntityRecord + } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]); + const generateDefaultTitle = useGenerateDefaultNavigationTitle(clientId); // This callback uses data from the two placeholder steps and only creates + // a new navigation menu when the user completes the final step. + + return Object(external_wp_element_["useCallback"])(async function () { + let title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let blocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; + + if (!title) { + title = await generateDefaultTitle(); + } + + const record = { + title, + content: Object(external_wp_blocks_["serialize"])(blocks), + status: 'publish' + }; + return await saveEntityRecord('postType', 'wp_navigation', record); + }, [external_wp_blocks_["serialize"], saveEntityRecord]); +} + // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/menu-items-to-blocks.js /** * External dependencies @@ -21050,175 +21221,52 @@ function createDataTree(dataset) { return dataTree; } -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/template-part/edit/utils/create-template-part-id.js -/** - * Generates a template part Id based on slug and theme inputs. - * - * @param {string} theme the template part's theme. - * @param {string} slug the template part's slug - * @return {string|null} the template part's Id. - */ -function createTemplatePartId(theme, slug) { - return theme && slug ? theme + '//' + slug : null; -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-template-part-area-label.js +// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/use-convert-classic-menu.js /** * WordPress dependencies */ - - -/** - * Internal dependencies - */ -// TODO: this util should perhaps be refactored somewhere like core-data. - - -function useTemplatePartAreaLabel(clientId) { - return Object(external_wp_data_["useSelect"])(select => { - // Use the lack of a clientId as an opportunity to bypass the rest - // of this hook. - if (!clientId) { - return; - } - - const { - getBlock, - getBlockParentsByBlockName - } = select(external_wp_blockEditor_["store"]); - const withAscendingResults = true; - const parentTemplatePartClientIds = getBlockParentsByBlockName(clientId, 'core/template-part', withAscendingResults); - - if (!(parentTemplatePartClientIds !== null && parentTemplatePartClientIds !== void 0 && parentTemplatePartClientIds.length)) { - return; - } // FIXME: @wordpress/block-library should not depend on @wordpress/editor. - // Blocks can be loaded into a *non-post* block editor. - // This code is lifted from this file: - // packages/block-library/src/template-part/edit/advanced-controls.js - // eslint-disable-next-line @wordpress/data-no-store-string-literals - - - const definedAreas = select('core/editor').__experimentalGetDefaultTemplatePartAreas(); - - const { - getEditedEntityRecord - } = select(external_wp_coreData_["store"]); - - for (const templatePartClientId of parentTemplatePartClientIds) { - const templatePartBlock = getBlock(templatePartClientId); // The 'area' usually isn't stored on the block, but instead - // on the entity. - - const { - theme, - slug - } = templatePartBlock.attributes; - const templatePartEntityId = createTemplatePartId(theme, slug); - const templatePartEntity = getEditedEntityRecord('postType', 'wp_template_part', templatePartEntityId); // Look up the `label` for the area in the defined areas so - // that an internationalized label can be used. - - if (templatePartEntity !== null && templatePartEntity !== void 0 && templatePartEntity.area) { - var _definedAreas$find; - - return (_definedAreas$find = definedAreas.find(definedArea => definedArea.area !== 'uncategorized' && definedArea.area === templatePartEntity.area)) === null || _definedAreas$find === void 0 ? void 0 : _definedAreas$find.label; - } - } - }, [clientId]); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-generate-default-navigation-title.js -/** - * WordPress dependencies - */ - - - - - /** * Internal dependencies */ -const DRAFT_MENU_PARAMS = ['postType', 'wp_navigation', { - status: 'draft', - per_page: -1 -}]; -const PUBLISHED_MENU_PARAMS = ['postType', 'wp_navigation', { - per_page: -1, - status: 'publish' -}]; -function useGenerateDefaultNavigationTitle(clientId) { - // The block will be disabled in a block preview, use this as a way of - // avoiding the side-effects of this component for block previews. - const isDisabled = Object(external_wp_element_["useContext"])(external_wp_components_["Disabled"].Context); // Because we can't conditionally call hooks, pass an undefined client id - // arg to bypass the expensive `useTemplateArea` code. The hook will return - // early. - const area = useTemplatePartAreaLabel(isDisabled ? undefined : clientId); - const registry = Object(external_wp_data_["useRegistry"])(); - return Object(external_wp_element_["useCallback"])(async () => { - // Ensure other navigation menus have loaded so an - // accurate name can be created. - if (isDisabled) { - return ''; - } - - const { - getEntityRecords - } = registry.resolveSelect(external_wp_coreData_["store"]); - const [draftNavigationMenus, navigationMenus] = await Promise.all([getEntityRecords(...DRAFT_MENU_PARAMS), getEntityRecords(...PUBLISHED_MENU_PARAMS)]); - const title = area ? Object(external_wp_i18n_["sprintf"])( // translators: %s: the name of a menu (e.g. Header navigation). - Object(external_wp_i18n_["__"])('%s navigation'), area) : // translators: 'navigation' as in website navigation. - Object(external_wp_i18n_["__"])('Navigation'); // Determine how many menus start with the automatic title. - - const matchingMenuTitleCount = [...draftNavigationMenus, ...navigationMenus].reduce((count, menu) => { - var _menu$title, _menu$title$raw; - - return menu !== null && menu !== void 0 && (_menu$title = menu.title) !== null && _menu$title !== void 0 && (_menu$title$raw = _menu$title.raw) !== null && _menu$title$raw !== void 0 && _menu$title$raw.startsWith(title) ? count + 1 : count; - }, 0); // Append a number to the end of the title if a menu with - // the same name exists. - - const titleWithCount = matchingMenuTitleCount > 0 ? `${title} ${matchingMenuTitleCount + 1}` : title; - return titleWithCount || ''; - }, [isDisabled, area]); -} - -// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/use-create-navigation-menu.js -/** - * WordPress dependencies - */ - - - - -/** - * Internal dependencies - */ - - -function useCreateNavigationMenu(clientId) { +function useConvertClassicMenu(onFinish) { + const [selectedMenu, setSelectedMenu] = Object(external_wp_element_["useState"])(); + const [isAwaitingMenuItemResolution, setIsAwaitingMenuItemResolution] = Object(external_wp_element_["useState"])(false); + const [menuName, setMenuName] = Object(external_wp_element_["useState"])(''); const { - saveEntityRecord - } = Object(external_wp_data_["useDispatch"])(external_wp_coreData_["store"]); - const generateDefaultTitle = useGenerateDefaultNavigationTitle(clientId); // This callback uses data from the two placeholder steps and only creates - // a new navigation menu when the user completes the final step. - - return Object(external_wp_element_["useCallback"])(async function () { - let title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - let blocks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; - - if (!title) { - title = await generateDefaultTitle(); + menuItems, + hasResolvedMenuItems + } = useNavigationEntities(selectedMenu); + const createFromMenu = Object(external_wp_element_["useCallback"])(name => { + const { + innerBlocks: blocks + } = menuItemsToBlocks(menuItems); + onFinish(blocks, name); + }, [menuItems, menuItemsToBlocks, onFinish]); + Object(external_wp_element_["useEffect"])(() => { + // If the user selected a menu but we had to wait for menu items to + // finish resolving, then create the block once resolution finishes. + if (isAwaitingMenuItemResolution && hasResolvedMenuItems) { + createFromMenu(menuName); + setIsAwaitingMenuItemResolution(false); } + }, [isAwaitingMenuItemResolution, hasResolvedMenuItems, menuName]); + return Object(external_wp_element_["useCallback"])((id, name) => { + setSelectedMenu(id); // If we have menu items, create the block right away. - const record = { - title, - content: Object(external_wp_blocks_["serialize"])(blocks), - status: 'publish' - }; - return await saveEntityRecord('postType', 'wp_navigation', record); - }, [external_wp_blocks_["serialize"], saveEntityRecord]); + if (hasResolvedMenuItems) { + createFromMenu(name); + return; + } // Otherwise, create the block when resolution finishes. + + + setIsAwaitingMenuItemResolution(true); // Store the name to use later. + + setMenuName(name); + }, [hasResolvedMenuItems, createFromMenu]); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/placeholder/index.js @@ -21232,7 +21280,6 @@ function useCreateNavigationMenu(clientId) { - /** * Internal dependencies */ @@ -21247,7 +21294,6 @@ const ExistingMenusDropdown = _ref => { let { canSwitchNavigationMenu, navigationMenus, - setSelectedMenu, onFinish, menus, onCreateFromMenu, @@ -21274,7 +21320,6 @@ const ExistingMenusDropdown = _ref => { }, canSwitchNavigationMenu && (navigationMenus === null || navigationMenus === void 0 ? void 0 : navigationMenus.map(menu => { return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { onClick: () => { - setSelectedMenu(menu.id); onFinish(menu); }, onClose: onClose, @@ -21285,8 +21330,7 @@ const ExistingMenusDropdown = _ref => { }, menus === null || menus === void 0 ? void 0 : menus.map(menu => { return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { onClick: () => { - setSelectedMenu(menu.id); - onCreateFromMenu(menu.name); + onCreateFromMenu(menu.id, menu.name); }, onClose: onClose, key: menu.id @@ -21303,9 +21347,6 @@ function NavigationPlaceholder(_ref3) { hasResolvedNavigationMenus, canUserCreateNavigation = false } = _ref3; - const [selectedMenu, setSelectedMenu] = Object(external_wp_element_["useState"])(); - const [isCreatingFromMenu, setIsCreatingFromMenu] = Object(external_wp_element_["useState"])(false); - const [menuName, setMenuName] = Object(external_wp_element_["useState"])(''); const createNavigationMenu = useCreateNavigationMenu(clientId); const onFinishMenuCreation = async function (blocks) { @@ -21319,35 +21360,15 @@ function NavigationPlaceholder(_ref3) { onFinish(navigationMenu, blocks); }; + const convertClassicMenu = useConvertClassicMenu(onFinishMenuCreation); const { isResolvingPages, menus, isResolvingMenus, - menuItems, - hasResolvedMenuItems, hasPages, hasMenus - } = useNavigationEntities(selectedMenu); + } = useNavigationEntities(); const isStillLoading = isResolvingPages || isResolvingMenus; - const createFromMenu = Object(external_wp_element_["useCallback"])(name => { - const { - innerBlocks: blocks - } = menuItemsToBlocks(menuItems); - onFinishMenuCreation(blocks, name); - }, [menuItems, menuItemsToBlocks, onFinish]); - - const onCreateFromMenu = name => { - // If we have menu items, create the block right away. - if (hasResolvedMenuItems) { - createFromMenu(name); - return; - } // Otherwise, create the block when resolution finishes. - - - setIsCreatingFromMenu(true); // Store the name to use later. - - setMenuName(name); - }; const onCreateEmptyMenu = () => { onFinishMenuCreation([]); @@ -21358,14 +21379,6 @@ function NavigationPlaceholder(_ref3) { onFinishMenuCreation(block); }; - Object(external_wp_element_["useEffect"])(() => { - // If the user selected a menu but we had to wait for menu items to - // finish resolving, then create the block once resolution finishes. - if (isCreatingFromMenu && hasResolvedMenuItems) { - createFromMenu(menuName); - setIsCreatingFromMenu(false); - } - }, [isCreatingFromMenu, hasResolvedMenuItems, menuName]); const { navigationMenus } = useNavigationMenu(); @@ -21384,10 +21397,9 @@ function NavigationPlaceholder(_ref3) { }), ' ', Object(external_wp_i18n_["__"])('Navigation')), Object(external_wp_element_["createElement"])("hr", null), hasMenus || navigationMenus !== null && navigationMenus !== void 0 && navigationMenus.length ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(ExistingMenusDropdown, { canSwitchNavigationMenu: canSwitchNavigationMenu, navigationMenus: navigationMenus, - setSelectedMenu: setSelectedMenu, onFinish: onFinish, menus: menus, - onCreateFromMenu: onCreateFromMenu, + onCreateFromMenu: convertClassicMenu, showClassicMenus: canUserCreateNavigation }), Object(external_wp_element_["createElement"])("hr", null)) : undefined, canUserCreateNavigation && hasPages ? Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["Button"], { variant: "tertiary", @@ -21594,17 +21606,41 @@ function NavigationInnerBlocks(_ref) { */ + + + function NavigationMenuSelector(_ref) { let { + clientId, onSelect, onCreateNew, - showCreate = false + canUserCreateNavigation = false } = _ref; + const { + menus: classicMenus, + hasMenus: hasClassicMenus + } = useNavigationEntities(); const { navigationMenus } = useNavigationMenu(); const ref = Object(external_wp_coreData_["useEntityId"])('postType', 'wp_navigation'); - return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], { + const createNavigationMenu = useCreateNavigationMenu(clientId); + + const onFinishMenuCreation = async function (blocks) { + let navigationMenuTitle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + + if (!canUserCreateNavigation) { + return; + } + + const navigationMenu = await createNavigationMenu(navigationMenuTitle, blocks); + onSelect(navigationMenu); + }; + + const convertClassicMenuToBlocks = useConvertClassicMenu(onFinishMenuCreation); + return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { + label: Object(external_wp_i18n_["__"])('Menus') + }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItemsChoice"], { value: ref, onSelect: selectedId => onSelect(navigationMenus.find(post => post.id === selectedId)), choices: navigationMenus.map(_ref2 => { @@ -21621,13 +21657,24 @@ function NavigationMenuSelector(_ref) { Object(external_wp_i18n_["__"])("Switch to '%s'"), label) }; }) - })), showCreate && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], null, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + })), canUserCreateNavigation && Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, hasClassicMenus && Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { + label: Object(external_wp_i18n_["__"])('Classic Menus') + }, classicMenus.map(menu => { + return Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { + onClick: () => { + convertClassicMenuToBlocks(menu.id, menu.name); + }, + key: menu.id + }, Object(external_wp_htmlEntities_["decodeEntities"])(menu.name)); + })), Object(external_wp_element_["createElement"])(external_wp_components_["MenuGroup"], { + label: Object(external_wp_i18n_["__"])('Tools') + }, Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { onClick: onCreateNew }, Object(external_wp_i18n_["__"])('Create new menu')), Object(external_wp_element_["createElement"])(external_wp_components_["MenuItem"], { href: Object(external_wp_url_["addQueryArgs"])('edit.php', { post_type: 'wp_navigation' }) - }, Object(external_wp_i18n_["__"])('Manage menus')))); + }, Object(external_wp_i18n_["__"])('Manage menus'))))); } // CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/edit/navigation-menu-name-control.js @@ -21878,6 +21925,7 @@ function useNavigationNotice() { + const EMPTY_ARRAY = []; function getComputedStyle(node) { @@ -21954,7 +22002,10 @@ function Navigation(_ref) { setAreaMenu(postId); } }, [navigationArea]); - const [hasAlreadyRendered, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(`navigationMenu/${ref}`); + const [hasAlreadyRendered, RecursionProvider] = Object(external_wp_blockEditor_["__experimentalUseNoRecursiveRenders"])(`navigationMenu/${ref}`); // Preload classic menus, so that they don't suddenly pop-in when viewing + // the Select Menu dropdown. + + useNavigationEntities(); const { hasUncontrolledInnerBlocks, uncontrolledInnerBlocks, @@ -22178,6 +22229,7 @@ function Navigation(_ref) { onClose } = _ref2; return Object(external_wp_element_["createElement"])(NavigationMenuSelector, { + clientId: clientId, onSelect: _ref3 => { let { id @@ -22186,7 +22238,7 @@ function Navigation(_ref) { onClose(); }, onCreateNew: startWithEmptyMenu, - showCreate: canUserCreateNavigation + canUserCreateNavigation: canUserCreateNavigation }); })), Object(external_wp_element_["createElement"])(external_wp_components_["ToolbarGroup"], null, listViewToolbarButton)), listViewModal, Object(external_wp_element_["createElement"])(external_wp_blockEditor_["InspectorControls"], null, hasSubmenuIndicatorSetting && Object(external_wp_element_["createElement"])(external_wp_components_["PanelBody"], { title: Object(external_wp_i18n_["__"])('Display') diff --git a/wp-includes/js/dist/block-library.min.js b/wp-includes/js/dist/block-library.min.js index 8d23defbcd..9efc226e43 100644 --- a/wp-includes/js/dist/block-library.min.js +++ b/wp-includes/js/dist/block-library.min.js @@ -6,7 +6,7 @@ this.wp=this.wp||{},this.wp.blockLibrary=function(e){var t={};function n(o){if(t http://jedwatson.github.io/classnames */!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,o=0;ol?(n=a/l,c=100,i=Math.round(c/n)):(n=l/a,i=100,c=Math.round(i/n)),(c>a||i>l||c<10||i<10)&&(c=a,i=l)),{srcLeft:o,srcTop:r,srcWidth:a,srcHeight:l,destWidth:c,destHeight:i}}},{key:"_simpleAlgorithm",value:function(e,t,n){for(var o=0,r=0,a=0,l=0,c=0,i=0;io?-1:n===o?0:1}))[0],5),d=m[0],b=m[1],p=m[2],g=m[3],h=m[4];return g?[Math.round(d/g),Math.round(b/g),Math.round(p/g),Math.round(g/h)]:[0,0,0,0]}},{key:"_bindImageEvents",value:function(e,t,n){var o=this,r=(n=n||{})&&n.data,a=this._getDefaultColor(n),l=function(){s(),t.call(e,o.getColor(e,n),r)},c=function(){s(),t.call(e,o._prepareResult(a,new Error("Image error")),r)},i=function(){s(),t.call(e,o._prepareResult(a,new Error("Image abort")),r)},s=function(){e.removeEventListener("load",l),e.removeEventListener("error",c),e.removeEventListener("abort",i)};e.addEventListener("load",l),e.addEventListener("error",c),e.addEventListener("abort",i)}},{key:"_prepareResult",value:function(e,t){var n=e.slice(0,3),o=[].concat(n,e[3]/255),r=this._isDark(e);return{error:t,value:e,rgb:"rgb("+n.join(",")+")",rgba:"rgba("+o.join(",")+")",hex:this._arrayToHex(n),hexa:this._arrayToHex(e),isDark:r,isLight:!r}}},{key:"_getOriginalSize",value:function(e){return e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}},{key:"_toHex",value:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}},{key:"_arrayToHex",value:function(e){return"#"+e.map(this._toHex).join("")}},{key:"_isDark",value:function(e){return(299*e[0]+587*e[1]+114*e[2])/1e3<128}},{key:"_makeCanvas",value:function(){return"undefined"==typeof window?new OffscreenCanvas(1,1):document.createElement("canvas")}}])&&e(o.prototype,r),a&&e(o,a),n}()}()},FqII:function(e,t){e.exports=window.wp.date},G8mJ:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const a=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}));t.a=a},GRId:function(e,t){e.exports=window.wp.element},HSyU:function(e,t){e.exports=window.wp.blocks},JREk:function(e,t){e.exports=window.wp.serverSideRender},K51g:function(e,t,n){"use strict";n.r(t),n.d(t,"__experimentalGetCoreBlocks",(function(){return Np})),n.d(t,"registerCoreBlocks",(function(){return zp})),n.d(t,"__experimentalRegisterExperimentalCoreBlocks",(function(){return Pp}));var o={};n.r(o),n.d(o,"metadata",(function(){return xe})),n.d(o,"name",(function(){return Se})),n.d(o,"settings",(function(){return Be}));var r={};n.r(r),n.d(r,"metadata",(function(){return Je})),n.d(r,"name",(function(){return Qe})),n.d(r,"settings",(function(){return Ye}));var a={};n.r(a),n.d(a,"metadata",(function(){return vt})),n.d(a,"name",(function(){return Ot})),n.d(a,"settings",(function(){return jt}));var l={};n.r(l),n.d(l,"metadata",(function(){return St})),n.d(l,"name",(function(){return Bt})),n.d(l,"settings",(function(){return Tt}));var c={};n.r(c),n.d(c,"metadata",(function(){return Rt})),n.d(c,"name",(function(){return Lt})),n.d(c,"settings",(function(){return Vt}));var i={};n.r(i),n.d(i,"metadata",(function(){return Ft})),n.d(i,"name",(function(){return Dt})),n.d(i,"settings",(function(){return Gt}));var s={};n.r(s),n.d(s,"metadata",(function(){return $t})),n.d(s,"name",(function(){return Zt})),n.d(s,"settings",(function(){return Kt}));var u={};n.r(u),n.d(u,"metadata",(function(){return en})),n.d(u,"name",(function(){return tn})),n.d(u,"settings",(function(){return nn}));var m={};n.r(m),n.d(m,"metadata",(function(){return ln})),n.d(m,"name",(function(){return cn})),n.d(m,"settings",(function(){return sn}));var d={};n.r(d),n.d(d,"metadata",(function(){return En})),n.d(d,"name",(function(){return Cn})),n.d(d,"settings",(function(){return xn}));var b={};n.r(b),n.d(b,"metadata",(function(){return Yn})),n.d(b,"name",(function(){return Xn})),n.d(b,"settings",(function(){return eo}));var p={};n.r(p),n.d(p,"metadata",(function(){return Lo})),n.d(p,"name",(function(){return Vo})),n.d(p,"settings",(function(){return Ho}));var g={};n.r(g),n.d(g,"metadata",(function(){return Yo})),n.d(g,"name",(function(){return Xo})),n.d(g,"settings",(function(){return er}));var h={};n.r(h),n.d(h,"metadata",(function(){return Ar})),n.d(h,"name",(function(){return Fr})),n.d(h,"settings",(function(){return Dr}));var v={};n.r(v),n.d(v,"metadata",(function(){return Kr})),n.d(v,"name",(function(){return Jr})),n.d(v,"settings",(function(){return Qr}));var O={};n.r(O),n.d(O,"metadata",(function(){return ha})),n.d(O,"name",(function(){return va})),n.d(O,"settings",(function(){return Oa}));var j={};n.r(j),n.d(j,"metadata",(function(){return fa})),n.d(j,"name",(function(){return _a})),n.d(j,"settings",(function(){return ka}));var y={};n.r(y),n.d(y,"metadata",(function(){return Ra})),n.d(y,"name",(function(){return La})),n.d(y,"settings",(function(){return Va}));var f={};n.r(f),n.d(f,"metadata",(function(){return Aa})),n.d(f,"name",(function(){return Fa})),n.d(f,"settings",(function(){return Da}));var _={};n.r(_),n.d(_,"metadata",(function(){return Qa})),n.d(_,"name",(function(){return Ya})),n.d(_,"settings",(function(){return Xa}));var k={};n.r(k),n.d(k,"metadata",(function(){return dl})),n.d(k,"name",(function(){return bl})),n.d(k,"settings",(function(){return pl}));var w={};n.r(w),n.d(w,"metadata",(function(){return hl})),n.d(w,"name",(function(){return vl})),n.d(w,"settings",(function(){return Ol}));var E={};n.r(E),n.d(E,"metadata",(function(){return Ll})),n.d(E,"name",(function(){return Vl})),n.d(E,"settings",(function(){return Hl}));var C={};n.r(C),n.d(C,"metadata",(function(){return Dl})),n.d(C,"name",(function(){return Gl})),n.d(C,"settings",(function(){return Ul}));var x={};n.r(x),n.d(x,"metadata",(function(){return Zl})),n.d(x,"name",(function(){return Kl})),n.d(x,"settings",(function(){return Jl}));var S={};n.r(S),n.d(S,"metadata",(function(){return Lc})),n.d(S,"name",(function(){return Vc})),n.d(S,"settings",(function(){return Hc}));var B={};n.r(B),n.d(B,"metadata",(function(){return ei})),n.d(B,"name",(function(){return ti})),n.d(B,"settings",(function(){return ni}));var T={};n.r(T),n.d(T,"metadata",(function(){return mi})),n.d(T,"name",(function(){return di})),n.d(T,"settings",(function(){return bi}));var N={};n.r(N),n.d(N,"metadata",(function(){return hi})),n.d(N,"name",(function(){return vi})),n.d(N,"settings",(function(){return Oi}));var z={};n.r(z),n.d(z,"metadata",(function(){return yi})),n.d(z,"name",(function(){return fi})),n.d(z,"settings",(function(){return _i}));var P={};n.r(P),n.d(P,"metadata",(function(){return Ti})),n.d(P,"name",(function(){return Ni})),n.d(P,"settings",(function(){return zi}));var I={};n.r(I),n.d(I,"metadata",(function(){return Gi})),n.d(I,"name",(function(){return Ui})),n.d(I,"settings",(function(){return qi}));var M={};n.r(M),n.d(M,"metadata",(function(){return Zi})),n.d(M,"name",(function(){return Ki})),n.d(M,"settings",(function(){return Ji}));var R={};n.r(R),n.d(R,"metadata",(function(){return Xi})),n.d(R,"name",(function(){return es})),n.d(R,"settings",(function(){return ts}));var L={};n.r(L),n.d(L,"metadata",(function(){return ss})),n.d(L,"name",(function(){return us})),n.d(L,"settings",(function(){return ms}));var V={};n.r(V),n.d(V,"metadata",(function(){return ps})),n.d(V,"name",(function(){return gs})),n.d(V,"settings",(function(){return hs}));var H={};n.r(H),n.d(H,"metadata",(function(){return Os})),n.d(H,"name",(function(){return js})),n.d(H,"settings",(function(){return ys}));var A={};n.r(A),n.d(A,"metadata",(function(){return Bs})),n.d(A,"name",(function(){return Ts})),n.d(A,"settings",(function(){return Ns}));var F={};n.r(F),n.d(F,"metadata",(function(){return Rs})),n.d(F,"name",(function(){return Ls})),n.d(F,"settings",(function(){return Vs}));var D={};n.r(D),n.d(D,"metadata",(function(){return Gs})),n.d(D,"name",(function(){return Us})),n.d(D,"settings",(function(){return qs}));var G={};n.r(G),n.d(G,"metadata",(function(){return Zs})),n.d(G,"name",(function(){return Ks})),n.d(G,"settings",(function(){return Js}));var U={};n.r(U),n.d(U,"metadata",(function(){return Ys})),n.d(U,"name",(function(){return Xs})),n.d(U,"settings",(function(){return eu}));var q={};n.r(q),n.d(q,"metadata",(function(){return ou})),n.d(q,"name",(function(){return ru})),n.d(q,"settings",(function(){return au}));var W={};n.r(W),n.d(W,"metadata",(function(){return du})),n.d(W,"name",(function(){return bu})),n.d(W,"settings",(function(){return pu}));var $={};n.r($),n.d($,"metadata",(function(){return Mu})),n.d($,"name",(function(){return Ru})),n.d($,"settings",(function(){return Lu}));var Z={};n.r(Z),n.d(Z,"metadata",(function(){return Du})),n.d(Z,"name",(function(){return Gu})),n.d(Z,"settings",(function(){return Uu}));var K={};n.r(K),n.d(K,"metadata",(function(){return $u})),n.d(K,"name",(function(){return Zu})),n.d(K,"settings",(function(){return Ku}));var J={};n.r(J),n.d(J,"metadata",(function(){return Yu})),n.d(J,"name",(function(){return Xu})),n.d(J,"settings",(function(){return em}));var Q={};n.r(Q),n.d(Q,"metadata",(function(){return om})),n.d(Q,"name",(function(){return rm})),n.d(Q,"settings",(function(){return am}));var Y={};n.r(Y),n.d(Y,"metadata",(function(){return mm})),n.d(Y,"name",(function(){return dm})),n.d(Y,"settings",(function(){return bm}));var X={};n.r(X),n.d(X,"metadata",(function(){return jm})),n.d(X,"name",(function(){return ym})),n.d(X,"settings",(function(){return fm}));var ee={};n.r(ee),n.d(ee,"metadata",(function(){return Em})),n.d(ee,"name",(function(){return Cm})),n.d(ee,"settings",(function(){return xm}));var te={};n.r(te),n.d(te,"metadata",(function(){return Bm})),n.d(te,"name",(function(){return Tm})),n.d(te,"settings",(function(){return Nm}));var ne={};n.r(ne),n.d(ne,"metadata",(function(){return Hm})),n.d(ne,"name",(function(){return Am})),n.d(ne,"settings",(function(){return Fm}));var oe={};n.r(oe),n.d(oe,"metadata",(function(){return Wm})),n.d(oe,"name",(function(){return $m})),n.d(oe,"settings",(function(){return Zm}));var re={};n.r(re),n.d(re,"metadata",(function(){return Ym})),n.d(re,"name",(function(){return Xm})),n.d(re,"settings",(function(){return ed}));var ae={};n.r(ae),n.d(ae,"metadata",(function(){return rd})),n.d(ae,"name",(function(){return ad})),n.d(ae,"settings",(function(){return ld}));var le={};n.r(le),n.d(le,"metadata",(function(){return sd})),n.d(le,"name",(function(){return ud})),n.d(le,"settings",(function(){return md}));var ce={};n.r(ce),n.d(ce,"metadata",(function(){return hd})),n.d(ce,"name",(function(){return vd})),n.d(ce,"settings",(function(){return Od}));var ie={};n.r(ie),n.d(ie,"metadata",(function(){return Cd})),n.d(ie,"name",(function(){return xd})),n.d(ie,"settings",(function(){return Sd}));var se={};n.r(se),n.d(se,"metadata",(function(){return Md})),n.d(se,"name",(function(){return Rd})),n.d(se,"settings",(function(){return Ld}));var ue={};n.r(ue),n.d(ue,"metadata",(function(){return Ad})),n.d(ue,"name",(function(){return Fd})),n.d(ue,"settings",(function(){return Dd}));var me={};n.r(me),n.d(me,"metadata",(function(){return hb})),n.d(me,"name",(function(){return vb})),n.d(me,"settings",(function(){return Ob}));var de={};n.r(de),n.d(de,"metadata",(function(){return yb})),n.d(de,"name",(function(){return fb})),n.d(de,"settings",(function(){return _b}));var be={};n.r(be),n.d(be,"metadata",(function(){return Ub})),n.d(be,"name",(function(){return qb})),n.d(be,"settings",(function(){return Wb}));var pe={};n.r(pe),n.d(pe,"metadata",(function(){return Kb})),n.d(pe,"name",(function(){return Jb})),n.d(pe,"settings",(function(){return Qb}));var ge={};n.r(ge),n.d(ge,"metadata",(function(){return tp})),n.d(ge,"name",(function(){return np})),n.d(ge,"settings",(function(){return op}));var he={};n.r(he),n.d(he,"metadata",(function(){return cp})),n.d(he,"name",(function(){return ip})),n.d(he,"settings",(function(){return sp}));var ve={};n.r(ve),n.d(ve,"metadata",(function(){return xp})),n.d(ve,"name",(function(){return Sp})),n.d(ve,"settings",(function(){return Bp}));var Oe=n("HSyU"),je=n("GRId"),ye=n("Tqx9");var fe=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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"})),_e=n("tI+e"),ke=n("l3Sj"),we=n("axFQ"),Ee=n("JREk"),Ce=n.n(Ee);const xe={apiVersion:2,name:"core/archives",title:"Archives",category:"widgets",description:"Display a monthly archive of your posts.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-archives-editor"},{name:Se}=xe,Be={icon:fe,example:{},edit:function(e){let{attributes:t,setAttributes:n}=e;const{showPostCounts:o,displayAsDropdown:r}=t;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Archives settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display as dropdown"),checked:r,onChange:()=>n({displayAsDropdown:!r})}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show post counts"),checked:o,onChange:()=>n({showPostCounts:!o})}))),Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(Ce.a,{block:"core/archives",attributes:t}))))}};var Te=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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"})),Ne=[{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(e){let{attributes:t}=e;const{autoplay:n,caption:o,loop:r,preload:a,src:l}=t;return Object(je.createElement)("figure",null,Object(je.createElement)("audio",{controls:"controls",src:l,autoPlay:n,loop:r,preload:a}),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))}}],ze=n("xTGt"),Pe=n("1ZqX");const Ie=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}];var Me=n("YLtl"),Re=n("A/WM"),Le=n.n(Re),Ve=n("4eJC"),He=n.n(Ve);const{name:Ae}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},Fe=e=>{var t;return null===(t=Object(Oe.getBlockVariations)(Ae))||void 0===t?void 0:t.find(t=>{let{patterns:n}=t;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.some(t=>e.match(t))}(e,n)})},De=e=>e&&e.includes('class="wp-embedded-content"'),Ge=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{preview:o,attributes:r={}}=e,{url:a,providerNameSlug:l,type:c,...i}=r;if(!a||!Object(Oe.getBlockType)(Ae))return;const s=Fe(a),u="wordpress"===l||"wp-embed"===c,m=!u&&s&&(s.attributes.providerNameSlug!==l||!l);if(m)return Object(Oe.createBlock)(Ae,{url:a,...i,...s.attributes});const d=null===(t=Object(Oe.getBlockVariations)(Ae))||void 0===t?void 0:t.find(e=>{let{name:t}=e;return"wordpress"===t});return d&&o&&De(o.html)&&!u?Object(Oe.createBlock)(Ae,{url:a,...d.attributes,...n}):void 0},Ue=e=>{if(!e)return e;const t=Ie.reduce((e,t)=>{let{className:n}=t;return e[n]=!1,e},{"wp-has-aspect-ratio":!1});return Le()(e,t)};function qe(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!n)return Ue(t);const o=document.implementation.createHTMLDocument("");o.body.innerHTML=e;const r=o.body.querySelector("iframe");if(r&&r.height&&r.width){const e=(r.width/r.height).toFixed(2);for(let n=0;n=o.ratio){return e-o.ratio>.1?Ue(t):Le()(Ue(t),o.className,"wp-has-aspect-ratio")}}}return t}const We=He()((function(e,t,n,o){let r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(!e)return{};const a={};let{type:l="rich"}=e;const{html:c,provider_name:i}=e,s=Object(Me.kebabCase)((i||t).toLowerCase());return De(c)&&(l="wp-embed"),(c||"photo"===l)&&(a.type=l,a.providerNameSlug=s),a.className=qe(c,n,o&&r),a})),$e=["audio"];var Ze=Object(_e.withNotices)((function(e){let{attributes:t,noticeOperations:n,setAttributes:o,onReplace:r,isSelected:a,noticeUI:l,insertBlocksAfter:c}=e;const{id:i,autoplay:s,caption:u,loop:m,preload:d,src:b}=t,p=Object(we.useBlockProps)(),g=Object(Pe.useSelect)(e=>{const{getSettings:t}=e(we.store);return t().mediaUpload},[]);function h(e){return t=>{o({[e]:t})}}function v(e){if(e!==b){const t=Ge({attributes:{url:e}});if(void 0!==t)return void r(t);o({src:e,id:void 0})}}function O(e){n.removeAllNotices(),n.createErrorNotice(e)}function j(e){e&&e.url?o({src:e.url,id:e.id}):o({src:void 0,id:void 0})}return Object(je.useEffect)(()=>{if(!i&&Object(ze.isBlobURL)(b)){const e=Object(ze.getBlobByURL)(b);e&&g({filesList:[e],onFileChange:e=>{let[{id:t,url:n}]=e;o({id:t,src:n})},onError:e=>{o({src:void 0,id:void 0}),n.createErrorNotice(e)},allowedTypes:$e})}},[]),b?Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:i,mediaURL:b,allowedTypes:$e,accept:"audio/*",onSelect:j,onSelectURL:v,onError:O})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Audio settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Autoplay"),onChange:h("autoplay"),checked:s,help:function(e){return e?Object(ke.__)("Autoplay may cause usability issues for some users."):null}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Loop"),onChange:h("loop"),checked:m}),Object(je.createElement)(_e.SelectControl,{label:Object(ke._x)("Preload","noun; Audio block parameter"),value:d||"",onChange:e=>o({preload:e||void 0}),options:[{value:"",label:Object(ke.__)("Browser default")},{value:"auto",label:Object(ke.__)("Auto")},{value:"metadata",label:Object(ke.__)("Metadata")},{value:"none",label:Object(ke._x)("None",'"Preload" value')}]}))),Object(je.createElement)("figure",p,Object(je.createElement)(_e.Disabled,{isDisabled:!a},Object(je.createElement)("audio",{controls:"controls",src:b})),(!we.RichText.isEmpty(u)||a)&&Object(je.createElement)(we.RichText,{tagName:"figcaption","aria-label":Object(ke.__)("Audio caption text"),placeholder:Object(ke.__)("Add caption"),value:u,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>c(Object(Oe.createBlock)("core/paragraph"))}))):Object(je.createElement)("div",p,Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:Te}),onSelect:j,onSelectURL:v,accept:"audio/*",allowedTypes:$e,value:t,notices:l,onError:O}))}));var Ke={from:[{type:"files",isMatch:e=>1===e.length&&0===e[0].type.indexOf("audio/"),transform(e){const t=e[0];return Object(Oe.createBlock)("core/audio",{src:Object(ze.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:e=>{let{named:{src:t,mp3:n,m4a:o,ogg:r,wav:a,wma:l}}=e;return t||n||o||r||a||l}},loop:{type:"string",shortcode:e=>{let{named:{loop:t}}=e;return t}},autoplay:{type:"string",shortcode:e=>{let{named:{autoplay:t}}=e;return t}},preload:{type:"string",shortcode:e=>{let{named:{preload:t}}=e;return t}}}}]};const Je={apiVersion:2,name:"core/audio",title:"Audio",category:"media",description:"Embed a simple audio player.",keywords:["music","sound","podcast","recording"],textdomain:"default",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"},{name:Qe}=Je,Ye={icon:Te,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"}},transforms:Ke,deprecated:Ne,edit:Ze,save:function(e){let{attributes:t}=e;const{autoplay:n,caption:o,loop:r,preload:a,src:l}=t;return l&&Object(je.createElement)("figure",we.useBlockProps.save(),Object(je.createElement)("audio",{controls:"controls",src:l,autoPlay:n,loop:r,preload:a}),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))}};var Xe=n("oMoS"),et=n("TSYQ"),tt=n.n(et),nt=n("K9lf");const ot=e=>{if(!Object(Me.isObject)(e)||Array.isArray(e))return e;const t=Object(Me.pickBy)(Object(Me.mapValues)(e,ot),Me.identity);return Object(Me.isEmpty)(t)?void 0:t};var rt=ot,at=function(e){var t,n;if(null==e||null===(t=e.style)||void 0===t||null===(n=t.typography)||void 0===n||!n.fontFamily)return e;const o=Object(Me.cloneDeep)(e),r=o.style.typography.fontFamily.split("|").pop();return delete o.style.typography.fontFamily,o.style=rt(o.style),{...o,fontFamily:r}};const lt=e=>{var t,n,o;const{borderRadius:r,...a}=e,l=[r,null===(t=a.style)||void 0===t||null===(n=t.border)||void 0===n?void 0:n.radius].find(e=>"number"==typeof e&&0!==e);return l?{...a,style:{...a.style,border:{...null===(o=a.style)||void 0===o?void 0:o.border,radius:l+"px"}}}:a},ct=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor","customGradient"]),style:t}},it=e=>ct(Object(Me.omit)({...e,customTextColor:e.textColor&&"#"===e.textColor[0]?e.textColor:void 0,customBackgroundColor:e.color&&"#"===e.color[0]?e.color:void 0},["color","textColor"])),st={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}};var ut=[{attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},save(e){var t,n;let{attributes:o,className:r}=e;const{fontSize:a,linkTarget:l,rel:c,style:i,text:s,title:u,url:m,width:d}=o;if(!s)return null;const b=Object(we.__experimentalGetBorderClassesAndStyles)(o),p=Object(we.__experimentalGetColorClassesAndStyles)(o),g=Object(we.__experimentalGetSpacingClassesAndStyles)(o),h=tt()("wp-block-button__link",p.className,b.className,{"no-border-radius":0===(null==i||null===(t=i.border)||void 0===t?void 0:t.radius)}),v={...b.style,...p.style,...g.style},O=tt()(r,{["has-custom-width wp-block-button__width-"+d]:d,"has-custom-font-size":a||(null==i||null===(n=i.typography)||void 0===n?void 0:n.fontSize)});return Object(je.createElement)("div",we.useBlockProps.save({className:O}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:h,href:m,title:u,style:v,value:s,target:l,rel:c}))},migrate:at,isEligible(e){var t;let{style:n}=e;return null==n||null===(t=n.typography)||void 0===t?void 0:t.fontFamily}},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},isEligible(e){var t;let{style:n}=e;return"number"==typeof(null==n||null===(t=n.border)||void 0===t?void 0:t.radius)},save(e){var t,n,o;let{attributes:r,className:a}=e;const{fontSize:l,linkTarget:c,rel:i,style:s,text:u,title:m,url:d,width:b}=r;if(!u)return null;const p=null==s||null===(t=s.border)||void 0===t?void 0:t.radius,g=Object(we.__experimentalGetColorClassesAndStyles)(r),h=tt()("wp-block-button__link",g.className,{"no-border-radius":0===(null==s||null===(n=s.border)||void 0===n?void 0:n.radius)}),v={borderRadius:p||void 0,...g.style},O=tt()(a,{["has-custom-width wp-block-button__width-"+b]:b,"has-custom-font-size":l||(null==s||null===(o=s.typography)||void 0===o?void 0:o.fontSize)});return Object(je.createElement)("div",we.useBlockProps.save({className:O}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:h,href:d,title:m,style:v,value:u,target:c,rel:i}))},migrate:Object(nt.compose)(at,lt)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save(e){let{attributes:t,className:n}=e;const{borderRadius:o,linkTarget:r,rel:a,text:l,title:c,url:i,width:s}=t,u=Object(we.__experimentalGetColorClassesAndStyles)(t),m=tt()("wp-block-button__link",u.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...u.style},b=tt()(n,{["has-custom-width wp-block-button__width-"+s]:s});return Object(je.createElement)("div",we.useBlockProps.save({className:b}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:m,href:i,title:c,style:d,value:l,target:r,rel:a}))},migrate:Object(nt.compose)(at,lt)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save(e){let{attributes:t,className:n}=e;const{borderRadius:o,linkTarget:r,rel:a,text:l,title:c,url:i,width:s}=t,u=Object(we.__experimentalGetColorClassesAndStyles)(t),m=tt()("wp-block-button__link",u.className,{"no-border-radius":0===o}),d={borderRadius:o?o+"px":void 0,...u.style},b=tt()(n,{["has-custom-width wp-block-button__width-"+s]:s});return Object(je.createElement)("div",we.useBlockProps.save({className:b}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:m,href:i,title:c,style:d,value:l,target:r,rel:a}))},migrate:Object(nt.compose)(at,lt)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},save(e){let{attributes:t}=e;const{borderRadius:n,linkTarget:o,rel:r,text:a,title:l,url:c}=t,i=tt()("wp-block-button__link",{"no-border-radius":0===n}),s={borderRadius:n?n+"px":void 0};return Object(je.createElement)(we.RichText.Content,{tagName:"a",className:i,href:c,title:l,style:s,value:a,target:o,rel:r})},migrate:lt},{supports:{align:!0,alignWide:!1},attributes:{...st,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}},isEligible:e=>!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient,migrate:Object(nt.compose)(lt,ct),save(e){let{attributes:t}=e;const{backgroundColor:n,borderRadius:o,customBackgroundColor:r,customTextColor:a,customGradient:l,linkTarget:c,gradient:i,rel:s,text:u,textColor:m,title:d,url:b}=t,p=Object(we.getColorClassName)("color",m),g=!l&&Object(we.getColorClassName)("background-color",n),h=Object(we.__experimentalGetGradientClass)(i),v=tt()("wp-block-button__link",{"has-text-color":m||a,[p]:p,"has-background":n||r||l||i,[g]:g,"no-border-radius":0===o,[h]:h}),O={background:l||void 0,backgroundColor:g||l||i?void 0:r,color:p?void 0:a,borderRadius:o?o+"px":void 0};return Object(je.createElement)("div",null,Object(je.createElement)(we.RichText.Content,{tagName:"a",className:v,href:b,title:d,style:O,value:u,target:c,rel:s}))}},{attributes:{...st,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}},isEligible:e=>e.className&&e.className.includes("is-style-squared"),migrate(e){let t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),lt(ct({...e,className:t||void 0,borderRadius:0}))},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,customTextColor:r,linkTarget:a,rel:l,text:c,textColor:i,title:s,url:u}=t,m=Object(we.getColorClassName)("color",i),d=Object(we.getColorClassName)("background-color",n),b=tt()("wp-block-button__link",{"has-text-color":i||r,[m]:m,"has-background":n||o,[d]:d}),p={backgroundColor:d?void 0:o,color:m?void 0:r};return Object(je.createElement)("div",null,Object(je.createElement)(we.RichText.Content,{tagName:"a",className:b,href:u,title:s,style:p,value:c,target:a,rel:l}))}},{attributes:{...st,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:it,save(e){let{attributes:t}=e;const{url:n,text:o,title:r,backgroundColor:a,textColor:l,customBackgroundColor:c,customTextColor:i}=t,s=Object(we.getColorClassName)("color",l),u=Object(we.getColorClassName)("background-color",a),m=tt()("wp-block-button__link",{"has-text-color":l||i,[s]:s,"has-background":a||c,[u]:u}),d={backgroundColor:u?void 0:c,color:s?void 0:i};return Object(je.createElement)("div",null,Object(je.createElement)(we.RichText.Content,{tagName:"a",className:m,href:n,title:r,style:d,value:o}))}},{attributes:{...st,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{url:n,text:o,title:r,align:a,color:l,textColor:c}=t,i={backgroundColor:l,color:c};return Object(je.createElement)("div",{className:"align"+a},Object(je.createElement)(we.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:n,title:r,style:i,value:o}))},migrate:it},{attributes:{...st,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save(e){let{attributes:t}=e;const{url:n,text:o,title:r,align:a,color:l,textColor:c}=t;return Object(je.createElement)("div",{className:"align"+a,style:{backgroundColor:l}},Object(je.createElement)(we.RichText.Content,{tagName:"a",href:n,title:r,style:{color:c},value:o}))},migrate:it}],mt=n("wx14"),dt=n("RxS6"),bt=n("Bpkj"),pt=n("Mp0b");function gt(e){let{selectedWidth:t,setAttributes:n}=e;return Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Width settings")},Object(je.createElement)(_e.ButtonGroup,{"aria-label":Object(ke.__)("Button width")},[25,50,75,100].map(e=>Object(je.createElement)(_e.Button,{key:e,isSmall:!0,variant:e===t?"primary":void 0,onClick:()=>{var o;n({width:t===(o=e)?void 0:o})}},e,"%"))))}var ht=function(e){var t;const{attributes:n,setAttributes:o,className:r,isSelected:a,onReplace:l,mergeBlocks:c}=e,{linkTarget:i,placeholder:s,rel:u,style:m,text:d,url:b,width:p}=n,g=Object(je.useCallback)(e=>{o({rel:e})},[o]),h=Object(we.__experimentalUseBorderProps)(n),v=Object(we.__experimentalUseColorProps)(n),O=Object(we.__experimentalGetSpacingClassesAndStyles)(n),j=Object(je.useRef)(),y=Object(je.useRef)(),f=Object(we.useBlockProps)({ref:j,onKeyDown:function(e){if(dt.isKeyboardEvent.primary(e,"k"))C(e);else if(dt.isKeyboardEvent.primaryShift(e,"k")){var t;x(),null===(t=y.current)||void 0===t||t.focus()}}}),[_,k]=Object(je.useState)(!1),w=!!b,E="_blank"===i;function C(e){e.preventDefault(),k(!0)}function x(){o({url:void 0,linkTarget:void 0,rel:void 0}),k(!1)}return Object(je.useEffect)(()=>{a||k(!1)},[a]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)("div",Object(mt.a)({},f,{className:tt()(f.className,{["has-custom-width wp-block-button__width-"+p]:p,"has-custom-font-size":f.style.fontSize})}),Object(je.createElement)(we.RichText,{ref:y,"aria-label":Object(ke.__)("Button text"),placeholder:s||Object(ke.__)("Add text…"),value:d,onChange:e=>{o({text:e.replace(/<\/?a[^>]*>/g,"")})},withoutInteractiveFormatting:!0,className:tt()(r,"wp-block-button__link",v.className,h.className,{"no-border-radius":0===(null==m||null===(t=m.border)||void 0===t?void 0:t.radius)}),style:{...h.style,...v.style,...O.style},onSplit:e=>Object(Oe.createBlock)("core/button",{...n,text:e}),onReplace:l,onMerge:c,identifier:"text"})),Object(je.createElement)(we.BlockControls,{group:"block"},!w&&Object(je.createElement)(_e.ToolbarButton,{name:"link",icon:bt.a,title:Object(ke.__)("Link"),shortcut:dt.displayShortcut.primary("k"),onClick:C}),w&&Object(je.createElement)(_e.ToolbarButton,{name:"link",icon:pt.a,title:Object(ke.__)("Unlink"),shortcut:dt.displayShortcut.primaryShift("k"),onClick:x,isActive:!0})),a&&(_||w)&&Object(je.createElement)(_e.Popover,{position:"bottom center",onClose:()=>{var e;k(!1),null===(e=y.current)||void 0===e||e.focus()},anchorRef:null==j?void 0:j.current,focusOnMount:!!_&&"firstElement"},Object(je.createElement)(we.__experimentalLinkControl,{className:"wp-block-navigation-link__inline-link-input",value:{url:b,opensInNewTab:E},onChange:e=>{let{url:t="",opensInNewTab:n}=e;o({url:t}),E!==n&&function(e){const t=e?"_blank":void 0;let n=u;t&&!u?n="noreferrer noopener":t||"noreferrer noopener"!==u||(n=void 0),o({linkTarget:t,rel:n})}(n)},onRemove:()=>{var e;x(),null===(e=y.current)||void 0===e||e.focus()},forceIsEditingLink:_})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(gt,{selectedWidth:p,setAttributes:o})),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"advanced"},Object(je.createElement)(_e.TextControl,{label:Object(ke.__)("Link rel"),value:u||"",onChange:g})))};const vt={apiVersion:2,name:"core/button",title:"Button",category:"design",parent:["core/buttons"],description:"Prompt visitors to take action with a button-style link.",keywords:["link"],textdomain:"default",attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},styles:[{name:"fill",label:"Fill",isDefault:!0},{name:"outline",label:"Outline"}],editorStyle:"wp-block-button-editor",style:"wp-block-button"},{name:Ot}=vt,jt={icon:Xe.a,example:{attributes:{className:"is-style-fill",text:Object(ke.__)("Call to Action")}},edit:ht,save:function(e){var t,n;let{attributes:o,className:r}=e;const{fontSize:a,linkTarget:l,rel:c,style:i,text:s,title:u,url:m,width:d}=o;if(!s)return null;const b=Object(we.__experimentalGetBorderClassesAndStyles)(o),p=Object(we.__experimentalGetColorClassesAndStyles)(o),g=Object(we.__experimentalGetSpacingClassesAndStyles)(o),h=tt()("wp-block-button__link",p.className,b.className,{"no-border-radius":0===(null==i||null===(t=i.border)||void 0===t?void 0:t.radius)}),v={...b.style,...p.style,...g.style},O=tt()(r,{["has-custom-width wp-block-button__width-"+d]:d,"has-custom-font-size":a||(null==i||null===(n=i.typography)||void 0===n?void 0:n.fontSize)});return Object(je.createElement)("div",we.useBlockProps.save({className:O}),Object(je.createElement)(we.RichText.Content,{tagName:"a",className:h,href:m,title:u,style:v,value:s,target:l,rel:c}))},deprecated:ut,merge:(e,t)=>{let{text:n=""}=t;return{...e,text:(e.text||"")+n}}};var yt=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M17 3H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5V6.2h-5v1.6zM17 13H7c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v4zm-8-1.2h5v-1.5h-5v1.5z"}));const ft=e=>{if(e.layout)return e;const{contentJustification:t,orientation:n,...o}=e;return(t||n)&&Object.assign(o,{layout:{type:"flex",...t&&{justifyContent:t},...n&&{orientation:n}}}),o};var _t=[{attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}}},isEligible:e=>{let{contentJustification:t,orientation:n}=e;return!!t||!!n},migrate:ft,save(e){let{attributes:{contentJustification:t,orientation:n}}=e;return Object(je.createElement)("div",we.useBlockProps.save({className:tt()({["is-content-justification-"+t]:t,"is-vertical":"vertical"===n})}),Object(je.createElement)(we.InnerBlocks.Content,null))}},{supports:{align:["center","left","right"],anchor:!0},save:()=>Object(je.createElement)("div",null,Object(je.createElement)(we.InnerBlocks.Content,null)),isEligible(e){let{align:t}=e;return t&&["center","left","right"].includes(t)},migrate:e=>ft({...e,align:void 0,contentJustification:e.align})}],kt=n("qRz9");const{name:wt}={apiVersion:2,name:"core/buttons",title:"Buttons",category:"design",description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"};var Et={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>Object(Oe.createBlock)(wt,{},e.map(e=>Object(Oe.createBlock)("core/button",e)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>Object(Oe.createBlock)(wt,{},e.map(e=>{const t=Object(kt.__unstableCreateElement)(document,e.content),n=t.innerText||"",o=t.querySelector("a"),r=null==o?void 0:o.getAttribute("href");return Object(Oe.createBlock)("core/button",{text:n,url:r})})),isMatch:e=>e.every(e=>{const t=Object(kt.__unstableCreateElement)(document,e.content),n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1})}]};const Ct=[Ot];var xt=function(e){let{attributes:{layout:t={}}}=e;const n=Object(we.useBlockProps)(),o=Object(Pe.useSelect)(e=>{var t;const n=e(we.store).getSettings().__experimentalPreferredStyleVariations;return null==n||null===(t=n.value)||void 0===t?void 0:t[Ot]},[]),r=Object(we.useInnerBlocksProps)(n,{allowedBlocks:Ct,template:[[Ot,{className:o&&"is-style-"+o}]],__experimentalLayout:t,templateInsertUpdatesSelection:!0});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)("div",r))};const St={apiVersion:2,name:"core/buttons",title:"Buttons",category:"design",description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},__experimentalLayout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}}},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"},{name:Bt}=St,Tt={icon:yt,example:{innerBlocks:[{name:"core/button",attributes:{text:Object(ke.__)("Find out more")}},{name:"core/button",attributes:{text:Object(ke.__)("Contact us")}}]},deprecated:_t,transforms:Et,edit:xt,save:function(){const e=we.useInnerBlocksProps.save(we.useBlockProps.save());return Object(je.createElement)("div",e)}};var Nt=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})),zt=n("wy2R"),Pt=n.n(zt),It=n("jZUy");const Mt=He()(e=>{if(!e)return{};const t=Pt()(e);return{year:t.year(),month:t.month()+1}});const Rt={apiVersion:2,name:"core/calendar",title:"Calendar",category:"widgets",description:"A calendar of your site’s posts.",keywords:["posts","archive"],textdomain:"default",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{align:!0},style:"wp-block-calendar"},{name:Lt}=Rt,Vt={icon:Nt,example:{},edit:function(e){let{attributes:t}=e;const n=Object(we.useBlockProps)(),{date:o,hasPosts:r,hasPostsResolved:a}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,hasFinishedResolution:n}=e(It.store),o={status:"publish",per_page:1},r=t("postType","post",o),a=n("getEntityRecords",["postType","post",o]);let l;const c=e("core/editor");if(c){"post"===c.getEditedPostAttribute("type")&&(l=c.getEditedPostAttribute("date"))}return{date:l,hasPostsResolved:a,hasPosts:a&&1===(null==r?void 0:r.length)}},[]);return r?Object(je.createElement)("div",n,Object(je.createElement)(_e.Disabled,null,Object(je.createElement)(Ce.a,{block:"core/calendar",attributes:{...t,...Mt(o)}}))):Object(je.createElement)("div",n,Object(je.createElement)(_e.Placeholder,{icon:Nt,label:Object(ke.__)("Calendar")},a?Object(ke.__)("No published posts found."):Object(je.createElement)(_e.Spinner,null)))}};var Ht=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"}));var At=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(je.createElement)(ye.Path,{d:"M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z"}));const Ft={apiVersion:2,name:"core/categories",title:"Categories",category:"widgets",description:"Display a list of all categories.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showOnlyTopLevel:{type:"boolean",default:!1}},supports:{align:!0,html:!1},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"},{name:Dt}=Ft,Gt={icon:Ht,example:{},edit:function e(t){let{attributes:{displayAsDropdown:n,showHierarchy:o,showPostCounts:r,showOnlyTopLevel:a},setAttributes:l}=t;const c=Object(nt.useInstanceId)(e,"blocks-category-select"),{categories:i,isRequesting:s}=Object(Pe.useSelect)(e=>{const{getEntityRecords:t,isResolving:n}=e(It.store),o={per_page:-1,hide_empty:!0,context:"view"};return a&&(o.parent=0),{categories:t("taxonomy","category",o),isRequesting:n("getEntityRecords",["taxonomy","category",o])}},[a]),u=e=>null!=i&&i.length?null===e?i:i.filter(t=>{let{parent:n}=t;return n===e}):[],m=e=>"wp-block-categories__list wp-block-categories__list-level-"+e,d=e=>t=>l({[e]:t}),b=e=>e?Object(Me.unescape)(e).trim():Object(ke.__)("(Untitled)"),p=(e,t)=>{const n=u(e.id),{id:a,link:l,count:c,name:i}=e;return Object(je.createElement)("li",{key:a},Object(je.createElement)("a",{href:l,target:"_blank",rel:"noreferrer noopener"},b(i)),r&&Object(je.createElement)("span",{className:"wp-block-categories__post-count"},` (${c})`),o&&!!n.length&&Object(je.createElement)("ul",{className:m(t+1)},n.map(e=>p(e,t+1))))},g=(e,t)=>{const{id:n,count:a,name:l}=e,c=u(n);return[Object(je.createElement)("option",{key:n},Object(Me.times)(3*t,()=>" "),b(l),r&&` (${a})`),o&&!!c.length&&c.map(e=>g(e,t+1))]};return Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Categories settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Display as dropdown"),checked:n,onChange:d("displayAsDropdown")}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show post counts"),checked:r,onChange:d("showPostCounts")}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show only top level categories"),checked:a,onChange:d("showOnlyTopLevel")}),!a&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show hierarchy"),checked:o,onChange:d("showHierarchy")}))),s&&Object(je.createElement)(_e.Placeholder,{icon:At,label:Object(ke.__)("Categories")},Object(je.createElement)(_e.Spinner,null)),!s&&0===(null==i?void 0:i.length)&&Object(je.createElement)("p",null,Object(ke.__)("Your site does not have any posts, so there is nothing to display here at the moment.")),!s&&(null==i?void 0:i.length)>0&&(n?(()=>{const e=u(o?0:null);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.VisuallyHidden,{as:"label",htmlFor:c},Object(ke.__)("Categories")),Object(je.createElement)("select",{id:c,className:"wp-block-categories__dropdown"},e.map(e=>g(e,0))))})():(()=>{const e=u(o?0:null);return Object(je.createElement)("ul",{className:m(0)},e.map(e=>p(e,0)))})()))}};var Ut=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"}));var qt=e=>{let{clientId:t}=e;const{replaceBlocks:n}=Object(Pe.useDispatch)(we.store),o=Object(Pe.useSelect)(e=>e(we.store).getBlock(t),[t]);return Object(je.createElement)(_e.ToolbarButton,{onClick:()=>n(o.clientId,Object(Oe.rawHandler)({HTML:Object(Oe.serialize)(o)}))},Object(ke.__)("Convert to blocks"))};const{wp:Wt}=window;const $t={apiVersion:2,name:"core/freeform",title:"Classic",category:"text",description:"Use the classic WordPress editor.",textdomain:"default",attributes:{content:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,reusable:!1},editorStyle:"wp-block-freeform-editor"},{name:Zt}=$t,Kt={icon:Ut,edit:function(e){let{clientId:t,attributes:{content:n},setAttributes:o,onReplace:r}=e;const{getMultiSelectedBlockClientIds:a}=Object(Pe.useSelect)(we.store),l=Object(je.useRef)(!1);return Object(je.useEffect)(()=>{if(!l.current)return;const e=window.tinymce.get("editor-"+t);(null==e?void 0:e.getContent())!==n&&e.setContent(n||"")},[n]),Object(je.useEffect)(()=>{const{baseURL:e,suffix:c}=window.wpEditorL10n.tinymce;function i(e){let t;n&&e.on("loadContent",()=>e.setContent(n)),e.on("blur",()=>{var n;t=e.selection.getBookmark(2,!0);const r=document.querySelector(".interface-interface-skeleton__content"),l=r.scrollTop;return null!==(n=a())&&void 0!==n&&n.length||o({content:e.getContent()}),e.once("focus",()=>{t&&(e.selection.moveToBookmark(t),r.scrollTop!==l&&(r.scrollTop=l))}),!1}),e.on("mousedown touchstart",()=>{t=null});const l=Object(Me.debounce)(()=>{const t=e.getContent();t!==e._lastChange&&(e._lastChange=t,o({content:t}))},250);e.on("Paste Change input Undo Redo",l),e.on("remove",l.cancel),e.on("keydown",t=>{dt.isKeyboardEvent.primary(t,"z")&&t.stopPropagation(),t.keyCode!==dt.BACKSPACE&&t.keyCode!==dt.DELETE||!function(e){const t=e.getBody();return!(t.childNodes.length>1)&&(0===t.childNodes.length||!(t.childNodes[0].childNodes.length>1)&&/^\n?$/.test(t.innerText||t.textContent))}(e)||(r([]),t.preventDefault(),t.stopImmediatePropagation());const{altKey:n}=t;n&&t.keyCode===dt.F10&&t.stopPropagation()}),e.on("init",()=>{const t=e.getBody();t.ownerDocument.activeElement===t&&(t.blur(),e.focus())})}function s(){const{settings:e}=window.wpEditorL10n.tinymce;Wt.oldEditor.initialize("editor-"+t,{tinymce:{...e,inline:!0,content_css:!1,fixed_toolbar_container:"#toolbar-"+t,setup:i}})}function u(){"complete"===document.readyState&&s()}return l.current=!0,window.tinymce.EditorManager.overrideDefaults({base_url:e,suffix:c}),"complete"===document.readyState?s():document.addEventListener("readystatechange",u),()=>{document.removeEventListener("readystatechange",u),Wt.oldEditor.remove("editor-"+t)}},[]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,Object(je.createElement)(qt,{clientId:t}))),Object(je.createElement)("div",Object(we.useBlockProps)(),Object(je.createElement)("div",{key:"toolbar",id:"toolbar-"+t,className:"block-library-classic__toolbar",onClick:function(){const e=window.tinymce.get("editor-"+t);e&&e.focus()},"data-placeholder":Object(ke.__)("Classic"),onKeyDown:function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}}),Object(je.createElement)("div",{key:"editor",id:"editor-"+t,className:"wp-block-freeform block-library-rich-text__tinymce"})))},save:function(e){let{attributes:t}=e;const{content:n}=t;return Object(je.createElement)(je.RawHTML,null,n)}};var Jt=n("1Yn1");function Qt(e){return e.replace(/\[/g,"[")}function Yt(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1//$2")}var Xt={from:[{type:"enter",regExp:/^```$/,transform:()=>Object(Oe.createBlock)("core/code")},{type:"block",blocks:["core/html"],transform:e=>{let{content:t}=e;return Object(Oe.createBlock)("core/code",{content:t})}},{type:"raw",isMatch:e=>"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName,schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]};const en={apiVersion:2,name:"core/code",title:"Code",category:"text",description:"Display code snippets that respect your spacing and tabs.",textdomain:"default",attributes:{content:{type:"string",source:"html",selector:"code"}},supports:{anchor:!0,__experimentalSelector:".wp-block-code > code",typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:["top","bottom"],padding:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{text:!0,background:!0,gradients:!0}},style:"wp-block-code"},{name:tn}=en,nn={icon:Jt.a,example:{attributes:{content:Object(ke.__)('// 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:Xt,edit:function(e){let{attributes:t,setAttributes:n,onRemove:o}=e;const r=Object(we.useBlockProps)();return Object(je.createElement)("pre",r,Object(je.createElement)(we.RichText,{tagName:"code",value:t.content,onChange:e=>n({content:e}),onRemove:o,placeholder:Object(ke.__)("Write code…"),"aria-label":Object(ke.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0}))},save:function(e){let{attributes:t}=e;return Object(je.createElement)("pre",we.useBlockProps.save(),Object(je.createElement)(we.RichText.Content,{tagName:"code",value:(n=t.content,Object(Me.flow)(Qt,Yt)(n||""))}));var n}};var on=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.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-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"}));var rn=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible(e){let{width:t}=e;return isFinite(t)},migrate:e=>({...e,width:e.width+"%"}),save(e){let{attributes:t}=e;const{verticalAlignment:n,width:o}=t,r=tt()({["is-vertically-aligned-"+n]:n}),a={flexBasis:o+"%"};return Object(je.createElement)("div",{className:r,style:a},Object(je.createElement)(we.InnerBlocks.Content,null))}}];var an=function(e){let{attributes:{verticalAlignment:t,width:n,templateLock:o=!1,allowedBlocks:r},setAttributes:a,clientId:l}=e;const c=tt()("block-core-columns",{["is-vertically-aligned-"+t]:t}),i=Object(_e.__experimentalUseCustomUnits)({availableUnits:Object(we.useSetting)("spacing.units")||["%","px","em","rem","vw"]}),{columnsIds:s,hasChildBlocks:u,rootClientId:m}=Object(Pe.useSelect)(e=>{const{getBlockOrder:t,getBlockRootClientId:n}=e(we.store),o=n(l);return{hasChildBlocks:t(l).length>0,rootClientId:o,columnsIds:t(o)}},[l]),{updateBlockAttributes:d}=Object(Pe.useDispatch)(we.store),b=Number.isFinite(n)?n+"%":n,p=Object(we.useBlockProps)({className:c,style:b?{flexBasis:b}:void 0}),g=s.length,h=s.indexOf(l)+1,v=Object(ke.sprintf)(Object(ke.__)("%1$s (%2$d of %3$d)"),p["aria-label"],h,g),O=Object(we.useInnerBlocksProps)({...p,"aria-label":v},{templateLock:o,allowedBlocks:r,renderAppender:u?void 0:we.InnerBlocks.ButtonBlockAppender});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.BlockVerticalAlignmentToolbar,{onChange:e=>{a({verticalAlignment:e}),d(m,{verticalAlignment:null})},value:t})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Column settings")},Object(je.createElement)(_e.__experimentalUnitControl,{label:Object(ke.__)("Width"),labelPosition:"edge",__unstableInputWidth:"80px",value:n||"",onChange:e=>{e=0>parseFloat(e)?"0":e,a({width:e})},units:i}))),Object(je.createElement)("div",O))};const ln={apiVersion:2,name:"core/column",title:"Column",category:"text",parent:["core/columns"],description:"A single column within a columns block.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},width:{type:"string"},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0},spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}}}},{name:cn}=ln,sn={icon:on,edit:an,save:function(e){let{attributes:t}=e;const{verticalAlignment:n,width:o}=t,r=tt()({["is-vertically-aligned-"+n]:n});let a;if(o&&/\d/.test(o)){let e=Number.isFinite(o)?o+"%":o;if(!Number.isFinite(o)&&null!=o&&o.endsWith("%")){const t=1e12;e=Math.round(Number.parseFloat(o)*t)/t+"%"}a={flexBasis:e}}const l=we.useBlockProps.save({className:r,style:a}),c=we.useInnerBlocksProps.save(l);return Object(je.createElement)("div",c)},deprecated:rn};var un=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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 mn(e){let t,{doc:n}=mn;n||(n=document.implementation.createHTMLDocument(""),mn.doc=n),n.body.innerHTML=e;for(const e of n.body.firstChild.classList)if(t=e.match(/^layout-column-(\d+)$/))return Number(t[1])-1}var dn=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>{if(!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor"]),style:t,isStackedOnMobile:!0}},save(e){let{attributes:t}=e;const{verticalAlignment:n,backgroundColor:o,customBackgroundColor:r,textColor:a,customTextColor:l}=t,c=Object(we.getColorClassName)("background-color",o),i=Object(we.getColorClassName)("color",a),s=tt()({"has-background":o||r,"has-text-color":a||l,[c]:c,[i]:i,["are-vertically-aligned-"+n]:n}),u={backgroundColor:c?void 0:r,color:i?void 0:l};return Object(je.createElement)("div",{className:s||void 0,style:u},Object(je.createElement)(we.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},isEligible:(e,t)=>!!t.some(e=>/layout-column-\d+/.test(e.originalContent))&&t.some(e=>void 0!==mn(e.originalContent)),migrate(e,t){const n=t.reduce((e,t)=>{const{originalContent:n}=t;let o=mn(n);return void 0===o&&(o=0),e[o]||(e[o]=[]),e[o].push(t),e},[]).map(e=>Object(Oe.createBlock)("core/column",{},e));return[{...Object(Me.omit)(e,["columns"]),isStackedOnMobile:!0},n]},save(e){let{attributes:t}=e;const{columns:n}=t;return Object(je.createElement)("div",{className:`has-${n}-columns`},Object(je.createElement)(we.InnerBlocks.Content,null))}},{attributes:{columns:{type:"number",default:2}},migrate:(e,t)=>[e={...Object(Me.omit)(e,["columns"]),isStackedOnMobile:!0},t],save(e){let{attributes:t}=e;const{verticalAlignment:n,columns:o}=t,r=tt()(`has-${o}-columns`,{["are-vertically-aligned-"+n]:n});return Object(je.createElement)("div",{className:r},Object(je.createElement)(we.InnerBlocks.Content,null))}}];const bn=e=>{const t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function pn(e,t){const{width:n=100/t}=e.attributes;return bn(n)}function gn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return Object(Me.sumBy)(e,e=>pn(e,t))}function hn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return e.reduce((e,n)=>{const o=pn(n,t);return Object.assign(e,{[n.clientId]:o})},{})}function vn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;const o=gn(e,n);return Object(Me.mapValues)(hn(e,n),e=>bn(t*e/o))}function On(e,t){return e.map(e=>Object(Me.merge)({},e,{attributes:{width:t[e.clientId]+"%"}}))}const jn=["core/column"];const yn=Object(Pe.withDispatch)((e,t,n)=>({updateAlignment(o){const{clientId:r,setAttributes:a}=t,{updateBlockAttributes:l}=e(we.store),{getBlockOrder:c}=n.select(we.store);a({verticalAlignment:o});c(r).forEach(e=>{l(e,{verticalAlignment:o})})},updateColumns(o,r){const{clientId:a}=t,{replaceInnerBlocks:l}=e(we.store),{getBlocks:c}=n.select(we.store);let i=c(a);const s=i.every(e=>{var t;const n=e.attributes.width;return Number.isFinite(null!=n&&null!==(t=n.endsWith)&&void 0!==t&&t.call(n,"%")?parseFloat(n):n)});const u=r>o;if(u&&s){const e=bn(100/r);i=[...On(i,vn(i,100-e)),...Object(Me.times)(r-o,()=>Object(Oe.createBlock)("core/column",{width:e+"%"}))]}else if(u)i=[...i,...Object(Me.times)(r-o,()=>Object(Oe.createBlock)("core/column"))];else if(i=Object(Me.dropRight)(i,o-r),s){i=On(i,vn(i,100))}l(a,i)}}))((function(e){let{attributes:t,setAttributes:n,updateAlignment:o,updateColumns:r,clientId:a}=e;const{isStackedOnMobile:l,verticalAlignment:c}=t,{count:i}=Object(Pe.useSelect)(e=>({count:e(we.store).getBlockCount(a)}),[a]),s=tt()({["are-vertically-aligned-"+c]:c,"is-not-stacked-on-mobile":!l}),u=Object(we.useBlockProps)({className:s}),m=Object(we.useInnerBlocksProps)(u,{allowedBlocks:jn,orientation:"horizontal",renderAppender:!1});return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(we.BlockVerticalAlignmentToolbar,{onChange:o,value:c})),Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,null,Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Columns"),value:i,onChange:e=>r(i,e),min:1,max:Math.max(6,i)}),i>6&&Object(je.createElement)(_e.Notice,{status:"warning",isDismissible:!1},Object(ke.__)("This column count exceeds the recommended amount and may cause visual breakage.")),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Stack on mobile"),checked:l,onChange:()=>n({isStackedOnMobile:!l})}))),Object(je.createElement)("div",m))}));function fn(e){let{clientId:t,name:n,setAttributes:o}=e;const{blockType:r,defaultVariation:a,variations:l}=Object(Pe.useSelect)(e=>{const{getBlockVariations:t,getBlockType:o,getDefaultBlockVariation:r}=e(Oe.store);return{blockType:o(n),defaultVariation:r(n,"block"),variations:t(n,"block")}},[n]),{replaceInnerBlocks:c}=Object(Pe.useDispatch)(we.store),i=Object(we.useBlockProps)();return Object(je.createElement)("div",i,Object(je.createElement)(we.__experimentalBlockVariationPicker,{icon:Object(Me.get)(r,["icon","src"]),label:Object(Me.get)(r,["title"]),variations:l,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;e.attributes&&o(e.attributes),e.innerBlocks&&c(t,Object(Oe.createBlocksFromInnerBlocksTemplate)(e.innerBlocks),!0)},allowSkip:!0}))}var _n=e=>{const{clientId:t}=e,n=Object(Pe.useSelect)(e=>e(we.store).getBlocks(t).length>0,[t])?yn:fn;return Object(je.createElement)(n,e)};var kn=[{name:"one-column-full",title:Object(ke.__)("100"),description:Object(ke.__)("One column"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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(ke.__)("50 / 50"),description:Object(ke.__)("Two columns; equal split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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(ke.__)("30 / 70"),description:Object(ke.__)("Two columns; one-third, two-thirds split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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(ke.__)("70 / 30"),description:Object(ke.__)("Two columns; two-thirds, one-third split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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(ke.__)("33 / 33 / 33"),description:Object(ke.__)("Three columns; equal split"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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(ke.__)("25 / 50 / 25"),description:Object(ke.__)("Three columns; wide center column"),icon:Object(je.createElement)(_e.SVG,{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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"]}];var wn={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{const t=+(100/e.length).toFixed(2),n=e.map(e=>{let{name:n,attributes:o,innerBlocks:r}=e;return["core/column",{width:t+"%"},[[n,{...o},r]]]});return Object(Oe.createBlock)("core/columns",{},Object(Oe.createBlocksFromInnerBlocksTemplate)(n))},isMatch:e=>{let{length:t}=e;return t&&t<=6}},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{const{align:n,backgroundColor:o,textColor:r,style:a,mediaAlt:l,mediaId:c,mediaPosition:i,mediaSizeSlug:s,mediaType:u,mediaUrl:m,mediaWidth:d,verticalAlignment:b}=e;let p;if("image"!==u&&u)p=["core/video",{id:c,src:m}];else{p=["core/image",{...{id:c,alt:l,url:m,sizeSlug:s},...{href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel}}]}const g=[["core/column",{width:d+"%"},[p]],["core/column",{width:100-d+"%"},t]];return"right"===i&&g.reverse(),Object(Oe.createBlock)("core/columns",{align:n,backgroundColor:o,textColor:r,style:a,verticalAlignment:b},Object(Oe.createBlocksFromInnerBlocksTemplate)(g))}}]};const En={apiVersion:2,name:"core/columns",title:"Columns",category:"design",description:"Display content in multiple columns, with blocks added to each column.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0},spacing:{margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{padding:!0}}},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"},{name:Cn}=En,xn={icon:un,variations:kn,example:{viewportWidth:600,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(ke.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:Object(ke.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:Object(ke.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:Object(ke.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:dn,edit:_n,save:function(e){let{attributes:t}=e;const{isStackedOnMobile:n,verticalAlignment:o}=t,r=tt()({["are-vertically-aligned-"+o]:o,"is-not-stacked-on-mobile":!n}),a=we.useBlockProps.save({className:r}),l=we.useInnerBlocksProps.save(a);return Object(je.createElement)("div",l)},transforms:wn};var Sn=Object(je.createElement)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(ye.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"}));const Bn={"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 Tn(e){return e?{backgroundImage:`url(${e})`}:{}}const Nn=["image","video"];function zn(e){return 50===e||void 0===!e?null:"has-background-dim-"+10*Math.round(e/10)}function Pn(e){return!e||"center center"===e||"center"===e}function In(e){return Pn(e)?"":Bn[e]}function Mn(e){return 0!==e&&50!==e&&e?"has-background-dim-"+10*Math.round(e/10):null}function Rn(e){return{...e,dimRatio:e.url?e.dimRatio:100}}const Ln={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}};var Vn=[{attributes:{...Ln,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:c,focalPoint:i,hasParallax:s,isRepeated:u,overlayColor:m,url:d,alt:b,id:p,minHeight:g,minHeightUnit:h}=t,v=Object(we.getColorClassName)("background-color",m),O=Object(we.__experimentalGetGradientClass)(o),j=h?`${g}${h}`:g,y="image"===n,f="video"===n,_=!(s||u),k={...y&&!_?Tn(d):{},backgroundColor:v?void 0:l,background:a&&!d?a:void 0,minHeight:j||void 0},w=i&&_?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,E=tt()(Mn(c),v,{"has-background-dim":0!==c,"has-parallax":s,"is-repeated":u,"has-background-gradient":o||a,[O]:!d&&O,"has-custom-content-position":!Pn(r)},In(r));return Object(je.createElement)("div",we.useBlockProps.save({className:E,style:k}),d&&(o||a)&&0!==c&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",O),style:a?{background:a}:void 0}),y&&_&&d&&Object(je.createElement)("img",{className:tt()("wp-block-cover__image-background",p?"wp-image-"+p:null),alt:b,src:d,style:{objectPosition:w},"data-object-fit":"cover","data-object-position":w}),f&&d&&Object(je.createElement)("video",{className:tt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:w},"data-object-fit":"cover","data-object-position":w}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:c,focalPoint:i,hasParallax:s,isRepeated:u,overlayColor:m,url:d,minHeight:b,minHeightUnit:p}=t,g=Object(we.getColorClassName)("background-color",m),h=Object(we.__experimentalGetGradientClass)(o),v=p?`${b}${p}`:b,O="image"===n,j="video"===n,y=O?Tn(d):{},f={};let _;g||(y.backgroundColor=l),a&&!d&&(y.background=a),y.minHeight=v||void 0,i&&(_=`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`,O&&!s&&(y.backgroundPosition=_),j&&(f.objectPosition=_));const k=tt()(Mn(c),g,{"has-background-dim":0!==c,"has-parallax":s,"is-repeated":u,"has-background-gradient":o||a,[h]:!d&&h,"has-custom-content-position":!Pn(r)},In(r));return Object(je.createElement)("div",we.useBlockProps.save({className:k,style:y}),d&&(o||a)&&0!==c&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",h),style:a?{background:a}:void 0}),j&&d&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:f}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:c,hasParallax:i,overlayColor:s,url:u,minHeight:m}=t,d=Object(we.getColorClassName)("background-color",s),b=Object(we.__experimentalGetGradientClass)(o),p="image"===n?Tn(u):{};d||(p.backgroundColor=a),c&&!i&&(p.backgroundPosition=`${Math.round(100*c.x)}% ${Math.round(100*c.y)}%`),r&&!u&&(p.background=r),p.minHeight=m||void 0;const g=tt()(Mn(l),d,{"has-background-dim":0!==l,"has-parallax":i,"has-background-gradient":r,[b]:!u&&b});return Object(je.createElement)("div",{className:g,style:p},u&&(o||r)&&0!==l&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",b),style:r?{background:r}:void 0}),"video"===n&&u&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,customGradient:r,customOverlayColor:a,dimRatio:l,focalPoint:c,hasParallax:i,overlayColor:s,url:u,minHeight:m}=t,d=Object(we.getColorClassName)("background-color",s),b=Object(we.__experimentalGetGradientClass)(o),p="image"===n?Tn(u):{};d||(p.backgroundColor=a),c&&!i&&(p.backgroundPosition=`${100*c.x}% ${100*c.y}%`),r&&!u&&(p.background=r),p.minHeight=m||void 0;const g=tt()(Mn(l),d,{"has-background-dim":0!==l,"has-parallax":i,"has-background-gradient":r,[b]:!u&&b});return Object(je.createElement)("div",{className:g,style:p},u&&(o||r)&&0!==l&&Object(je.createElement)("span",{"aria-hidden":"true",className:tt()("wp-block-cover__gradient-background",b),style:r?{background:r}:void 0}),"video"===n&&u&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),Object(je.createElement)("div",{className:"wp-block-cover__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))},migrate:Rn},{attributes:{...Ln,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save(e){let{attributes:t}=e;const{backgroundType:n,contentAlign:o,customOverlayColor:r,dimRatio:a,focalPoint:l,hasParallax:c,overlayColor:i,title:s,url:u}=t,m=Object(we.getColorClassName)("background-color",i),d="image"===n?Tn(u):{};m||(d.backgroundColor=r),l&&!c&&(d.backgroundPosition=`${100*l.x}% ${100*l.y}%`);const b=tt()(Mn(a),m,{"has-background-dim":0!==a,"has-parallax":c,[`has-${o}-content`]:"center"!==o});return Object(je.createElement)("div",{className:b,style:d},"video"===n&&u&&Object(je.createElement)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!we.RichText.isEmpty(s)&&Object(je.createElement)(we.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:s}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[Object(Me.omit)(t,["title","contentAlign"]),[Object(Oe.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(ke.__)("Write title…")})]]}},{attributes:{...Ln,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save(e){let{attributes:t}=e;const{url:n,title:o,hasParallax:r,dimRatio:a,align:l,contentAlign:c,overlayColor:i,customOverlayColor:s}=t,u=Object(we.getColorClassName)("background-color",i),m=Tn(n);u||(m.backgroundColor=s);const d=tt()("wp-block-cover-image",Mn(a),u,{"has-background-dim":0!==a,"has-parallax":r,[`has-${c}-content`]:"center"!==c},l?"align"+l:null);return Object(je.createElement)("div",{className:d,style:m},!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:o}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[Object(Me.omit)(t,["title","contentAlign","align"]),[Object(Oe.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(ke.__)("Write title…")})]]}},{attributes:{...Ln,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save(e){let{attributes:t}=e;const{url:n,title:o,hasParallax:r,dimRatio:a,align:l}=t,c=Tn(n),i=tt()("wp-block-cover-image",Mn(a),{"has-background-dim":0!==a,"has-parallax":r},l?"align"+l:null);return Object(je.createElement)("section",{className:i,style:c},Object(je.createElement)(we.RichText.Content,{tagName:"h2",value:o}))},migrate(e){const t={...e,dimRatio:e.url?e.dimRatio:100};return[Object(Me.omit)(t,["title","contentAlign","align"]),[Object(Oe.createBlock)("core/paragraph",{content:e.title,align:e.contentAlign,fontSize:"large",placeholder:Object(ke.__)("Write title…")})]]}}],Hn=n("FEKF"),An=n.n(Hn),Fn=n("fHnH"),Dn=n("abaT");Object(Fn.b)([Dn.a]);const{__Visualizer:Gn}=_e.__experimentalBoxControl;function Un(){return Un.fastAverageColor||(Un.fastAverageColor=new An.a),Un.fastAverageColor}function qn(e){let{onChange:t,onUnitChange:n,unit:o="px",value:r=""}=e;const[a,l]=Object(je.useState)(null),c="block-cover-height-input-"+Object(nt.useInstanceId)(we.__experimentalUnitControl),i="px"===o,s=Object(_e.__experimentalUseCustomUnits)({availableUnits:Object(we.useSetting)("spacing.units")||["px","em","rem","vw","vh"],defaultValues:{px:"430",em:"20",rem:"20",vw:"20",vh:"50"}}),u=null!==a?a:r,m=i?50:0;return Object(je.createElement)(_e.BaseControl,{label:Object(ke.__)("Minimum height of cover"),id:c},Object(je.createElement)(we.__experimentalUnitControl,{id:c,isResetValueOnUnitChange:!0,min:m,onBlur:()=>{null!==a&&l(null)},onChange:e=>{const o=""!==e?parseFloat(e):void 0;isNaN(o)&&void 0!==o?l(e):(l(null),t(o),void 0===o&&n())},onUnitChange:n,style:{maxWidth:80},unit:o,units:s,value:u}))}const Wn={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1};function $n(e){let{className:t,onResizeStart:n,onResize:o,onResizeStop:r,...a}=e;const[l,c]=Object(je.useState)(!1);return Object(je.createElement)(_e.ResizableBox,Object(mt.a)({className:tt()(t,{"is-resizing":l}),enable:Wn,onResizeStart:(e,t,r)=>{n(r.clientHeight),o(r.clientHeight)},onResize:(e,t,n)=>{o(n.clientHeight),l||c(!0)},onResizeStop:(e,t,n)=>{r(n.clientHeight),c(!1)}},a))}function Zn(e){let{x:t,y:n}=e;return`${Math.round(100*t)}% ${Math.round(100*n)}%`}function Kn(e){let{disableMediaButtons:t=!1,children:n,noticeUI:o,noticeOperations:r,onSelectMedia:a,style:l}=e;const{removeAllNotices:c,createErrorNotice:i}=r;return Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:Sn}),labels:{title:Object(ke.__)("Cover"),instructions:Object(ke.__)("Drag and drop onto this block, upload, or select existing media from your library.")},onSelect:a,accept:"image/*,video/*",allowedTypes:Nn,notices:o,disableMediaButtons:t,onError:e=>{c(),i(e)},style:l},n)}var Jn=Object(nt.compose)([Object(Pe.withDispatch)(e=>{const{toggleSelection:t,__unstableMarkNextChangeAsNotPersistent:n}=e(we.store);return{toggleSelection:t,markNextChangeAsNotPersistent:n}}),Object(we.withColors)({overlayColor:"background-color"}),_e.withNotices,nt.withInstanceId])((function(e){var t,n,o;let{attributes:r,clientId:a,isSelected:l,noticeUI:c,noticeOperations:i,overlayColor:s,setAttributes:u,setOverlayColor:m,toggleSelection:d,markNextChangeAsNotPersistent:b}=e;const{contentPosition:p,id:g,backgroundType:h,dimRatio:v,focalPoint:O,hasParallax:j,isDark:y,isRepeated:f,minHeight:_,minHeightUnit:k,style:w,url:E,alt:C,allowedBlocks:x,templateLock:S}=r,{gradientClass:B,gradientValue:T,setGradient:N}=Object(we.__experimentalUseGradient)(),z=function(e,t){return n=>{if(!n||!n.url)return void e({url:void 0,id:void 0});let o;if(Object(ze.isBlobURL)(n.url)&&(n.type=Object(ze.getBlobTypeByURL)(n.url)),n.media_type)o="image"===n.media_type?"image":"video";else{if("image"!==n.type&&"video"!==n.type)return;o=n.type}e({dimRatio:100===t?50:t,url:n.url,id:n.id,alt:null==n?void 0:n.alt,backgroundType:o,..."video"===o?{focalPoint:void 0,hasParallax:void 0}:{}})}}(u,v),P=((e,t)=>!e&&Object(ze.isBlobURL)(t))(g,E),[I,M]=Object(je.useState)(_),[R,L]=Object(je.useState)(k),V="vh"===k&&100===_,H=Object(je.useRef)(),A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;const[r,a]=Object(je.useState)(!1);return Object(je.useEffect)(()=>{e&&t<=50&&o.current&&Un().getColorAsync(o.current,e=>{a(e.isDark)})},[e,e&&t<=50&&o.current,a]),Object(je.useEffect)(()=>{if(t>50||!e){if(!n)return void a(!0);a(Object(Fn.a)(n).isDark())}},[n,t>50||!e,a]),Object(je.useEffect)(()=>{e||n||a(!1)},[!e&&!n,a]),r}(E,v,s.color,H);Object(je.useEffect)(()=>{b(),u({isDark:A})},[A]);const F="image"===h,D="video"===h,[G,U]=Object(je.useState)(null),q=k?`${_}${k}`:_,W=!(j||f),$={...F&&!W?Tn(E):void 0,minHeight:G||q||void 0},Z={backgroundColor:s.color},K={objectPosition:O&&W?Zn(O):void 0},J=!!(E||s.color||T),Q=D||F&&(!j||f),Y=e=>{const[t,n]=H.current?[H.current.style,"objectPosition"]:[te.current.style,"backgroundPosition"];t[n]=Zn(e)},X=Object(Pe.useSelect)(e=>e(we.store).getBlock(a).innerBlocks.length>0,[a]),ee=Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,{group:"block"},Object(je.createElement)(we.__experimentalBlockAlignmentMatrixControl,{label:Object(ke.__)("Change content position"),value:p,onChange:e=>u({contentPosition:e}),isDisabled:!X}),Object(je.createElement)(we.__experimentalBlockFullHeightAligmentControl,{isActive:V,onToggle:()=>V?u("vh"===R&&100===I?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:I,minHeightUnit:R}):(M(_),L(k),u({minHeight:100,minHeightUnit:"vh"})),isDisabled:!X})),Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:g,mediaURL:E,allowedTypes:Nn,accept:"image/*,video/*",onSelect:z,name:E?Object(ke.__)("Replace"):Object(ke.__)("Add Media")})),Object(je.createElement)(we.InspectorControls,null,!!E&&Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Media settings")},F&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Fixed background"),checked:j,onChange:()=>{u({hasParallax:!j,...j?{}:{focalPoint:void 0}})}}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Repeated background"),checked:f,onChange:()=>{u({isRepeated:!f})}})),Q&&Object(je.createElement)(_e.FocalPointPicker,{label:Object(ke.__)("Focal point picker"),url:E,value:O,onDragStart:Y,onDrag:Y,onChange:e=>u({focalPoint:e})}),E&&F&&W&&Object(je.createElement)(_e.TextareaControl,{label:Object(ke.__)("Alt text (alternative text)"),value:C,onChange:e=>u({alt:e}),help:Object(je.createElement)(je.Fragment,null,Object(je.createElement)(_e.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(ke.__)("Describe the purpose of the image")),Object(ke.__)("Leave empty if the image is purely decorative."))}),Object(je.createElement)(_e.PanelRow,null,Object(je.createElement)(_e.Button,{variant:"secondary",isSmall:!0,className:"block-library-cover__reset-button",onClick:()=>u({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0})},Object(ke.__)("Clear Media")))),Object(je.createElement)(we.__experimentalPanelColorGradientSettings,{__experimentalHasMultipleOrigins:!0,__experimentalIsRenderedInSidebar:!0,title:Object(ke.__)("Overlay"),initialOpen:!0,settings:[{colorValue:s.color,gradientValue:T,onColorChange:m,onGradientChange:N,label:Object(ke.__)("Color")}]},Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Opacity"),value:v,onChange:e=>u({dimRatio:e}),min:0,max:100,step:10,required:!0}))),Object(je.createElement)(we.InspectorControls,{__experimentalGroup:"dimensions"},Object(je.createElement)(_e.__experimentalToolsPanelItem,{hasValue:()=>!!_,label:Object(ke.__)("Minimum height"),onDeselect:()=>u({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=>({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:a},Object(je.createElement)(qn,{value:G||_,unit:k,onChange:e=>u({minHeight:e}),onUnitChange:e=>u({minHeightUnit:e})})))),te=Object(je.useRef)(),ne=Object(we.useBlockProps)({ref:te}),oe=function(e){return[["core/paragraph",{align:"center",placeholder:Object(ke.__)("Write title…"),...e}]]}({fontSize:!(null===(t=Object(we.useSetting)("typography.fontSizes"))||void 0===t||!t.length)?"large":void 0}),re=Object(we.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:oe,templateInsertUpdatesSelection:!0,allowedBlocks:x,templateLock:S});if(!X&&!J)return Object(je.createElement)(je.Fragment,null,ee,Object(je.createElement)("div",Object(mt.a)({},ne,{className:tt()("is-placeholder",ne.className)}),Object(je.createElement)(Kn,{noticeUI:c,onSelectMedia:z,noticeOperations:i,style:{minHeight:G||q||void 0}},Object(je.createElement)("div",{className:"wp-block-cover__placeholder-background-options"},Object(je.createElement)(we.ColorPalette,{disableCustomColors:!0,value:s.color,onChange:m,clearable:!1}))),Object(je.createElement)($n,{className:"block-library-cover__resize-container",onResizeStart:()=>{u({minHeightUnit:"px"}),d(!1)},onResize:U,onResizeStop:e=>{d(!0),u({minHeight:e}),U(null)},showHandle:l})));const ae=tt()({"is-dark-theme":y,"is-light":!y,"is-transient":P,"has-parallax":j,"is-repeated":f,"has-custom-content-position":!Pn(p)},In(p));return Object(je.createElement)(je.Fragment,null,ee,Object(je.createElement)("div",Object(mt.a)({},ne,{className:tt()(ae,ne.className),style:{...$,...ne.style},"data-url":E}),Object(je.createElement)(Gn,{values:null==w||null===(n=w.spacing)||void 0===n?void 0:n.padding,showValues:null==w||null===(o=w.visualizers)||void 0===o?void 0:o.padding}),Object(je.createElement)($n,{className:"block-library-cover__resize-container",onResizeStart:()=>{u({minHeightUnit:"px"}),d(!1)},onResize:U,onResizeStop:e=>{d(!0),u({minHeight:e}),U(null)},showHandle:l}),Object(je.createElement)("span",{"aria-hidden":"true",className:tt()(zn(v),{[s.class]:s.class},"wp-block-cover__gradient-background",B,{"has-background-dim":void 0!==v,"has-background-gradient":T,[B]:!E&&B}),style:{backgroundImage:T,...Z}}),E&&F&&W&&Object(je.createElement)("img",{ref:H,className:"wp-block-cover__image-background",alt:C,src:E,style:K}),E&&D&&Object(je.createElement)("video",{ref:H,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:E,style:K}),P&&Object(je.createElement)(_e.Spinner,null),Object(je.createElement)(Kn,{disableMediaButtons:!0,noticeUI:c,onSelectMedia:z,noticeOperations:i}),Object(je.createElement)("div",re)))}));var Qn={from:[{type:"block",blocks:["core/image"],transform:e=>{var t;let{caption:n,url:o,alt:r,align:a,id:l,anchor:c,style:i}=e;return Object(Oe.createBlock)("core/cover",{dimRatio:50,url:o,alt:r,align:a,id:l,anchor:c,style:{color:{duotone:null==i||null===(t=i.color)||void 0===t?void 0:t.duotone}}},[Object(Oe.createBlock)("core/paragraph",{content:n,fontSize:"large"})])}},{type:"block",blocks:["core/video"],transform:e=>{let{caption:t,src:n,align:o,id:r,anchor:a}=e;return Object(Oe.createBlock)("core/cover",{dimRatio:50,url:n,align:o,id:r,backgroundType:"video",anchor:a},[Object(Oe.createBlock)("core/paragraph",{content:t,fontSize:"large"})])}},{type:"block",blocks:["core/group"],isMatch:e=>{var t,n;let{backgroundColor:o,gradient:r,style:a}=e;return o||(null==a||null===(t=a.color)||void 0===t?void 0:t.background)||(null==a||null===(n=a.color)||void 0===n?void 0:n.gradient)||r},transform:(e,t)=>{var n,o;let{align:r,anchor:a,backgroundColor:l,gradient:c,style:i}=e;return Object(Oe.createBlock)("core/cover",{align:r,anchor:a,overlayColor:l,customOverlayColor:null==i||null===(n=i.color)||void 0===n?void 0:n.background,gradient:c,customGradient:null==i||null===(o=i.color)||void 0===o?void 0:o.gradient},t)}}],to:[{type:"block",blocks:["core/image"],isMatch:e=>{let{backgroundType:t,url:n,overlayColor:o,customOverlayColor:r,gradient:a,customGradient:l}=e;return n?"image"===t:!(o||r||a||l)},transform:e=>{var t;let{title:n,url:o,alt:r,align:a,id:l,anchor:c,style:i}=e;return Object(Oe.createBlock)("core/image",{caption:n,url:o,alt:r,align:a,id:l,anchor:c,style:{color:{duotone:null==i||null===(t=i.color)||void 0===t?void 0:t.duotone}}})}},{type:"block",blocks:["core/video"],isMatch:e=>{let{backgroundType:t,url:n,overlayColor:o,customOverlayColor:r,gradient:a,customGradient:l}=e;return n?"video"===t:!(o||r||a||l)},transform:e=>{let{title:t,url:n,align:o,id:r,anchor:a}=e;return Object(Oe.createBlock)("core/video",{caption:t,src:n,id:r,align:o,anchor:a})}}]};const Yn={apiVersion:2,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay — great for headers.",textdomain:"default",attributes:{url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"},{name:Xn}=Yn,eo={icon:Sn,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/paragraph",attributes:{customFontSize:48,content:Object(ke.__)("Snow Patrol"),align:"center"}}]},transforms:Qn,save:function(e){let{attributes:t}=e;const{backgroundType:n,gradient:o,contentPosition:r,customGradient:a,customOverlayColor:l,dimRatio:c,focalPoint:i,hasParallax:s,isDark:u,isRepeated:m,overlayColor:d,url:b,alt:p,id:g,minHeight:h,minHeightUnit:v}=t,O=Object(we.getColorClassName)("background-color",d),j=Object(we.__experimentalGetGradientClass)(o),y=v?`${h}${v}`:h,f="image"===n,_="video"===n,k=!(s||m),w={...f&&!k?Tn(b):{},minHeight:y||void 0},E={backgroundColor:O?void 0:l,background:a||void 0},C=i&&k?`${Math.round(100*i.x)}% ${Math.round(100*i.y)}%`:void 0,x=tt()({"is-light":!u,"has-parallax":s,"is-repeated":m,"has-custom-content-position":!Pn(r)},In(r));return Object(je.createElement)("div",we.useBlockProps.save({className:x,style:w}),Object(je.createElement)("span",{"aria-hidden":"true",className:tt()(O,zn(c),"wp-block-cover__gradient-background",j,{"has-background-dim":void 0!==c,"has-background-gradient":o||a,[j]:!b&&j}),style:E}),f&&k&&b&&Object(je.createElement)("img",{className:tt()("wp-block-cover__image-background",g?"wp-image-"+g:null),alt:p,src:b,style:{objectPosition:C},"data-object-fit":"cover","data-object-position":C}),_&&b&&Object(je.createElement)("video",{className:tt()("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:b,style:{objectPosition:C},"data-object-fit":"cover","data-object-position":C}),Object(je.createElement)("div",we.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})))},edit:Jn,deprecated:Vn};var to=n("B9Az");function no(e){return e?Object(ke.__)("This embed will preserve its aspect ratio when the browser is resized."):Object(ke.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var oo=e=>{let{blockSupportsResponsive:t,showEditButton:n,themeSupportsResponsive:o,allowResponsive:r,toggleResponsive:a,switchBackToURLInput:l}=e;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.BlockControls,null,Object(je.createElement)(_e.ToolbarGroup,null,n&&Object(je.createElement)(_e.ToolbarButton,{className:"components-toolbar__control",label:Object(ke.__)("Edit URL"),icon:to.a,onClick:l}))),o&&t&&Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Media settings"),className:"blocks-responsive"},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Resize for smaller devices"),checked:r,help:no,onChange:a}))))};const ro=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})),ao=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})),lo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),co=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(_e.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-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})),io={foreground:"#1da1f2",src:Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"})))},so={foreground:"#ff0000",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"}))},uo={foreground:"#3b5998",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"}))},mo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"}))),bo={foreground:"#0073AA",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})))},po={foreground:"#1db954",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"}))},go=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})),ho={foreground:"#1ab7ea",src:Object(je.createElement)(_e.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(je.createElement)(_e.G,null,Object(je.createElement)(_e.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})))},vo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M22 11.816c0-1.256-1.02-2.277-2.277-2.277-.593 0-1.122.24-1.526.613-1.48-.965-3.455-1.594-5.647-1.69l1.17-3.702 3.18.75c.01 1.027.847 1.86 1.877 1.86 1.035 0 1.877-.84 1.877-1.877 0-1.035-.842-1.877-1.877-1.877-.77 0-1.43.466-1.72 1.13L13.55 3.92c-.204-.047-.4.067-.46.26l-1.35 4.27c-2.317.037-4.412.67-5.97 1.67-.402-.355-.917-.58-1.493-.58C3.02 9.54 2 10.56 2 11.815c0 .814.433 1.523 1.078 1.925-.037.222-.06.445-.06.673 0 3.292 4.01 5.97 8.94 5.97s8.94-2.678 8.94-5.97c0-.214-.02-.424-.052-.632.687-.39 1.154-1.12 1.154-1.964zm-3.224-7.422c.606 0 1.1.493 1.1 1.1s-.493 1.1-1.1 1.1-1.1-.494-1.1-1.1.493-1.1 1.1-1.1zm-16 7.422c0-.827.673-1.5 1.5-1.5.313 0 .598.103.838.27-.85.675-1.477 1.478-1.812 2.36-.32-.274-.525-.676-.525-1.13zm9.183 7.79c-4.502 0-8.165-2.33-8.165-5.193S7.457 9.22 11.96 9.22s8.163 2.33 8.163 5.193-3.663 5.193-8.164 5.193zM20.635 13c-.326-.89-.948-1.7-1.797-2.383.247-.186.55-.3.882-.3.827 0 1.5.672 1.5 1.5 0 .482-.23.91-.586 1.184zm-11.64 1.704c-.76 0-1.397-.616-1.397-1.376 0-.76.636-1.397 1.396-1.397.76 0 1.376.638 1.376 1.398 0 .76-.616 1.376-1.376 1.376zm7.405-1.376c0 .76-.615 1.376-1.375 1.376s-1.4-.616-1.4-1.376c0-.76.64-1.397 1.4-1.397.76 0 1.376.638 1.376 1.398zm-1.17 3.38c.15.152.15.398 0 .55-.675.674-1.728 1.002-3.22 1.002l-.01-.002-.012.002c-1.492 0-2.544-.328-3.218-1.002-.152-.152-.152-.398 0-.55.152-.152.4-.15.55 0 .52.52 1.394.775 2.67.775l.01.002.01-.002c1.276 0 2.15-.253 2.67-.775.15-.152.398-.152.55 0z"})),Oo={foreground:"#35465c",src:Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"}))},jo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),Object(je.createElement)(_e.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),Object(je.createElement)(_e.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})),yo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),Object(je.createElement)(_e.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),Object(je.createElement)(_e.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),Object(je.createElement)(_e.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),Object(je.createElement)(_e.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),Object(je.createElement)(_e.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})),fo=Object(je.createElement)(_e.SVG,{viewBox:"0 0 24 24"},Object(je.createElement)(_e.Path,{d:"m12.1479 18.5957c-2.4949 0-4.28131-1.7558-4.28131-4.0658 0-2.2176 1.78641-4.0965 4.09651-4.0965 2.2793 0 4.0349 1.7864 4.0349 4.1581 0 2.2794-1.7556 4.0042-3.8501 4.0042zm8.3521-18.5957-4.5329 1v7c-1.1088-1.41691-2.8028-1.8787-4.8049-1.8787-2.09443 0-3.97329.76993-5.5133 2.27917-1.72483 1.66323-2.6489 3.78863-2.6489 6.16033 0 2.5873.98562 4.8049 2.89526 6.499 1.44763 1.2936 3.17251 1.9402 5.17454 1.9402 1.9713 0 3.4498-.5236 4.8973-1.9402v1.9402h4.5329c0-7.6359 0-15.3641 0-23z",fill:"#333436"})),_o=Object(je.createElement)(_e.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1"},Object(je.createElement)(_e.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"})),ko=Object(je.createElement)(_e.SVG,{viewBox:"0 0 44 44"},Object(je.createElement)(_e.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"}));var wo=()=>Object(je.createElement)("div",{className:"wp-block-embed is-loading"},Object(je.createElement)(_e.Spinner,null),Object(je.createElement)("p",null,Object(ke.__)("Embedding…")));var Eo=e=>{let{icon:t,label:n,value:o,onSubmit:r,onChange:a,cannotEmbed:l,fallback:c,tryAgain:i}=e;return Object(je.createElement)(_e.Placeholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:t,showColors:!0}),label:n,className:"wp-block-embed",instructions:Object(ke.__)("Paste a link to the content you want to display on your site.")},Object(je.createElement)("form",{onSubmit:r},Object(je.createElement)("input",{type:"url",value:o||"",className:"components-placeholder__input","aria-label":n,placeholder:Object(ke.__)("Enter URL to embed here…"),onChange:a}),Object(je.createElement)(_e.Button,{variant:"primary",type:"submit"},Object(ke._x)("Embed","button label"))),Object(je.createElement)("div",{className:"components-placeholder__learn-more"},Object(je.createElement)(_e.ExternalLink,{href:Object(ke.__)("https://wordpress.org/support/article/embeds/")},Object(ke.__)("Learn more about embeds"))),l&&Object(je.createElement)("div",{className:"components-placeholder__error"},Object(je.createElement)("div",{className:"components-placeholder__instructions"},Object(ke.__)("Sorry, this content could not be embedded.")),Object(je.createElement)(_e.Button,{variant:"secondary",onClick:i},Object(ke._x)("Try again","button label"))," ",Object(je.createElement)(_e.Button,{variant:"secondary",onClick:c},Object(ke._x)("Convert to link","button label"))))};const Co={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function xo(e){let{html:t}=e;const n=Object(je.useRef)(),o=Object(je.useMemo)(()=>{const e=(new window.DOMParser).parseFromString(t,"text/html").querySelector("iframe"),n={};return e?(Array.from(e.attributes).forEach(e=>{let{name:t,value:o}=e;"style"!==t&&(n[Co[t]||t]=o)}),n):n},[t]);return Object(je.useEffect)(()=>{const{ownerDocument:e}=n.current,{defaultView:t}=e;function r(e){let{data:{secret:t,message:r,value:a}={}}=e;"height"===r&&t===o["data-secret"]&&(n.current.height=a)}return t.addEventListener("message",r),()=>{t.removeEventListener("message",r)}},[]),Object(je.createElement)("div",{className:"wp-block-embed__wrapper"},Object(je.createElement)("iframe",Object(mt.a)({ref:Object(nt.useMergeRefs)([n,Object(nt.useFocusableIframe)()]),title:o.title},o)))}class So extends je.Component{constructor(){super(...arguments),this.hideOverlay=this.hideOverlay.bind(this),this.state={interactive:!1}}static getDerivedStateFromProps(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}hideOverlay(){this.setState({interactive:!0})}render(){const{preview:e,previewable:t,url:n,type:o,caption:r,onCaptionChange:a,isSelected:l,className:c,icon:i,label:s,insertBlocksAfter:u}=this.props,{scripts:m}=e,{interactive:d}=this.state,b="photo"===o?(e=>{const t=e.thumbnail_url||e.url,n=Object(je.createElement)("p",null,Object(je.createElement)("img",{src:t,alt:e.title,width:"100%"}));return Object(je.renderToString)(n)})(e):e.html,p=new URL(n).host.split("."),g=p.splice(p.length-2,p.length-1).join("."),h=Object(ke.sprintf)(Object(ke.__)("Embedded content from %s"),g),v=Le()(o,c,"wp-block-embed__wrapper"),O="wp-embed"===o?Object(je.createElement)(xo,{html:b}):Object(je.createElement)("div",{className:"wp-block-embed__wrapper"},Object(je.createElement)(_e.SandBox,{html:b,scripts:m,title:h,type:v,onFocus:this.hideOverlay}),!d&&Object(je.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}));return Object(je.createElement)("figure",{className:Le()(c,"wp-block-embed",{"is-type-video":"video"===o})},t?O:Object(je.createElement)(_e.Placeholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:i,showColors:!0}),label:s},Object(je.createElement)("p",{className:"components-placeholder__error"},Object(je.createElement)("a",{href:n},n)),Object(je.createElement)("p",{className:"components-placeholder__error"},Object(ke.sprintf)(Object(ke.__)("Embedded content from %s can't be previewed in the editor."),g))),(!we.RichText.isEmpty(r)||l)&&Object(je.createElement)(we.RichText,{tagName:"figcaption",placeholder:Object(ke.__)("Add caption"),value:r,onChange:a,inlineToolbar:!0,__unstableOnSplitAtEnd:()=>u(Object(Oe.createBlock)("core/paragraph"))}))}}var Bo=So;var To=e=>{const{attributes:{providerNameSlug:t,previewable:n,responsive:o,url:r},attributes:a,isSelected:l,onReplace:c,setAttributes:i,insertBlocksAfter:s,onFocus:u}=e,m={title:Object(ke._x)("Embed","block title"),icon:ro},{icon:d,title:b}=(p=t,(null===(g=Object(Oe.getBlockVariations)(Ae))||void 0===g?void 0:g.find(e=>{let{name:t}=e;return t===p}))||m);var p,g;const[h,v]=Object(je.useState)(r),[O,j]=Object(je.useState)(!1),{invalidateResolution:y}=Object(Pe.useDispatch)(It.store),{preview:f,fetching:_,themeSupportsResponsive:k,cannotEmbed:w}=Object(Pe.useSelect)(e=>{var t;const{getEmbedPreview:n,isPreviewEmbedFallback:o,isRequestingEmbedPreview:a,getThemeSupports:l}=e(It.store);if(!r)return{fetching:!1,cannotEmbed:!1};const c=n(r),i=o(r),s=!1===(null==c?void 0:c.html)&&void 0===(null==c?void 0:c.type),u=404===(null==c||null===(t=c.data)||void 0===t?void 0:t.status),m=!!c&&!s&&!u;return{preview:m?c:void 0,fetching:a(r),themeSupportsResponsive:l()["responsive-embeds"],cannotEmbed:!m||i}},[r]),E=()=>{const{allowResponsive:e,className:t}=a;return{...a,...We(f,b,t,o,e)}};Object(je.useEffect)(()=>{if(null==f||!f.html||!w||_)return;const e=r.replace(/\/$/,"");v(e),j(!1),i({url:e})},[null==f?void 0:f.html,r]),Object(je.useEffect)(()=>{if(f&&!O&&(i(E()),c)){const t=Ge(e,E());t&&c(t)}},[f,O]);const C=Object(we.useBlockProps)();if(_)return Object(je.createElement)(ye.View,C,Object(je.createElement)(wo,null));const x=Object(ke.sprintf)(Object(ke.__)("%s URL"),b);if(!f||w||O)return Object(je.createElement)(ye.View,C,Object(je.createElement)(Eo,{icon:d,label:x,onFocus:u,onSubmit:e=>{e&&e.preventDefault(),j(!1),i({url:h})},value:h,cannotEmbed:w,onChange:e=>v(e.target.value),fallback:()=>function(e,t){const n=Object(je.createElement)("a",{href:e},e);t(Object(Oe.createBlock)("core/paragraph",{content:Object(je.renderToString)(n)}))}(h,c),tryAgain:()=>{y("getEmbedPreview",[h])}}));const{caption:S,type:B,allowResponsive:T,className:N}=E(),z=tt()(N,e.className);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(oo,{showEditButton:f&&!w,themeSupportsResponsive:k,blockSupportsResponsive:o,allowResponsive:T,toggleResponsive:()=>{const{allowResponsive:e,className:t}=a,{html:n}=f,r=!e;i({allowResponsive:r,className:qe(n,t,o&&r)})},switchBackToURLInput:()=>j(!0)}),Object(je.createElement)(ye.View,C,Object(je.createElement)(Bo,{preview:f,previewable:n,className:z,url:h,type:B,caption:S,onCaptionChange:e=>i({caption:e}),isSelected:l,icon:d,label:x,insertBlocksAfter:s})))};const{name:No}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var zo={from:[{type:"raw",isMatch:e=>{var t,n;return"P"===e.nodeName&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&1===(null===(t=e.textContent)||void 0===t||null===(n=t.match(/https/gi))||void 0===n?void 0:n.length)},transform:e=>Object(Oe.createBlock)(No,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],isMatch:e=>{let{url:t}=e;return!!t},transform:e=>{let{url:t,caption:n}=e,o=`${t}`;return null!=n&&n.trim()&&(o+="
"+n),Object(Oe.createBlock)("core/paragraph",{content:o})}}]};const Po=[{name:"twitter",title:"Twitter",icon:io,keywords:["tweet",Object(ke.__)("social")],description:Object(ke.__)("Embed a tweet."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:"YouTube",icon:so,keywords:[Object(ke.__)("music"),Object(ke.__)("video")],description:Object(ke.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:"Facebook",icon:uo,keywords:[Object(ke.__)("social")],description:Object(ke.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:"Instagram",icon:mo,keywords:[Object(ke.__)("image"),Object(ke.__)("social")],description:Object(ke.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:"WordPress",icon:bo,keywords:[Object(ke.__)("post"),Object(ke.__)("blog")],description:Object(ke.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:"SoundCloud",icon:ao,keywords:[Object(ke.__)("music"),Object(ke.__)("audio")],description:Object(ke.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:"Spotify",icon:po,keywords:[Object(ke.__)("music"),Object(ke.__)("audio")],description:Object(ke.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:"Flickr",icon:go,keywords:[Object(ke.__)("image")],description:Object(ke.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:"Vimeo",icon:ho,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:"Animoto",icon:yo,description:Object(ke.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:"Cloudup",icon:ro,description:Object(ke.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:"CollegeHumor",icon:co,description:Object(ke.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:"Crowdsignal",icon:ro,keywords:["polldaddy",Object(ke.__)("survey")],description:Object(ke.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:"Dailymotion",icon:fo,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:"Imgur",icon:lo,description:Object(ke.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:"Issuu",icon:ro,description:Object(ke.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:"Kickstarter",icon:ro,description:Object(ke.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:"Mixcloud",icon:ao,keywords:[Object(ke.__)("music"),Object(ke.__)("audio")],description:Object(ke.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"reddit",title:"Reddit",icon:vo,description:Object(ke.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:"ReverbNation",icon:ao,description:Object(ke.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"screencast",title:"Screencast",icon:co,description:Object(ke.__)("Embed Screencast content."),patterns:[/^https?:\/\/(www\.)?screencast\.com\/.+/i],attributes:{providerNameSlug:"screencast",responsive:!0}},{name:"scribd",title:"Scribd",icon:ro,description:Object(ke.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"slideshare",title:"Slideshare",icon:ro,description:Object(ke.__)("Embed Slideshare content."),patterns:[/^https?:\/\/(.+?\.)?slideshare\.net\/.+/i],attributes:{providerNameSlug:"slideshare",responsive:!0}},{name:"smugmug",title:"SmugMug",icon:lo,description:Object(ke.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:"Speaker Deck",icon:ro,description:Object(ke.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:"TikTok",icon:co,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:"TED",icon:co,description:Object(ke.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:"Tumblr",icon:Oo,keywords:[Object(ke.__)("social")],description:Object(ke.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(www\.)?tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:"VideoPress",icon:co,keywords:[Object(ke.__)("video")],description:Object(ke.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:"WordPress.tv",icon:co,description:Object(ke.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:"Amazon Kindle",icon:jo,keywords:[Object(ke.__)("ebook")],description:Object(ke.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:"Pinterest",icon:_o,keywords:[Object(ke.__)("social"),Object(ke.__)("bookmark")],description:Object(ke.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:"Wolfram Cloud",icon:ko,description:Object(ke.__)("Embed Wolfram Cloud notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}}];Po.forEach(e=>{e.isActive||(e.isActive=(e,t)=>e.providerNameSlug===t.providerNameSlug)});var Io=Po;const{attributes:Mo}={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var Ro=[{attributes:Mo,save(e){let{attributes:{url:t,caption:n,type:o,providerNameSlug:r}}=e;if(!t)return null;const a=tt()("wp-block-embed",{["is-type-"+o]:o,["is-provider-"+r]:r});return Object(je.createElement)("figure",{className:a},`\n${t}\n`,!we.RichText.isEmpty(n)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:n}))}}];const Lo={apiVersion:2,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string"},caption:{type:"string",source:"html",selector:"figcaption"},type:{type:"string"},providerNameSlug:{type:"string"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1},previewable:{type:"boolean",default:!0}},supports:{align:!0},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"},{name:Vo}=Lo,Ho={icon:ro,edit:To,save:function(e){let{attributes:t}=e;const{url:n,caption:o,type:r,providerNameSlug:a}=t;if(!n)return null;const l=Le()("wp-block-embed",{["is-type-"+r]:r,["is-provider-"+a]:a,["wp-block-embed-"+a]:a});return Object(je.createElement)("figure",we.useBlockProps.save({className:l}),Object(je.createElement)("div",{className:"wp-block-embed__wrapper"},`\n${n}\n`),!we.RichText.isEmpty(o)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:o}))},transforms:zo,variations:Io,deprecated:Ro};var Ao=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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.5z"}));var Fo=[{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]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save(e){let{attributes:t}=e;const{href:n,fileName:o,textLinkHref:r,textLinkTarget:a,showDownloadButton:l,downloadButtonText:c,displayPreview:i,previewHeight:s}=t,u=we.RichText.isEmpty(o)?Object(ke.__)("PDF embed"):Object(ke.sprintf)(Object(ke.__)("Embed of %s."),o);return n&&Object(je.createElement)("div",we.useBlockProps.save(),i&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)("object",{className:"wp-block-file__embed",data:n,type:"application/pdf",style:{width:"100%",height:s+"px"},"aria-label":u})),!we.RichText.isEmpty(o)&&Object(je.createElement)("a",{href:r,target:a,rel:a?"noreferrer noopener":void 0},Object(je.createElement)(we.RichText.Content,{value:o})),l&&Object(je.createElement)("a",{href:n,className:"wp-block-file__button",download:!0},Object(je.createElement)(we.RichText.Content,{value:c})))}}],Do=n("onLe");function Go(e){let{hrefs:t,openInNewWindow:n,showDownloadButton:o,changeLinkDestinationOption:r,changeOpenInNewWindow:a,changeShowDownloadButton:l,displayPreview:c,changeDisplayPreview:i,previewHeight:s,changePreviewHeight:u}=e;const{href:m,textLinkHref:d,attachmentPage:b}=t;let p=[{value:m,label:Object(ke.__)("URL")}];return b&&(p=[{value:m,label:Object(ke.__)("Media file")},{value:b,label:Object(ke.__)("Attachment page")}]),Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,m.endsWith(".pdf")&&Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("PDF settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show inline embed"),help:c?Object(ke.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!c,onChange:i}),c&&Object(je.createElement)(_e.RangeControl,{label:Object(ke.__)("Height in pixels"),min:Wo,max:Math.max($o,s),value:s,onChange:u})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Text link settings")},Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Link to"),value:d,options:p,onChange:r}),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),checked:n,onChange:a})),Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Download button settings")},Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Show download button"),checked:o,onChange:l}))))}const Uo=()=>!(window.navigator.userAgent.indexOf("Mobi")>-1)&&(!(window.navigator.userAgent.indexOf("Android")>-1)&&(!(window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2)&&!((window.ActiveXObject||"ActiveXObject"in window)&&!qo("AcroPDF.PDF")&&!qo("PDF.PdfCtrl")))),qo=e=>{let t;try{t=new window.ActiveXObject(e)}catch(e){t=void 0}return t},Wo=200,$o=2e3;function Zo(e){let{text:t,disabled:n}=e;const{createNotice:o}=Object(Pe.useDispatch)(Do.store),r=Object(nt.useCopyToClipboard)(t,()=>{o("info",Object(ke.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return Object(je.createElement)(_e.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:r,disabled:n},Object(ke.__)("Copy URL"))}var Ko=Object(_e.withNotices)((function(e){let{attributes:t,isSelected:n,setAttributes:o,noticeUI:r,noticeOperations:a,clientId:l}=e;const{id:c,fileName:i,href:s,textLinkHref:u,textLinkTarget:m,showDownloadButton:d,downloadButtonText:b,displayPreview:p,previewHeight:g}=t,[h,v]=Object(je.useState)(!1),{media:O,mediaUpload:j}=Object(Pe.useSelect)(e=>({media:void 0===c?void 0:e(It.store).getMedia(c),mediaUpload:e(we.store).getSettings().mediaUpload}),[c]),{toggleSelection:y}=Object(Pe.useDispatch)(we.store);function f(e){if(e&&e.url){v(!1);const t=e.url.endsWith(".pdf");o({href:e.url,fileName:e.title,textLinkHref:e.url,id:e.id,displayPreview:!!t||void 0,previewHeight:t?600:void 0})}}function _(e){v(!0),a.removeAllNotices(),a.createErrorNotice(e)}function k(e){o({downloadButtonText:e.replace(/<\/?a[^>]*>/g,"")})}Object(je.useEffect)(()=>{if(Object(ze.isBlobURL)(s)){const e=Object(ze.getBlobByURL)(s);j({filesList:[e],onFileChange:e=>{let[t]=e;return f(t)},onError:e=>{v(!0),a.createErrorNotice(e)}}),Object(ze.revokeBlobURL)(s)}void 0===b&&k(Object(ke._x)("Download","button label"))},[]),Object(je.useEffect)(()=>{o({fileId:"wp-block-file--media-"+l})},[l]);const w=O&&O.link,E=Object(we.useBlockProps)({className:tt()(Object(ze.isBlobURL)(s)&&Object(_e.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":Object(ze.isBlobURL)(s)})}),C=Uo()&&p;return!s||h?Object(je.createElement)("div",E,Object(je.createElement)(we.MediaPlaceholder,{icon:Object(je.createElement)(we.BlockIcon,{icon:Ao}),labels:{title:Object(ke.__)("File"),instructions:Object(ke.__)("Upload a file or pick one from your media library.")},onSelect:f,notices:r,onError:_,accept:"*"})):Object(je.createElement)(je.Fragment,null,Object(je.createElement)(Go,{hrefs:{href:s,textLinkHref:u,attachmentPage:w},openInNewWindow:!!m,showDownloadButton:d,changeLinkDestinationOption:function(e){o({textLinkHref:e})},changeOpenInNewWindow:function(e){o({textLinkTarget:!!e&&"_blank"})},changeShowDownloadButton:function(e){o({showDownloadButton:e})},displayPreview:p,changeDisplayPreview:function(e){o({displayPreview:e})},previewHeight:g,changePreviewHeight:function(e){const t=Math.max(parseInt(e,10),Wo);o({previewHeight:t})}}),Object(je.createElement)(we.BlockControls,{group:"other"},Object(je.createElement)(we.MediaReplaceFlow,{mediaId:c,mediaURL:s,accept:"*",onSelect:f,onError:_}),Object(je.createElement)(Zo,{text:s,disabled:Object(ze.isBlobURL)(s)})),Object(je.createElement)("div",E,C&&Object(je.createElement)(_e.ResizableBox,{size:{height:g},minHeight:Wo,maxHeight:$o,minWidth:"100%",grid:[10,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>y(!1),onResizeStop:function(e,t,n,r){y(!0);const a=parseInt(g+r.height,10);o({previewHeight:a})},showHandle:n},Object(je.createElement)("object",{className:"wp-block-file__preview",data:s,type:"application/pdf","aria-label":Object(ke.__)("Embed of the selected PDF file.")}),!n&&Object(je.createElement)("div",{className:"wp-block-file__preview-overlay"})),Object(je.createElement)("div",{className:"wp-block-file__content-wrapper"},Object(je.createElement)(we.RichText,{tagName:"a",value:i,placeholder:Object(ke.__)("Write file name…"),withoutInteractiveFormatting:!0,onChange:e=>o({fileName:e}),href:u}),d&&Object(je.createElement)("div",{className:"wp-block-file__button-richtext-wrapper"},Object(je.createElement)(we.RichText,{tagName:"div","aria-label":Object(ke.__)("Download button text"),className:"wp-block-file__button",value:b,withoutInteractiveFormatting:!0,placeholder:Object(ke.__)("Add text…"),onChange:e=>k(e)})))))}));var Jo=n("Mmq9");var Qo={from:[{type:"files",isMatch:e=>e.length>0,priority:15,transform:e=>{const t=[];return e.forEach(e=>{const n=Object(ze.createBlobURL)(e);t.push(Object(Oe.createBlock)("core/file",{href:n,fileName:e.name,textLinkHref:n}))}),t}},{type:"block",blocks:["core/audio"],transform:e=>Object(Oe.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],transform:e=>Object(Oe.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],transform:e=>Object(Oe.createBlock)("core/file",{href:e.url,fileName:e.caption||Object(Jo.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=Object(Pe.select)(It.store),o=n(t);return!!o&&Object(Me.includes)(o.mime_type,"audio")},transform:e=>Object(Oe.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=Object(Pe.select)(It.store),o=n(t);return!!o&&Object(Me.includes)(o.mime_type,"video")},transform:e=>Object(Oe.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:e=>{let{id:t}=e;if(!t)return!1;const{getMedia:n}=Object(Pe.select)(It.store),o=n(t);return!!o&&Object(Me.includes)(o.mime_type,"image")},transform:e=>Object(Oe.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]};const Yo={apiVersion:2,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},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]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},viewScript:"file:./view.min.js",editorStyle:"wp-block-file-editor",style:"wp-block-file"},{name:Xo}=Yo,er={icon:Ao,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:Object(ke._x)("Armstrong_Small_Step","Name of the file")}},transforms:Qo,deprecated:Fo,edit:Ko,save:function(e){let{attributes:t}=e;const{href:n,fileId:o,fileName:r,textLinkHref:a,textLinkTarget:l,showDownloadButton:c,downloadButtonText:i,displayPreview:s,previewHeight:u}=t,m=we.RichText.isEmpty(r)?Object(ke.__)("PDF embed"):Object(ke.sprintf)(Object(ke.__)("Embed of %s."),r);return n&&Object(je.createElement)("div",we.useBlockProps.save(),s&&Object(je.createElement)(je.Fragment,null,Object(je.createElement)("object",{className:"wp-block-file__embed",data:n,type:"application/pdf",style:{width:"100%",height:u+"px"},"aria-label":m})),!we.RichText.isEmpty(r)&&Object(je.createElement)("a",{id:o,href:a,target:l,rel:l?"noreferrer noopener":void 0},Object(je.createElement)(we.RichText.Content,{value:r})),c&&Object(je.createElement)("a",{href:n,className:"wp-block-file__button",download:!0,"aria-describedby":o},Object(je.createElement)(we.RichText.Content,{value:i})))}};var tr=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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"}));const nr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large";const n=Object(Me.pick)(e,["alt","id","link","caption"]);n.url=Object(Me.get)(e,["sizes",t,"url"])||Object(Me.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=Object(Me.get)(e,["sizes","full","url"])||Object(Me.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};function or(e){var t;return Math.min(3,null==e||null===(t=e.images)||void 0===t?void 0:t.length)}function rr(e,t){switch(t){case"file":return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:"media"};case"post":return{href:null==e?void 0:e.link,linkDestination:"attachment"};case"media":return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:"media"};case"attachment":return{href:null==e?void 0:e.link,linkDestination:"attachment"};case"none":return{href:void 0,linkDestination:"none"}}return{}}function ar(e){let t=e.linkTo?e.linkTo:"none";"post"===t?t="attachment":"file"===t&&(t="media");const n=e.images.map(n=>function(e,t,n){return Object(Oe.createBlock)("core/image",{...e.id&&{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...rr(e,n)})}(n,e.sizeSlug,t));return[{...Object(Me.omit)(e,["images","ids"]),linkTo:t,allowResize:!1},n]}var lr=[{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},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,caption:a,linkTo:l}=t,c=`columns-${o} ${r?"is-cropped":""}`;return Object(je.createElement)("figure",we.useBlockProps.save({className:c}),Object(je.createElement)("ul",{className:"blocks-gallery-grid"},n.map(e=>{let t;switch(l){case"file":t=e.fullUrl||e.url;break;case"post":t=e.link}const n=Object(je.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-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,!we.RichText.isEmpty(e.caption)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!we.RichText.isEmpty(a)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))},migrate:e=>ar(e)},{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",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible(e){let{linkTo:t}=e;return!t||"attachment"===t||"media"===t},migrate:e=>ar(e),save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,caption:a,linkTo:l}=t;return Object(je.createElement)("figure",{className:`columns-${o} ${r?"is-cropped":""}`},Object(je.createElement)("ul",{className:"blocks-gallery-grid"},n.map(e=>{let t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(je.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-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,!we.RichText.isEmpty(e.caption)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!we.RichText.isEmpty(a)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible(e){let{ids:t}=e;return t&&t.some(e=>"string"==typeof e)},migrate:e=>ar(e),save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,caption:a,linkTo:l}=t;return Object(je.createElement)("figure",{className:`columns-${o} ${r?"is-cropped":""}`},Object(je.createElement)("ul",{className:"blocks-gallery-grid"},n.map(e=>{let t;switch(l){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(je.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-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,!we.RichText.isEmpty(e.caption)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:e.caption})))})),!we.RichText.isEmpty(a)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:a}))}},{attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},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"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,linkTo:a}=t;return Object(je.createElement)("ul",{className:`columns-${o} ${r?"is-cropped":""}`},n.map(e=>{let t;switch(a){case"media":t=e.fullUrl||e.url;break;case"attachment":t=e.link}const n=Object(je.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-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",value:e.caption})))}))},migrate:e=>ar(e)},{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(e){let{images:t,ids:n}=e;return t&&t.length>0&&(!n&&t||n&&t&&n.length!==t.length||Object(Me.some)(t,(e,t)=>!e&&null!==n[t]||parseInt(e,10)!==n[t]))},migrate:e=>ar(e),supports:{align:!0},save(e){let{attributes:t}=e;const{images:n,columns:o=or(t),imageCrop:r,linkTo:a}=t;return Object(je.createElement)("ul",{className:`columns-${o} ${r?"is-cropped":""}`},n.map(e=>{let t;switch(a){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?"wp-image-"+e.id:null});return Object(je.createElement)("li",{key:e.id||e.url,className:"blocks-gallery-item"},Object(je.createElement)("figure",null,t?Object(je.createElement)("a",{href:t},n):n,e.caption&&e.caption.length>0&&Object(je.createElement)(we.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(e){let{attributes:t}=e;const{images:n,columns:o=or(t),align:r,imageCrop:a,linkTo:l}=t,c=tt()("columns-"+o,{alignnone:"none"===r,"is-cropped":a});return Object(je.createElement)("div",{className:c},n.map(e=>{let t;switch(l){case"media":t=e.url;break;case"attachment":t=e.link}const n=Object(je.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id});return Object(je.createElement)("figure",{key:e.id||e.url,className:"blocks-gallery-image"},t?Object(je.createElement)("a",{href:t},n):n)}))},migrate:e=>ar(e)}],cr=n("KEfo");const ir=Object(je.createElement)(we.BlockIcon,{icon:tr}),sr=["noreferrer","noopener"],ur=["image"];function mr(e,t){switch(t){case"media":return{href:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),linkDestination:"media"};case"attachment":return{href:null==e?void 0:e.link,linkDestination:"attachment"};case"none":return{href:void 0,linkDestination:"none"}}return{}}function dr(e,t){let{rel:n}=t;const o=e?"_blank":void 0;let r;return r=o||n?function(e){let t=e;return void 0===e||Object(Me.isEmpty)(t)||Object(Me.isEmpty)(t)||(Object(Me.each)(sr,e=>{const n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")}),t!==e&&(t=t.trim()),Object(Me.isEmpty)(t)&&(t=void 0)),t}(n):void 0,{linkTarget:o,rel:r}}const br=["core/image"];function pr(e){let{isHidden:t,captionFocused:n,onFocusCaption:o,className:r,value:a,placeholder:l,tagName:c,captionRef:i,...s}=e;return t?Object(je.createElement)(_e.VisuallyHidden,Object(mt.a)({as:we.RichText},s)):Object(je.createElement)(we.RichText,Object(mt.a)({ref:i,value:a,placeholder:l,className:r,tagName:c,isSelected:n,onClick:o},s))}var gr=e=>{const{attributes:t,isSelected:n,setAttributes:o,mediaPlaceholder:r,insertBlocksAfter:a,blockProps:l}=e,{align:c,columns:i,caption:s,imageCrop:u}=t,{children:m,...d}=Object(we.useInnerBlocksProps)(l,{allowedBlocks:br,orientation:"horizontal",renderAppender:!1,__experimentalLayout:{type:"default",alignments:[]}}),[b,p]=Object(je.useState)(!1);return Object(je.useEffect)(()=>{n||p(!1)},[n]),Object(je.createElement)("figure",Object(mt.a)({},d,{className:tt()(l.className,"blocks-gallery-grid",{["align"+c]:c,["columns-"+i]:void 0!==i,"columns-default":void 0===i,"is-cropped":u})}),m,Object(je.createElement)(ye.View,{className:"blocks-gallery-media-placeholder-wrapper",onClick:function(){b&&p(!1)}},r),Object(je.createElement)(pr,{isHidden:!n&&we.RichText.isEmpty(s),captionFocused:b,onFocusCaption:function(){b||p(!0)},tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(ke.__)("Gallery caption text"),placeholder:Object(ke.__)("Write gallery caption…"),value:s,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>a(Object(Oe.createBlock)("core/paragraph"))}))};function hr(e,t,n){return Object(je.useMemo)(()=>function(){if(!e||0===e.length)return;const{imageSizes:o}=n();let r={};t&&(r=e.reduce((e,t)=>{if(!t.id)return e;const n=o.reduce((e,n)=>{const o=Object(Me.get)(t,["sizes",n.slug,"url"]),r=Object(Me.get)(t,["media_details","sizes",n.slug,"source_url"]);return{...e,[n.slug]:o||r}},{});return{...e,[parseInt(t.id,10)]:n}},{}));return o.filter(e=>{let{slug:t}=e;return Object(Me.some)(r,e=>e[t])}).map(e=>{let{name:t,slug:n}=e;return{value:n,label:t}})}(),[e,t])}function vr(e,t){const[n,o]=Object(je.useState)([]);return Object(je.useMemo)(()=>function(){let r=!1;const a=n.filter(t=>e.find(e=>t.clientId===e.clientId));a.length{e.fromSavedContent&&!a.find(t=>t.id===e.id)&&(r=!0,a.push(e))});const l=e.filter(e=>!a.find(t=>e.clientId&&t.clientId===e.clientId)&&(null==t?void 0:t.find(t=>t.id===e.id))&&!e.fromSavedConent);(r||(null==l?void 0:l.length)>0)&&o([...a,...l]);return l.length>0?l:null}(),[e,t])}const Or=[{value:"attachment",label:Object(ke.__)("Attachment Page")},{value:"media",label:Object(ke.__)("Media File")},{value:"none",label:Object(ke._x)("None","Media item link option")}],jr=["image"],yr=je.Platform.isNative?Object(ke.__)("ADD MEDIA"):Object(ke.__)("Drag images, upload new ones or select files from your library."),fr=je.Platform.isNative?{type:"stepper"}:{};var _r=Object(nt.compose)([_e.withNotices,Object(cr.withViewportMatch)({isNarrow:"< small"})])((function(e){const{setAttributes:t,attributes:n,className:o,clientId:r,noticeOperations:a,isSelected:l,noticeUI:c,insertBlocksAfter:i}=e,{columns:s,imageCrop:u,linkTarget:m,linkTo:d,shortCodeTransforms:b,sizeSlug:p}=n,{__unstableMarkNextChangeAsNotPersistent:g,replaceInnerBlocks:h,updateBlockAttributes:v}=Object(Pe.useDispatch)(we.store),{createSuccessNotice:O}=Object(Pe.useDispatch)(Do.store),{getBlock:j,getSettings:y,preferredStyle:f}=Object(Pe.useSelect)(e=>{var t;const n=e(we.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:e(we.store).getBlock,getSettings:e(we.store).getSettings,preferredStyle:null==n||null===(t=n.value)||void 0===t?void 0:t["core/image"]}},[]),_=Object(Pe.useSelect)(e=>{var t;return null===(t=e(we.store).getBlock(r))||void 0===t?void 0:t.innerBlocks},[r]),k=Object(je.useMemo)(()=>null==_?void 0:_.map(e=>({clientId:e.clientId,id:e.attributes.id,url:e.attributes.url,attributes:e.attributes,fromSavedContent:Boolean(e.originalContent)})),[_]),w=function(e){const[t,n]=Object(je.useState)([]),o=Object(Pe.useSelect)(n=>{if(null==e||!e.length)return t;const o=e.map(e=>e.attributes.id).filter(e=>void 0!==e);return 0===o.length?t:n(It.store).getMediaItems({include:o.join(","),per_page:-1})},[e]);return(null==o?void 0:o.length)!==(null==t?void 0:t.length)||null!=o&&o.some(e=>!t.find(t=>t.id===e.id))?(n(o),o):t}(_),E=vr(k,w);Object(je.useEffect)(()=>{null==E||E.forEach(e=>{v(e.clientId,{...S(e.attributes),id:e.id,align:void 0})})},[E]);const C=function(e){const t=Object(Pe.useSelect)(t=>{if(!e||0===e.length)return;const n=t(It.store).getMedia;return e.map(e=>{const t=n(e.id);if(t)return{id:t.id,type:"image",url:t.source_url,mime:t.mime_type,alt:t.alt_text,link:t.link}})},[e]);if(t)return Object(Me.every)(t,e=>e&&e.url)?t:void 0}(b);Object(je.useEffect)(()=>{b&&C&&(T(C),t({shortCodeTransforms:void 0}))},[b,C]);const x=hr(w,l,y);function S(e){const t=e.id?Object(Me.find)(w,{id:e.id}):null;let o;return o=e.className&&""!==e.className?e.className:f?"is-style-"+f:void 0,{...nr(e,p),...mr(t,d),...dr(m,n),className:o,sizeSlug:p}}function B(e){var t;return jr.some(t=>{var n;return 0===(null===(n=e.type)||void 0===n?void 0:n.indexOf(t))})||0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}function T(e){const t="[object FileList]"===Object.prototype.toString.call(e),n=t?Array.from(e).map(e=>e.url?e:nr({url:Object(ze.createBlobURL)(e)})):e;n.every(B)||(a.removeAllNotices(),a.createErrorNotice(Object(ke.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file"}));const o=n.filter(e=>e.url||B(e)).map(e=>e.url?e:nr({url:Object(ze.createBlobURL)(e)})),l=o.reduce((e,t,n)=>(e[t.id]=n,e),{}),c=t?_:_.filter(e=>o.find(t=>t.id===e.attributes.id)),i=o.filter(e=>!c.find(t=>e.id===t.attributes.id)).map(e=>Object(Oe.createBlock)("core/image",{id:e.id,url:e.url,caption:e.caption,alt:e.alt}));h(r,Object(Me.concat)(c,i).sort((e,t)=>l[e.attributes.id]-l[t.attributes.id]))}Object(je.useEffect)(()=>{var e,n,o,r,a,l;d||(g(),t({linkTo:(null===(e=window)||void 0===e||null===(n=e.wp)||void 0===n||null===(o=n.media)||void 0===o||null===(r=o.view)||void 0===r||null===(a=r.settings)||void 0===a||null===(l=a.defaultProps)||void 0===l?void 0:l.link)||"none"}))},[d]);const N=!!k.length,z=N&&k.some(e=>!!e.id),P=k.some(e=>{var t;return!e.id&&0===(null===(t=e.url)||void 0===t?void 0:t.indexOf("blob:"))}),I=Object(je.createElement)(we.MediaPlaceholder,{addToGallery:z,handleUpload:!1,isAppender:N,disableMediaButtons:N&&!l||P,icon:!N&&ir,labels:{title:!N&&Object(ke.__)("Gallery"),instructions:!N&&yr},onSelect:T,accept:"image/*",allowedTypes:jr,multiple:!0,value:z?k:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:N?void 0:c}),M=Object(we.useBlockProps)({className:tt()(o,"has-nested-images")});if(!N)return Object(je.createElement)(ye.View,M,I);const R=d&&"none"!==d;return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Gallery settings")},k.length>1&&Object(je.createElement)(_e.RangeControl,Object(mt.a)({label:Object(ke.__)("Columns"),value:s||(L=k.length,L?Math.min(3,L):3),onChange:function(e){t({columns:e})},min:1,max:Math.min(8,k.length)},fr,{required:!0})),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Crop images"),checked:!!u,onChange:function(){t({imageCrop:!u})},help:function(e){return e?Object(ke.__)("Thumbnails are cropped to align."):Object(ke.__)("Thumbnails are not cropped.")}}),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Link to"),value:d,onChange:function(e){t({linkTo:e});const n={},o=[];j(r).innerBlocks.forEach(t=>{o.push(t.clientId);const r=t.attributes.id?Object(Me.find)(w,{id:t.attributes.id}):null;n[t.clientId]=mr(r,e)}),v(o,n,!0);const a=[...Or].find(t=>t.value===e);O(Object(ke.sprintf)(Object(ke.__)("All gallery image links updated to: %s"),a.label),{id:"gallery-attributes-linkTo",type:"snackbar"})},options:Or,hideCancelButton:!0}),R&&Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Open in new tab"),checked:"_blank"===m,onChange:function(e){const n=e?"_blank":void 0;t({linkTarget:n});const o={},a=[];j(r).innerBlocks.forEach(e=>{a.push(e.clientId),o[e.clientId]=dr(n,e.attributes)}),v(a,o,!0);const l=e?Object(ke.__)("All gallery images updated to open in new tab"):Object(ke.__)("All gallery images updated to not open in new tab");O(l,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}}),(null==x?void 0:x.length)>0&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Image size"),value:p,options:x,onChange:function(e){t({sizeSlug:e});const n={},o=[];j(r).innerBlocks.forEach(t=>{o.push(t.clientId);const r=t.attributes.id?Object(Me.find)(w,{id:t.attributes.id}):null;n[t.clientId]=function(e,t){const n=Object(Me.get)(e,["media_details","sizes",t,"source_url"]);return n?{url:n,width:void 0,height:void 0,sizeSlug:t}:{}}(r,e)}),v(o,n,!0);const a=x.find(t=>t.value===e);O(Object(ke.sprintf)(Object(ke.__)("All gallery image sizes updated to: %s"),a.label),{id:"gallery-attributes-sizeSlug",type:"snackbar"})},hideCancelButton:!0}),je.Platform.isWeb&&!x&&z&&Object(je.createElement)(_e.BaseControl,{className:"gallery-image-sizes"},Object(je.createElement)(_e.BaseControl.VisualLabel,null,Object(ke.__)("Image size")),Object(je.createElement)(ye.View,{className:"gallery-image-sizes__loading"},Object(je.createElement)(_e.Spinner,null),Object(ke.__)("Loading options…"))))),c,Object(je.createElement)(gr,Object(mt.a)({},e,{images:k,mediaPlaceholder:I,blockProps:M,insertBlocksAfter:i})));var L}));const kr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"large";const n=Object(Me.pick)(e,["alt","id","link","caption"]);n.url=Object(Me.get)(e,["sizes",t,"url"])||Object(Me.get)(e,["media_details","sizes",t,"source_url"])||e.url;const o=Object(Me.get)(e,["sizes","full","url"])||Object(Me.get)(e,["media_details","sizes","full","source_url"]);return o&&(n.fullUrl=o),n};var wr=Object(je.createElement)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(je.createElement)(ye.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.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})),Er=n("2gm7"),Cr=n("1iEr"),xr=n("bWcr");class Sr extends je.Component{constructor(){super(...arguments),this.onSelectImage=this.onSelectImage.bind(this),this.onRemoveImage=this.onRemoveImage.bind(this),this.bindContainer=this.bindContainer.bind(this),this.onEdit=this.onEdit.bind(this),this.onSelectImageFromLibrary=this.onSelectImageFromLibrary.bind(this),this.onSelectCustomURL=this.onSelectCustomURL.bind(this),this.state={isEditing:!1}}bindContainer(e){this.container=e}onSelectImage(){this.props.isSelected||this.props.onSelect()}onRemoveImage(e){this.container===this.container.ownerDocument.activeElement&&this.props.isSelected&&-1!==[dt.BACKSPACE,dt.DELETE].indexOf(e.keyCode)&&(e.preventDefault(),this.props.onRemove())}onEdit(){this.setState({isEditing:!0})}componentDidUpdate(){const{image:e,url:t,__unstableMarkNextChangeAsNotPersistent:n}=this.props;e&&!t&&(n(),this.props.setAttributes({url:e.source_url,alt:e.alt_text}))}deselectOnBlur(){this.props.onDeselect()}onSelectImageFromLibrary(e){const{setAttributes:t,id:n,url:o,alt:r,caption:a,sizeSlug:l}=this.props;if(!e||!e.url)return;let c=kr(e,l);((e,t)=>!e&&Object(ze.isBlobURL)(t))(n,o)&&r&&(c=Object(Me.omit)(c,["alt"])),a&&!Object(Me.get)(c,["caption"])&&(c=Object(Me.omit)(c,["caption"])),t(c),this.setState({isEditing:!1})}onSelectCustomURL(e){const{setAttributes:t,url:n}=this.props;e!==n&&(t({url:e,id:void 0}),this.setState({isEditing:!1}))}render(){const{url:e,alt:t,id:n,linkTo:o,link:r,isFirstItem:a,isLastItem:l,isSelected:c,caption:i,onRemove:s,onMoveForward:u,onMoveBackward:m,setAttributes:d,"aria-label":b}=this.props,{isEditing:p}=this.state;let g;switch(o){case"file":g=e;break;case"post":g=r}const h=Object(je.createElement)(je.Fragment,null,Object(je.createElement)("img",{src:e,alt:t,"data-id":n,onKeyDown:this.onRemoveImage,tabIndex:"0","aria-label":b,ref:this.bindContainer}),Object(ze.isBlobURL)(e)&&Object(je.createElement)(_e.Spinner,null)),v=tt()({"is-selected":c,"is-transient":Object(ze.isBlobURL)(e)});return Object(je.createElement)("figure",{className:v,onClick:this.onSelectImage,onFocus:this.onSelectImage},!p&&(g?Object(je.createElement)("a",{href:g},h):h),p&&Object(je.createElement)(we.MediaPlaceholder,{labels:{title:Object(ke.__)("Edit gallery image")},icon:wr,onSelect:this.onSelectImageFromLibrary,onSelectURL:this.onSelectCustomURL,accept:"image/*",allowedTypes:["image"],value:{id:n,src:e}}),Object(je.createElement)(_e.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},Object(je.createElement)(_e.Button,{icon:Er.a,onClick:a?void 0:m,label:Object(ke.__)("Move image backward"),"aria-disabled":a,disabled:!c}),Object(je.createElement)(_e.Button,{icon:Cr.a,onClick:l?void 0:u,label:Object(ke.__)("Move image forward"),"aria-disabled":l,disabled:!c})),Object(je.createElement)(_e.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right"},Object(je.createElement)(_e.Button,{icon:to.a,onClick:this.onEdit,label:Object(ke.__)("Replace image"),disabled:!c}),Object(je.createElement)(_e.Button,{icon:xr.a,onClick:s,label:Object(ke.__)("Remove image"),disabled:!c})),!p&&(c||i)&&Object(je.createElement)(we.RichText,{tagName:"figcaption","aria-label":Object(ke.__)("Image caption text"),placeholder:c?Object(ke.__)("Add caption"):null,value:i,onChange:e=>d({caption:e}),inlineToolbar:!0}))}}var Br=Object(nt.compose)([Object(Pe.withSelect)((e,t)=>{const{getMedia:n}=e(It.store),{id:o}=t;return{image:o?n(parseInt(o,10)):null}}),Object(Pe.withDispatch)(e=>{const{__unstableMarkNextChangeAsNotPersistent:t}=e(we.store);return{__unstableMarkNextChangeAsNotPersistent:t}})])(Sr);function Tr(e){let{isHidden:t,...n}=e;return t?Object(je.createElement)(_e.VisuallyHidden,Object(mt.a)({as:we.RichText},n)):Object(je.createElement)(we.RichText,n)}var Nr=e=>{const{attributes:t,isSelected:n,setAttributes:o,selectedImage:r,mediaPlaceholder:a,onMoveBackward:l,onMoveForward:c,onRemoveImage:i,onSelectImage:s,onDeselectImage:u,onSetImageAttributes:m,insertBlocksAfter:d,blockProps:b}=e,{align:p,columns:g=or(t),caption:h,imageCrop:v,images:O}=t;return Object(je.createElement)("figure",Object(mt.a)({},b,{className:tt()(b.className,{["align"+p]:p,["columns-"+g]:g,"is-cropped":v})}),Object(je.createElement)("ul",{className:"blocks-gallery-grid"},O.map((e,o)=>{const a=Object(ke.sprintf)(Object(ke.__)("image %1$d of %2$d in gallery"),o+1,O.length);return Object(je.createElement)("li",{className:"blocks-gallery-item",key:e.id?`${e.id}-${o}`:e.url},Object(je.createElement)(Br,{url:e.url,alt:e.alt,id:e.id,isFirstItem:0===o,isLastItem:o+1===O.length,isSelected:n&&r===o,onMoveBackward:l(o),onMoveForward:c(o),onRemove:i(o),onSelect:s(o),onDeselect:u(o),setAttributes:e=>m(o,e),caption:e.caption,"aria-label":a,sizeSlug:t.sizeSlug}))})),a,Object(je.createElement)(Tr,{isHidden:!n&&we.RichText.isEmpty(h),tagName:"figcaption",className:"blocks-gallery-caption","aria-label":Object(ke.__)("Gallery caption text"),placeholder:Object(ke.__)("Write gallery caption…"),value:h,onChange:e=>o({caption:e}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>d(Object(Oe.createBlock)("core/paragraph"))}))};const zr=[{value:"post",label:Object(ke.__)("Attachment Page")},{value:"file",label:Object(ke.__)("Media File")},{value:"none",label:Object(ke.__)("None")}],Pr=["image"],Ir=je.Platform.select({web:Object(ke.__)("Drag images, upload new ones or select files from your library."),native:Object(ke.__)("ADD MEDIA")}),Mr=je.Platform.select({web:{},native:{type:"stepper"}});Object(nt.compose)([_e.withNotices,Object(cr.withViewportMatch)({isNarrow:"< small"})])((function(e){const{attributes:t,clientId:n,isSelected:o,noticeUI:r,noticeOperations:a,onFocus:l}=e,{columns:c=or(t),imageCrop:i,images:s,linkTo:u,sizeSlug:m}=t,[d,b]=Object(je.useState)(),[p,g]=Object(je.useState)(),{__unstableMarkNextChangeAsNotPersistent:h}=Object(Pe.useDispatch)(we.store),{imageSizes:v,mediaUpload:O,getMedia:j,wasBlockJustInserted:y}=Object(Pe.useSelect)(e=>{const t=e(we.store).getSettings();return{imageSizes:t.imageSizes,mediaUpload:t.mediaUpload,getMedia:e(It.store).getMedia,wasBlockJustInserted:e(we.store).wasBlockJustInserted(n,"inserter_menu")}}),f=Object(je.useMemo)(()=>o?Object(Me.reduce)(t.ids,(e,t)=>{if(!t)return e;const n=j(t),o=Object(Me.reduce)(v,(e,t)=>{const o=Object(Me.get)(n,["sizes",t.slug,"url"]),r=Object(Me.get)(n,["media_details","sizes",t.slug,"source_url"]);return{...e,[t.slug]:o||r}},{});return{...e,[parseInt(t,10)]:o}},{}):{},[o,t.ids,v]);function _(t){if(t.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');t.images&&(t={...t,ids:Object(Me.map)(t.images,e=>{let{id:t}=e;return parseInt(t,10)})}),e.setAttributes(t)}function k(e,t){const n=[...s];n.splice(t,1,s[e]),n.splice(e,1,s[t]),b(t),_({images:n})}function w(e){const t=Object(Me.toString)(e.id),n=Object(Me.find)(s,{id:t}),o=n?n.caption:e.caption;if(!p)return o;const r=Object(Me.find)(p,{id:t});return r&&r.caption!==e.caption?e.caption:o}function E(e){g(e.map(e=>({id:Object(Me.toString)(e.id),caption:e.caption}))),_({images:e.map(e=>({...kr(e,m),caption:w(e),id:Object(Me.toString)(e.id)})),columns:t.columns?Math.min(e.length,t.columns):t.columns})}Object(je.useEffect)(()=>{if("web"===je.Platform.OS&&s&&s.length>0&&Object(Me.every)(s,e=>{let{url:t}=e;return Object(ze.isBlobURL)(t)})){const e=Object(Me.map)(s,e=>{let{url:t}=e;return Object(ze.getBlobByURL)(t)});Object(Me.forEach)(s,e=>{let{url:t}=e;return Object(ze.revokeBlobURL)(t)}),O({filesList:e,onFileChange:E,allowedTypes:["image"]})}},[]),Object(je.useEffect)(()=>{o||b()},[o]),Object(je.useEffect)(()=>{var e,t,n,o,r,a;u||(h(),_({linkTo:(null===(e=window)||void 0===e||null===(t=e.wp)||void 0===t||null===(n=t.media)||void 0===n||null===(o=n.view)||void 0===o||null===(r=o.settings)||void 0===r||null===(a=r.defaultProps)||void 0===a?void 0:a.link)||"none"}))},[u]);const C=!!s.length,x=C&&s.some(e=>!!e.id),S=Object(je.createElement)(we.MediaPlaceholder,{addToGallery:x,isAppender:C,disableMediaButtons:C&&!o,icon:!C&&ir,labels:{title:!C&&Object(ke.__)("Gallery"),instructions:!C&&Ir},onSelect:E,accept:"image/*",allowedTypes:Pr,multiple:!0,value:x?s:{},onError:function(e){a.removeAllNotices(),a.createErrorNotice(e)},notices:C?void 0:r,onFocus:l,autoOpenMediaUpload:!C&&o&&y}),B=Object(we.useBlockProps)();if(!C)return Object(je.createElement)(ye.View,B,S);const T=Object(Me.map)(Object(Me.filter)(v,e=>{let{slug:t}=e;return Object(Me.some)(f,e=>e[t])}),e=>{let{name:t,slug:n}=e;return{value:n,label:t}}),N=C&&!Object(Me.isEmpty)(T);return Object(je.createElement)(je.Fragment,null,Object(je.createElement)(we.InspectorControls,null,Object(je.createElement)(_e.PanelBody,{title:Object(ke.__)("Gallery settings")},s.length>1&&Object(je.createElement)(_e.RangeControl,Object(mt.a)({label:Object(ke.__)("Columns"),value:c,onChange:function(e){_({columns:e})},min:1,max:Math.min(8,s.length)},Mr,{required:!0})),Object(je.createElement)(_e.ToggleControl,{label:Object(ke.__)("Crop images"),checked:!!i,onChange:function(){_({imageCrop:!i})},help:function(e){return e?Object(ke.__)("Thumbnails are cropped to align."):Object(ke.__)("Thumbnails are not cropped.")}}),Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Link to"),value:u,onChange:function(e){_({linkTo:e})},options:zr,hideCancelButton:!0}),N&&Object(je.createElement)(_e.SelectControl,{label:Object(ke.__)("Image size"),value:m,options:T,onChange:function(e){_({images:Object(Me.map)(s,t=>{if(!t.id)return t;const n=Object(Me.get)(f,[parseInt(t.id,10),e]);return{...t,...n&&{url:n}}}),sizeSlug:e})},hideCancelButton:!0}))),r,Object(je.createElement)(Nr,Object(mt.a)({},e,{selectedImage:d,mediaPlaceholder:S,onMoveBackward:function(e){return()=>{0!==e&&k(e,e-1)}},onMoveForward:function(e){return()=>{e!==s.length-1&&k(e,e+1)}},onRemoveImage:function(e){return()=>{const n=Object(Me.filter)(s,(t,n)=>e!==n);b(),_({images:n,columns:t.columns?Math.min(n.length,t.columns):t.columns})}},onSelectImage:function(e){return()=>{b(e)}},onDeselectImage:function(){return()=>{b()}},onSetImageAttributes:function(e,t){s[e]&&_({images:[...s.slice(0,e),{...s[e],...t},...s.slice(e+1)]})},blockProps:B,onFocusGalleryCaption:function(){b()}})))}));var Rr=Object(nt.compose)([_e.withNotices])((function(e){return Object(je.createElement)(_r,e)}));var Lr=n("g56x");const Vr=e=>e?e.split(",").map(e=>parseInt(e,10)):[];Object(Lr.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",(function(e){var t;if("core/gallery"===e.name&&(null===(t=e.attributes)||void 0===t?void 0:t.images.length)>0){const t=e.attributes.images.map(t=>{let{url:n,id:o,alt:r}=t;return Object(Oe.createBlock)("core/image",{url:n,id:o?parseInt(o,10):null,alt:r,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination})});delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e})),Object(Lr.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",(function(e,t){const n=(Array.isArray(t)?t:[t]).find(t=>{var n;return"core/gallery"===t.name&&t.innerBlocks.length>0&&!(null!==(n=t.attributes.images)&&void 0!==n&&n.length)>0&&!e.name.includes("core/")});if(n){const e=n.innerBlocks.map(e=>{let{attributes:{url:t,id:n,alt:o}}=e;return{url:t,id:n?parseInt(n,10):null,alt:o}}),t=e.map(e=>{let{id:t}=e;return t});n.attributes.images=e,n.attributes.ids=t}return e}));var Hr={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:n}=e[0];t=Object(Me.every)(e,["align",t])?t:void 0,n=Object(Me.every)(e,["sizeSlug",n])?n:void 0;const o=Object(Me.filter)(e,e=>{let{url:t}=e;return t});{const e=o.map(e=>Object(Oe.createBlock)("core/image",e));return Object(Oe.createBlock)("core/gallery",{align:t,sizeSlug:n},e)}}},{type:"shortcode",tag:"gallery",attributes:{images:{type:"array",shortcode:e=>{let{named:{ids:t}}=e}},ids:{type:"array",shortcode:e=>{let{named:{ids:t}}=e}},shortCodeTransforms:{type:"array",shortcode:e=>{let{named:{ids:t}}=e;return Vr(t).map(e=>({id:parseInt(e)}))}},columns:{type:"number",shortcode:e=>{let{named:{columns:t="3"}}=e;return parseInt(t,10)}},linkTo:{type:"string",shortcode:e=>{let{named:{link:t}}=e;switch(t){case"post":return"attachment";case"file":return"media";default:return"none"}}}},isMatch(e){let{named:t}=e;return void 0!==t.ids}},{type:"files",priority:1,isMatch:e=>1!==e.length&&Object(Me.every)(e,e=>0===e.type.indexOf("image/")),transform(e){{const t=e.map(e=>Object(Oe.createBlock)("core/image",{url:Object(ze.createBlobURL)(e)}));return Object(Oe.createBlock)("core/gallery",{},t)}}}],to:[{type:"block",blocks:["core/image"],transform:(e,t)=>{let{align:n,images:o,ids:r,sizeSlug:a}=e;return t.length>0?t.map(e=>{let{attributes:{id:t,url:o,alt:r,caption:a,imageSizeSlug:l}}=e;return Object(Oe.createBlock)("core/image",{id:t,url:o,alt:r,caption:a,sizeSlug:l,align:n})}):Object(Oe.createBlock)("core/image",{align:n})}}]};const Ar={apiVersion:2,name:"core/gallery",title:"Gallery",category:"media",description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",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:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight"},supports:{anchor:!0,align:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"},{name:Fr}=Ar,Dr={icon:tr,example:{attributes:{columns:2},innerBlocks:[{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}}]},transforms:Hr,edit:Rr,save:function(e){let{attributes:t}=e;const{caption:n,columns:o,imageCrop:r}=t,a=tt()("has-nested-images",{["columns-"+o]:void 0!==o,"columns-default":void 0===o,"is-cropped":r}),l=we.useBlockProps.save({className:a}),c=we.useInnerBlocksProps.save(l);return Object(je.createElement)("figure",c,c.children,!we.RichText.isEmpty(n)&&Object(je.createElement)(we.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:n}))},deprecated:lr};var Gr=n("u6za");const Ur=e=>{if(e.tagName||(e={...e,tagName:"div"}),!e.customTextColor&&!e.customBackgroundColor)return e;const t={color:{}};return e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),{...Object(Me.omit)(e,["customTextColor","customBackgroundColor"]),style:t}};var qr=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:"string"}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save(e){let{attributes:t}=e;const{tagName:n}=t;return Object(je.createElement)(n,we.useBlockProps.save(),Object(je.createElement)("div",{className:"wp-block-group__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Ur,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=t,l=Object(we.getColorClassName)("background-color",n),c=Object(we.getColorClassName)("color",r),i=tt()(l,c,{"has-text-color":r||a,"has-background":n||o}),s={backgroundColor:l?void 0:o,color:c?void 0:a};return Object(je.createElement)("div",{className:i,style:s},Object(je.createElement)("div",{className:"wp-block-group__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:Ur,supports:{align:["wide","full"],anchor:!0,html:!1},save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o,textColor:r,customTextColor:a}=t,l=Object(we.getColorClassName)("background-color",n),c=Object(we.getColorClassName)("color",r),i=tt()(l,{"has-text-color":r||a,"has-background":n||o}),s={backgroundColor:l?void 0:o,color:c?void 0:a};return Object(je.createElement)("div",{className:i,style:s},Object(je.createElement)("div",{className:"wp-block-group__inner-container"},Object(je.createElement)(we.InnerBlocks.Content,null)))}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:Ur,save(e){let{attributes:t}=e;const{backgroundColor:n,customBackgroundColor:o}=t,r=Object(we.getColorClassName)("background-color",n),a=tt()(r,{"has-background":n||o}),l={backgroundColor:r?void 0:o};return Object(je.createElement)("div",{className:a,style:l},Object(je.createElement)(we.InnerBlocks.Content,null))}}];const Wr={header:Object(ke.__)("The
element should represent introductory content, typically a group of introductory or navigational aids."),main:Object(ke.__)("The
element should be used for the primary content of your document only. "),section:Object(ke.__)("The
element should represent a standalone portion of the document that can't be better represented by another element."),article:Object(ke.__)("The
element should represent a self contained, syndicatable portion of the document."),aside:Object(ke.__)("The