diff --git a/wp-includes/assets/script-loader-packages.php b/wp-includes/assets/script-loader-packages.php index c8376253a6..d09185299f 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' => '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 + 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' => '56fd274d0d14fe0540d61051a6a899d2'), '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/js/dist/block-editor.js b/wp-includes/js/dist/block-editor.js index 4228f04078..a67f1fba66 100644 --- a/wp-includes/js/dist/block-editor.js +++ b/wp-includes/js/dist/block-editor.js @@ -27127,6 +27127,7 @@ var store = __webpack_require__("BhPs"); + /** * Internal dependencies */ @@ -27137,6 +27138,7 @@ var store = __webpack_require__("BhPs"); // This is used to avoid rendering the block list if the sizes change. let MemoizedBlockList; +const MAX_HEIGHT = 2000; function AutoBlockPreview(_ref) { let { @@ -27151,7 +27153,18 @@ function AutoBlockPreview(_ref) { }] = Object(external_wp_compose_["useResizeObserver"])(); const styles = Object(external_wp_data_["useSelect"])(select => { return select(store["a" /* store */]).getSettings().styles; - }, []); // Initialize on render instead of module top level, to avoid circular dependency issues. + }, []); // Avoid scrollbars for pattern previews. + + const editorStyles = Object(external_wp_element_["useMemo"])(() => { + if (styles) { + return [...styles, { + css: 'body{height:auto;overflow:hidden;}', + __unstableType: 'presets' + }]; + } + + return styles; + }, [styles]); // Initialize on render instead of module top level, to avoid circular dependency issues. MemoizedBlockList = MemoizedBlockList || Object(external_wp_compose_["pure"])(block_list["c" /* default */]); const scale = containerWidth / viewportWidth; @@ -27161,11 +27174,12 @@ function AutoBlockPreview(_ref) { className: "block-editor-block-preview__content", style: { transform: `scale(${scale})`, - height: contentHeight * scale + height: contentHeight * scale, + maxHeight: contentHeight > MAX_HEIGHT ? MAX_HEIGHT * scale : undefined } }, Object(external_wp_element_["createElement"])(iframe["a" /* default */], { head: Object(external_wp_element_["createElement"])(editor_styles["a" /* default */], { - styles: styles + styles: editorStyles }), contentRef: Object(external_wp_compose_["useRefEffect"])(bodyElement => { const { @@ -27184,7 +27198,10 @@ function AutoBlockPreview(_ref) { position: 'absolute', width: viewportWidth, height: contentHeight, - pointerEvents: 'none' + pointerEvents: 'none', + // This is a catch-all max-height for patterns. + // See: https://github.com/WordPress/gutenberg/pull/38175. + maxHeight: MAX_HEIGHT } }, contentResizeListener, Object(external_wp_element_["createElement"])(MemoizedBlockList, { renderAppender: false diff --git a/wp-includes/js/dist/block-editor.min.js b/wp-includes/js/dist/block-editor.min.js index 83ed6925e4..b641e1fdf2 100644 --- a/wp-includes/js/dist/block-editor.min.js +++ b/wp-includes/js/dist/block-editor.min.js @@ -4,7 +4,7 @@ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(o){if(t[ autosize 4.0.4 license: MIT http://www.jacklmoore.com/autosize -*/r=[e,t],void 0===(c="function"==typeof(o=function(e,t){"use strict";var n,o,r="function"==typeof Map?new Map:(n=[],o=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.splice(t,1))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function l(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t,n=null,o=null,l=null,i=function(){e.clientWidth!==o&&d()},a=function(t){window.removeEventListener("resize",i,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),r.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",i,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:a,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o{!function(e){const[t]=a.focus.tabbable.find(e);t&&t.focus()}(e.current)},[]);Object(s.useShortcut)("core/block-editor/focus-toolbar",d),Object(r.useEffect)(()=>{l&&d()},[n,l,d]),Object(r.useEffect)(()=>{let t=0;return i&&!l&&(t=window.requestAnimationFrame(()=>{const t=u(e.current),n=i||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()})),()=>{if(window.cancelAnimationFrame(t),!c||!e.current)return;const n=u(e.current).findIndex(e=>0===e.tabIndex);c(n)}},[i,l])}t.a=function(e){let{children:t,focusOnMount:n,__experimentalInitialIndex:l,__experimentalOnIndexChange:s,...u}=e;const b=Object(r.useRef)(),p=function(e){const[t,n]=Object(r.useState)(!0),o=Object(r.useCallback)(()=>{const t=a.focus.tabbable.find(e.current),o=!t.some(e=>!("toolbarItem"in e.dataset));o||i()("Using custom components as toolbar controls",{since:"5.6",alternative:"ToolbarItem, ToolbarButton or ToolbarDropdownMenu components",link:"https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols"}),n(o)},[]);return Object(r.useLayoutEffect)(()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[t]),t}(b);return d(b,n,p,l,s),p?Object(r.createElement)(c.Toolbar,Object(o.a)({label:u["aria-label"],ref:b},u),t):Object(r.createElement)(c.NavigableMenu,Object(o.a)({orientation:"horizontal",role:"toolbar",ref:b},u),t)}},GvwK:function(e,t,n){"use strict";var o=n("GRId"),r=n("NMb1"),c=n.n(r),l=n("7SSY");t.a=function(e){let{title:t,icon:n,description:r,blockType:i}=e;return i&&(c()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:t,icon:n,description:r}=i)),Object(o.createElement)("div",{className:"block-editor-block-card"},Object(o.createElement)(l.a,{icon:n,showColors:!0}),Object(o.createElement)("div",{className:"block-editor-block-card__content"},Object(o.createElement)("h2",{className:"block-editor-block-card__title"},t),Object(o.createElement)("span",{className:"block-editor-block-card__description"},r)))}},HC45:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("GOly");t.a=Object(r.forwardRef)((function(e,t){const n=Object(r.useContext)(l.a);return Object(r.createElement)(c.__unstableCompositeGroup,Object(o.a)({state:n,role:"presentation",ref:t},e))}))},HSyU:function(e,t){e.exports=window.wp.blocks},HgtZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("ur0x"),c=n("BhPs");function l(){const{isSelected:e,clientId:t,name:n}=Object(r.c)();return Object(o.useSelect)(o=>{if(e)return!0;const{getBlockName:r,isFirstMultiSelectedBlock:l,getMultiSelectedBlockClientIds:i}=o(c.a);return!!l(t)&&i().every(e=>r(e)===n)},[t,e,n])}},I5Hl:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("tI+e"),i=n("l3Sj"),a=n("iClF"),s=n("Q4Sy"),u=n("NMb1"),d=n.n(u),b=n("qrxh");function p(e,t){let{rootClientId:n,className:r,onFocus:u,tabIndex:d}=e;return Object(o.createElement)(b.a,{position:"bottom center",rootClientId:n,__experimentalIsQuick:!0,renderToggle:e=>{let n,{onToggle:b,disabled:p,isOpen:m,blockTitle:f,hasSingleBlockType:h}=e;n=h?Object(i.sprintf)(Object(i._x)("Add %s","directly add the only allowed block"),f):Object(i._x)("Add block","Generic label for block inserter button");const g=!h;let O=Object(o.createElement)(l.Button,{ref:t,onFocus:u,tabIndex:d,className:c()(r,"block-editor-button-block-appender"),onClick:b,"aria-haspopup":g?"true":void 0,"aria-expanded":g?m:void 0,disabled:p,label:n},!h&&Object(o.createElement)(l.VisuallyHidden,{as:"span"},n),Object(o.createElement)(a.a,{icon:s.a}));return(g||h)&&(O=Object(o.createElement)(l.Tooltip,{text:n},O)),O},isAppender:!0})}const m=Object(o.forwardRef)((e,t)=>(d()("wp.blockEditor.ButtonBlockerAppender",{alternative:"wp.blockEditor.ButtonBlockAppender"}),p(e,t)));t.b=Object(o.forwardRef)(p)},JDWi:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs");function l(e){const{isNavigationMode:t,isBlockSelected:n}=Object(o.useSelect)(c.a),{setNavigationMode:l,selectBlock:i}=Object(o.useDispatch)(c.a);return Object(r.useRefEffect)(o=>{function r(o){t()&&!o.defaultPrevented&&(o.preventDefault(),n(e)?l(!1):i(e))}return o.addEventListener("mousedown",r),()=>{o.addEventListener("mousedown",r)}},[e,t,n,l])}},JGYp:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("YLtl"),r=n("GRId"),c=n("1ZqX"),l=n("HSyU"),i=n("BhPs");function a(e){let{clientId:t=null,value:n,selection:a,onChange:s=o.noop,onInput:u=o.noop}=e;const d=Object(c.useRegistry)(),{resetBlocks:b,resetSelection:p,replaceInnerBlocks:m,setHasControlledInnerBlocks:f,__unstableMarkNextChangeAsNotPersistent:h}=d.dispatch(i.a),{getBlockName:g,getBlocks:O}=d.select(i.a),v=Object(c.useSelect)(e=>!t||e(i.a).areInnerBlocksControlled(t),[t]),j=Object(r.useRef)({incoming:null,outgoing:[]}),k=Object(r.useRef)(!1),_=()=>{n&&(h(),t?d.batch(()=>{f(t,!0);const e=n.map(e=>Object(l.cloneBlock)(e));k.current&&(j.current.incoming=e),h(),m(t,e)}):(k.current&&(j.current.incoming=n),b(n)))},y=Object(r.useRef)(u),E=Object(r.useRef)(s);Object(r.useEffect)(()=>{y.current=u,E.current=s},[u,s]),Object(r.useEffect)(()=>{j.current.outgoing.includes(n)?Object(o.last)(j.current.outgoing)===n&&(j.current.outgoing=[]):O(t)!==n&&(j.current.outgoing=[],_(),a&&p(a.selectionStart,a.selectionEnd,a.initialPosition))},[n,t]),Object(r.useEffect)(()=>{v||(j.current.outgoing=[],_())},[v]),Object(r.useEffect)(()=>{const{getSelectionStart:e,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:c,areInnerBlocksControlled:l}=d.select(i.a);let a=O(t),s=r(),u=!1;k.current=!0;const b=d.subscribe(()=>{if(null!==t&&null===g(t))return;if(!(!t||l(t)))return;const i=r(),d=O(t),b=d!==a;if(a=d,b&&(j.current.incoming||c()))return j.current.incoming=null,void(s=i);if(b||u&&!b&&i&&!s){s=i,j.current.outgoing.push(a);(s?E.current:y.current)(a,{selection:{selectionStart:e(),selectionEnd:n(),initialPosition:o()}})}u=b});return()=>b()},[d,t])}},JRTi:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("wx14"),c=n("TSYQ"),l=n.n(c),i=n("YLtl"),a=n("tI+e"),s=n("HSyU"),u=n("uoCR");const d={};var b=Object(a.withFilters)("editor.BlockEdit")(e=>{const{attributes:t={},name:n}=e,c=Object(s.getBlockType)(n),a=Object(o.useContext)(u.b),b=Object(o.useMemo)(()=>c&&c.usesContext?Object(i.pick)(a,c.usesContext):d,[c,a]);if(!c)return null;const p=c.edit||c.save;if(c.apiVersion>1)return Object(o.createElement)(p,Object(r.a)({},e,{context:b}));const m=Object(s.hasBlockSupport)(c,"className",!0)?Object(s.getBlockDefaultClassName)(n):null,f=l()(m,t.className);return Object(o.createElement)(p,Object(r.a)({},e,{context:b,className:f}))}),p=n("ur0x");function m(e){const{name:t,isSelected:n,clientId:r}=e,c={name:t,isSelected:n,clientId:r};return Object(o.createElement)(p.a,{value:Object(o.useMemo)(()=>c,Object.values(c))},Object(o.createElement)(b,e))}},JUfZ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("l3Sj"),a=n("HSyU"),s=n("1ZqX"),u=n("GkEL"),d=n("+gtr"),b=n("BhPs");t.a=function(e){let{focusOnMount:t,isFixed:n,...c}=e;const{blockType:p,hasParents:m,showParentSelector:f}=Object(s.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(b.a),{getBlockType:r}=e(a.store),c=o(),l=c[0],i=n(l),s=r(t(i[i.length-1]));return{blockType:l&&r(t(l)),hasParents:i.length,showParentSelector:Object(a.hasBlockSupport)(s,"__experimentalParentSelector",!0)&&c.length<=1}},[]);if(p&&!Object(a.hasBlockSupport)(p,"__experimentalToolbar",!0))return null;const h=l()("block-editor-block-contextual-toolbar",{"has-parent":m&&f,"is-fixed":n});return Object(r.createElement)(u.a,Object(o.a)({focusOnMount:t,className:h,"aria-label":Object(i.__)("Block tools")},c),Object(r.createElement)(d.a,{hideDragHandle:n}))}},JygI:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("TSYQ"),i=n.n(l),a=n("xN+R"),s=n("tI+e"),u=n("HSyU"),d=n("1ZqX"),b=n("l3Sj"),p=n("ZAjO"),m=n("9Ma0"),f=n("BhPs");t.a=Object(d.withSelect)((e,t)=>{var n;let{clientIds:o}=t;const{getBlock:r,getBlockIndex:l,getBlockListSettings:i,canMoveBlocks:a,getBlockOrder:s,getBlockRootClientId:d}=e(f.a),b=Object(c.castArray)(o),p=Object(c.first)(b),m=r(p),h=d(Object(c.first)(b)),g=l(p),O=0===g,v=l(Object(c.last)(b))===s(h).length-1;return{blockType:m?Object(u.getBlockType)(m.name):null,canMove:a(o,h),rootClientId:h,firstIndex:g,isFirst:O,isLast:v,orientation:null===(n=i(h))||void 0===n?void 0:n.orientation}})((function(e){let{isFirst:t,isLast:n,clientIds:c,canMove:l,isHidden:u,rootClientId:d,orientation:f,hideDragHandle:h}=e;const[g,O]=Object(r.useState)(!1),v=()=>O(!0),j=()=>O(!1);if(!l||t&&n&&!d)return null;const k=Object(b.__)("Drag");return Object(r.createElement)("div",{className:i()("block-editor-block-mover",{"is-visible":g||!u,"is-horizontal":"horizontal"===f})},!h&&Object(r.createElement)(p.a,{clientIds:c,cloneClassname:"block-editor-block-mover__drag-clone"},e=>Object(r.createElement)(s.Button,Object(o.a)({icon:a.a,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:k,tabIndex:"-1"},e))),Object(r.createElement)(s.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},Object(r.createElement)(s.ToolbarItem,{onFocus:v,onBlur:j},e=>Object(r.createElement)(m.b,Object(o.a)({clientIds:c},e))),Object(r.createElement)(s.ToolbarItem,{onFocus:v,onBlur:j},e=>Object(r.createElement)(m.a,Object(o.a)({clientIds:c},e)))))}))},Jyyd:function(e,t,n){"use strict";var o=n("tI+e");const{Fill:r,Slot:c}=Object(o.createSlotFill)("__unstableBlockSettingsMenuFirstItem");r.Slot=c,t.a=r},"K/rC":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("1ZqX"),r=n("w8sn"),c=n("BhPs"),l=n("PPMp");const i=["none","left","center","right","wide","full"],a=["wide","full"];function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;e.includes("none")||(e=["none",...e]);const{wideControlsEnabled:t=!1,themeSupportsLayout:n}=Object(o.useSelect)(e=>{const{getSettings:t}=e(c.a),n=t();return{wideControlsEnabled:n.alignWide,themeSupportsLayout:n.supportsLayout}},[]),s=Object(r.d)(),u=Object(l.a)(null==s?void 0:s.type),d=u.getAlignments(s);if(n){const t=d.filter(t=>{let{name:n}=t;return e.includes(n)});return 1===t.length&&"none"===t[0].name?[]:t}if("default"!==u.name)return[];const{alignments:b=i}=s,p=e.filter(e=>(s.alignments||t||!a.includes(e))&&b.includes(e)).map(e=>({name:e}));return 1===p.length&&"none"===p[0].name?[]:p}},K9lf:function(e,t){e.exports=window.wp.compose},KyyN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("GRId"),r=n("fHnH"),c=n("abaT"),l=n("7bKH"),i=n("vSu0");function a(e){return Object(o.useCallback)(e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,c=t.querySelector(".editor-styles-wrapper");let l;if(c)l=n.getComputedStyle(c,null).getPropertyValue("background-color");else{const e=t.createElement("div");e.classList.add("editor-styles-wrapper"),o.appendChild(e),l=n.getComputedStyle(e,null).getPropertyValue("background-color"),o.removeChild(e)}const i=Object(r.a)(l);i.luminance()>.5||0===i.alpha()?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")},[e])}function s(e){let{styles:t}=e;const n=Object(o.useMemo)(()=>Object(i.a)(t,".editor-styles-wrapper"),[t]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("style",{ref:a(t)}),n.map((e,t)=>Object(o.createElement)("style",{key:t},e)))}Object(r.b)([c.a,l.a])},LolH:function(e,t,n){"use strict";var o=n("GRId"),r=n("l3Sj"),c=n("iClF"),l=n("//Lo");t.a=function(){return Object(o.createElement)("div",{className:"block-editor-inserter__no-results"},Object(o.createElement)(c.a,{className:"block-editor-inserter__no-results-icon",icon:l.a}),Object(o.createElement)("p",null,Object(r.__)("No results found.")))}},"M+co":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("GOly");t.a=Object(r.forwardRef)((function(e,t){let{isFirst:n,as:i,children:a,...s}=e;const u=Object(r.useContext)(l.a);return Object(r.createElement)(c.__unstableCompositeItem,Object(o.a)({ref:t,state:u,role:"option",focusable:!0},s),e=>{const t={...e,tabIndex:n?0:e.tabIndex};return i?Object(r.createElement)(i,t,a):"function"==typeof a?a(t):Object(r.createElement)(c.Button,t,a)})}))},Mmq9:function(e,t){e.exports=window.wp.url},Mp0b:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=c},NMUH:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));var o=n("YLtl");const r=(e,t,n)=>{if(t){const n=Object(o.find)(e,{slug:t});if(n)return n}return{size:n}};function c(e,t){const n=Object(o.find)(e,{size:t});return n||{size:t}}function l(e){if(e)return`has-${Object(o.kebabCase)(e)}-font-size`}},NMb1:function(e,t){e.exports=window.wp.deprecated},NTP4:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=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 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},NWDH:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=c},NtoT:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("YLtl"),c=n("tI+e"),l=(n("Z23Y"),n("HgtZ")),i=n("VrEk");function a(t){var n;let{__experimentalGroup:a="default",children:s}=t;const u=Object(l.a)(),d=null===(n=i.a[a])||void 0===n?void 0:n.Fill;return d?u?Object(o.createElement)(c.__experimentalStyleProvider,{document:document},Object(o.createElement)(d,null,e=>{const t=Object(r.isEmpty)(e)?null:e;return Object(o.createElement)(c.__experimentalToolsPanelContext.Provider,{value:t},s)})):null:(void 0!==e&&e.env,null)}}).call(this,n("8oxB"))},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},OL6h:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return i}));const o=".block-editor-block-list__block",r=".block-list-appender";function c(e,t){return e.closest(o)===t.closest(o)}function l(e,t){return t.closest([o,r].join(","))===e}function i(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(o);return t?t.id.slice("block-".length):void 0}},OzlF:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));t.a=c},P7XM:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},PKbb:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("K9lf"),c=n("cDhi");function l(e){const{refs:t,callbacks:n}=Object(o.useContext)(c.a),l=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(t.set(l,e),()=>{t.delete(l)}),[e]),Object(r.useRefEffect)(t=>{l.current=t,n.forEach((n,o)=>{e===n&&o(t)})},[e])}function i(e){const{refs:t}=Object(o.useContext)(c.a),n=Object(o.useRef)();return n.current=e,Object(o.useMemo)(()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}}),[])}function a(e){const{callbacks:t}=Object(o.useContext)(c.a),n=i(e),[r,l]=Object(o.useState)(null);return Object(o.useLayoutEffect)(()=>{if(e)return t.set(l,e),()=>{t.delete(l)}},[e]),n.current||r}},PPMp:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return x}));var o=n("GRId"),r=n("l3Sj"),c=n("kWXm"),l=n("DmX/"),i=n("suLj"),a=n("bTSr"),s=n("Tqx9");var u=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M14.3 6.7l-1.1 1.1 4 4H4v1.5h13.3l-4.1 4.4 1.1 1.1 5.8-6.3z"}));var d=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M16.2 13.2l-4 4V4h-1.5v13.3l-4.5-4.1-1 1.1 6.2 5.8 5.8-5.8-1-1.1z"})),b=n("tI+e");function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.split(",").map(e=>`.editor-styles-wrapper ${e} ${t}`).join(",")}var m=n("v5LD"),f=n("fOYa"),h=n("0E5u");const g={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},O={left:"flex-start",right:"flex-end",center:"center"},v=["wrap","nowrap"];var j={name:"flex",label:Object(r.__)("Flex"),inspectorControls:function(e){let{layout:t={},onChange:n}=e;const{allowOrientation:r=!0}=t;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(b.Flex,null,Object(o.createElement)(b.FlexItem,null,Object(o.createElement)(k,{layout:t,onChange:n})),Object(o.createElement)(b.FlexItem,null,r&&Object(o.createElement)(y,{layout:t,onChange:n}))),Object(o.createElement)(_,{layout:t,onChange:n}))},toolBarControls:function(e){let{layout:t={},onChange:n,layoutBlockSupport:r}=e;return null!=r&&r.allowSwitching?null:Object(o.createElement)(f.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(o.createElement)(k,{layout:t,onChange:n,isToolbar:!0}))},save:function(e){var t,n;let{selector:r,layout:c,style:l}=e;const{orientation:i="horizontal"}=c,a=null!==Object(m.a)("spacing.blockGap"),s=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap, 0.5em )",u=g[c.justifyContent]||g.left,d=v.includes(c.flexWrap)?c.flexWrap:"wrap",b=`\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: ${u};\n\t\t`,f=`\n\t\tflex-direction: column;\n\t\talign-items: ${O[c.justifyContent]||O.left};\n\t\t`;return Object(o.createElement)("style",null,`\n\t\t\t\t${p(r)} {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tgap: ${a?s:"0.5em"};\n\t\t\t\t\tflex-wrap: ${d};\n\t\t\t\t\t${"horizontal"===i?b:f}\n\t\t\t\t}\n\n\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t`)},getOrientation(e){const{orientation:t="horizontal"}=e;return t},getAlignments:()=>[]};function k(e){let{layout:t,onChange:n,isToolbar:s=!1}=e;const{justifyContent:u="left",orientation:d="horizontal"}=t,p=e=>{n({...t,justifyContent:e})},m=["left","center","right"];if("horizontal"===d&&m.push("space-between"),s)return Object(o.createElement)(h.a,{allowedControls:m,value:u,onChange:p,popoverProps:{position:"bottom right",isAlternate:!0}});const f=[{value:"left",icon:c.a,label:Object(r.__)("Justify items left")},{value:"center",icon:l.a,label:Object(r.__)("Justify items center")},{value:"right",icon:i.a,label:Object(r.__)("Justify items right")}];return"horizontal"===d&&f.push({value:"space-between",icon:a.a,label:Object(r.__)("Space between items")}),Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-justification-controls"},Object(o.createElement)("legend",null,Object(r.__)("Justification")),Object(o.createElement)("div",null,f.map(e=>{let{value:t,icon:n,label:r}=e;return Object(o.createElement)(b.Button,{key:t,label:r,icon:n,isPressed:u===t,onClick:()=>p(t)})})))}function _(e){let{layout:t,onChange:n}=e;const{flexWrap:c="wrap"}=t;return Object(o.createElement)(b.ToggleControl,{label:Object(r.__)("Allow to wrap to multiple lines"),onChange:e=>{n({...t,flexWrap:e?"wrap":"nowrap"})},checked:"wrap"===c})}function y(e){let{layout:t,onChange:n}=e;const{orientation:c="horizontal"}=t;return Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-orientation-controls"},Object(o.createElement)("legend",null,Object(r.__)("Orientation")),Object(o.createElement)(b.Button,{label:"horizontal",icon:u,isPressed:"horizontal"===c,onClick:()=>n({...t,orientation:"horizontal"})}),Object(o.createElement)(b.Button,{label:"vertical",icon:d,isPressed:"vertical"===c,onClick:()=>n({...t,orientation:"vertical"})}))}var E=n("iClF"),C=n("EpZT"),S=n("beZb");const w=[{name:"default",label:Object(r.__)("Flow"),inspectorControls:function(e){let{layout:t,onChange:n}=e;const{wideSize:c,contentSize:l}=t,i=Object(b.__experimentalUseCustomUnits)({availableUnits:Object(m.a)("spacing.units")||["%","px","em","rem","vw"]});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls"},Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:l||c||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,contentSize:e})},units:i}),Object(o.createElement)(E.a,{icon:C.a})),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:c||l||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,wideSize:e})},units:i}),Object(o.createElement)(E.a,{icon:S.a}))),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},Object(o.createElement)(b.Button,{variant:"secondary",isSmall:!0,disabled:!l&&!c,onClick:()=>n({contentSize:void 0,wideSize:void 0,inherit:!1})},Object(r.__)("Reset"))),Object(o.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},Object(r.__)("Customize the width for all elements that are assigned to the center or wide columns.")))},toolBarControls:function(){return null},save:function(e){var t,n;let{selector:r,layout:c={},style:l}=e;const{contentSize:i,wideSize:a}=c,s=null!==Object(m.a)("spacing.blockGap"),u=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap )";let d=i||a?`\n\t\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\t\tmax-width: ${null!=i?i:a};\n\t\t\t\t\t\tmargin-left: auto !important;\n\t\t\t\t\t\tmargin-right: auto !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(r,'> [data-align="wide"]')} {\n\t\t\t\t\t\tmax-width: ${null!=a?a:i};\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(r,'> [data-align="full"]')} {\n\t\t\t\t\t\tmax-width: none;\n\t\t\t\t\t}\n\t\t\t\t`:"";return d+=`\n\t\t\t${p(r,'> [data-align="left"]')} {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-right: 2em;\n\t\t\t}\n\n\t\t\t${p(r,'> [data-align="right"]')} {\n\t\t\t\tfloat: right;\n\t\t\t\tmargin-left: 2em;\n\t\t\t}\n\n\t\t`,s&&(d+=`\n\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\tmargin-bottom: 0;\n\t\t\t\t}\n\t\t\t\t${p(r,"> * + *")} {\n\t\t\t\t\tmargin-top: ${u};\n\t\t\t\t}\n\t\t\t`),Object(o.createElement)("style",null,d)},getOrientation:()=>"vertical",getAlignments(e){const t=function(e){const{contentSize:t,wideSize:n}=e,o={},c=/^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;c.test(t)&&(o.none=Object(r.sprintf)(Object(r.__)("Max %s wide"),t));c.test(n)&&(o.wide=Object(r.sprintf)(Object(r.__)("Max %s wide"),n));return o}(e);if(void 0!==e.alignments)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(e=>({name:e,info:t[e]}));const{contentSize:n,wideSize:o}=e,c=[{name:"left"},{name:"center"},{name:"right"}];return n&&c.unshift({name:"full"}),o&&c.unshift({name:"wide",info:t.wide}),c.unshift({name:"none",info:t.none}),c}},j];function I(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return w.find(t=>t.name===e)}function x(){return w}},"PS/H":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return h}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("1ZqX"),i=n("tI+e"),a=n("K9lf"),s=n("l3Sj"),u=n("qrxh"),d=n("BhPs"),b=n("PKbb"),p=n("2z9l");const m=Object(o.createContext)();function f(e){let{__unstablePopoverSlot:t,__unstableContentRef:n}=e;const{selectBlock:r}=Object(l.useDispatch)(d.a),f=Object(o.useContext)(m),h=Object(o.useRef)(),{orientation:g,previousClientId:O,nextClientId:v,rootClientId:j,isInserterShown:k}=Object(l.useSelect)(e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getBlockInsertionPoint:r,isBlockBeingDragged:c,getPreviousBlockClientId:l,getNextBlockClientId:i}=e(d.a),a=r(),s=n(a.rootClientId);if(!s.length)return{};let u=s[a.index-1],b=s[a.index];for(;c(u);)u=l(u);for(;c(b);)b=i(b);return{previousClientId:u,nextClientId:b,orientation:(null===(t=o(a.rootClientId))||void 0===t?void 0:t.orientation)||"vertical",rootClientId:a.rootClientId,isInserterShown:null==a?void 0:a.__unstableWithInserter}},[]),_=Object(b.a)(O),y=Object(b.a)(v),E="vertical"===g,C=Object(o.useMemo)(()=>{if(!_&&!y)return{};const e=_?_.getBoundingClientRect():null,t=y?y.getBoundingClientRect():null;if(E)return{width:_?_.offsetWidth:y.offsetWidth,height:t&&e?t.top-e.bottom:0};let n=0;return e&&t&&(n=Object(s.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:_?_.offsetHeight:y.offsetHeight}},[_,y]),S=Object(o.useCallback)(()=>{if(!_&&!y)return{};const{ownerDocument:e}=_||y,t=_?_.getBoundingClientRect():null,n=y?y.getBoundingClientRect():null;return E?Object(s.isRTL)()?{top:t?t.bottom:n.top,left:t?t.right:n.right,right:t?t.left:n.left,bottom:n?n.top:t.bottom,ownerDocument:e}:{top:t?t.bottom:n.top,left:t?t.left:n.left,right:t?t.right:n.right,bottom:n?n.top:t.bottom,ownerDocument:e}:Object(s.isRTL)()?{top:t?t.top:n.top,left:t?t.left:n.right,right:n?n.right:t.left,bottom:t?t.bottom:n.bottom,ownerDocument:e}:{top:t?t.top:n.top,left:t?t.right:n.left,right:n?n.left:t.right,bottom:t?t.bottom:n.bottom,ownerDocument:e}},[_,y]),w=Object(p.a)(n),I=Object(a.useReducedMotion)(),x=c()("block-editor-block-list__insertion-point","is-"+g);const B=_&&y&&k,T={start:{...E?{height:0,left:"50%",right:"50%",y:0}:{width:0,top:"50%",bottom:"50%",x:0},opacity:0},rest:{...E?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:B?.4:0}},hover:{...E?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:.4}}},P={start:{scale:I?1:0},rest:{scale:1,transition:{delay:.2}}};return Object(o.createElement)(i.Popover,{ref:w,noArrow:!0,animate:!1,getAnchorRect:S,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:t||null,key:v+"--"+j},Object(o.createElement)(i.__unstableMotion.div,{layout:!I,initial:I?"rest":"start",animate:"rest",whileHover:"hover",whileTap:"pressed",exit:"start",ref:h,tabIndex:-1,onClick:function(e){e.target===h.current&&v&&r(v,-1)},onFocus:function(e){e.target!==h.current&&(f.current=!0)},className:c()(x,{"is-with-inserter":B}),style:C},Object(o.createElement)(i.__unstableMotion.div,{variants:T,className:"block-editor-block-list__insertion-point-indicator"}),B&&Object(o.createElement)(i.__unstableMotion.div,{variants:P,className:c()("block-editor-block-list__insertion-point-inserter")},Object(o.createElement)(u.a,{position:"bottom center",clientId:v,rootClientId:j,__experimentalIsQuick:!0,onToggle:e=>{f.current=e},onSelectOrClose:()=>{f.current=!1}}))))}function h(e){let{children:t,__unstablePopoverSlot:n,__unstableContentRef:r}=e;const c=Object(l.useSelect)(e=>e(d.a).isBlockInsertionPointVisible(),[]);return Object(o.createElement)(m.Provider,{value:Object(o.useRef)(!1)},c&&Object(o.createElement)(f,{__unstablePopoverSlot:n,__unstableContentRef:r}),t)}},Q2Xw:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("TSYQ"),r=n.n(o),c=n("1ZqX"),l=n("HSyU"),i=n("BhPs");function a(e){return Object(c.useSelect)(t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:c,isBlockMultiSelected:a,getBlockName:s,getSettings:u,hasSelectedInnerBlock:d,isTyping:b,__experimentalGetActiveBlockIdByBlockNames:p}=t(i.a),{__experimentalSpotlightEntityBlocks:m,outlineMode:f}=u(),h=n(e),g=c(e),O=s(e),v=d(e,!0),j=p(m);return r()({"is-selected":g,"is-highlighted":o(e),"is-multi-selected":a(e),"is-reusable":Object(l.isReusableBlock)(Object(l.getBlockType)(O)),"is-dragging":h,"has-child-selected":v,"has-active-entity":j,"is-active-entity":j===e,"remove-outline":g&&f&&b()})},[e])}},Q4Sy:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},"QP/w":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("v5LD");t.a=function(e){const t=Object(l.a)("typography.fontSizes"),n=!Object(l.a)("typography.customFontSize");return Object(r.createElement)(c.FontSizePicker,Object(o.a)({},e,{fontSizes:t,disableCustomFontSizes:n}))}},REKd:function(e,t,n){"use strict";n.d(t,"b",(function(){return O}));var o=n("GRId"),r=n("YLtl"),c=n("TSYQ"),l=n.n(c),i=n("K9lf"),a=n("1ZqX"),s=n("/QNa"),u=n("tI+e"),d=n("VyCT");function b(e){let{onClick:t}=e;return Object(o.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},Object(o.createElement)(u.Disabled,null,Object(o.createElement)(d.c,null)))}var p=n("hHnB"),m=n("KyyN"),f=n("BhPs");let h;var g=function(e){let{viewportWidth:t,__experimentalPadding:n}=e;const[r,{width:c}]=Object(i.useResizeObserver)(),[l,{height:s}]=Object(i.useResizeObserver)(),b=Object(a.useSelect)(e=>e(f.a).getSettings().styles,[]);h=h||Object(i.pure)(d.c);const g=c/t;return Object(o.createElement)("div",{className:"block-editor-block-preview__container"},r,Object(o.createElement)(u.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${g})`,height:s*g}},Object(o.createElement)(p.a,{head:Object(o.createElement)(m.a,{styles:b}),contentRef:Object(i.useRefEffect)(e=>{const{ownerDocument:{documentElement:t}}=e;t.classList.add("block-editor-block-preview__content-iframe"),t.style.position="absolute",t.style.width="100%",e.style.padding=n+"px"},[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:t,height:s,pointerEvents:"none"}},l,Object(o.createElement)(h,{renderAppender:!1}))))};t.a=Object(o.memo)((function(e){let{blocks:t,__experimentalPadding:n=0,viewportWidth:c=1200,__experimentalLive:l=!1,__experimentalOnClick:i}=e;const u=Object(a.useSelect)(e=>e(f.a).getSettings(),[]),d=Object(o.useMemo)(()=>{const e={...u};return e.__experimentalBlockPatterns=[],e},[u]),p=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]);return t&&0!==t.length?Object(o.createElement)(s.a,{value:p,settings:d},l?Object(o.createElement)(b,{onClick:i}):Object(o.createElement)(g,{viewportWidth:c,__experimentalPadding:n})):null}));function O(e){let{blocks:t,props:n={},__experimentalLayout:c}=e;const u=Object(a.useSelect)(e=>e(f.a).getSettings(),[]),b=Object(i.__experimentalUseDisabled)(),p=Object(i.useMergeRefs)([n.ref,b]),m=Object(o.useMemo)(()=>({...u,__experimentalBlockPatterns:[]}),[u]),h=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]),g=Object(o.createElement)(s.a,{value:h,settings:m},Object(o.createElement)(d.a,{renderAppender:!1,__experimentalLayout:c}));return{...n,ref:p,className:l()(n.className,"block-editor-block-preview__live-content","components-disabled"),children:null!=t&&t.length?g:null}}},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.a=c},Rk8H:function(e,t,n){var o=n("jTPX");e.exports=function(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var c=e.nodeName,l=document.createElement(c);l.innerHTML=" ","TEXTAREA"===c.toUpperCase()&&l.setAttribute("rows","1");var i=o(e,"font-size");l.style.fontSize=i,l.style.padding="0px",l.style.border="0px";var a=document.body;a.appendChild(l),n=l.offsetHeight,a.removeChild(l)}return n}},RxS6:function(e,t){e.exports=window.wp.keycodes},SVSp:function(e,t){e.exports=window.wp.shortcode},TSYQ:function(e,t,n){var o; +*/r=[e,t],void 0===(c="function"==typeof(o=function(e,t){"use strict";var n,o,r="function"==typeof Map?new Map:(n=[],o=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return o[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),o.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),o.splice(t,1))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function l(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t,n=null,o=null,l=null,i=function(){e.clientWidth!==o&&d()},a=function(t){window.removeEventListener("resize",i,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),r.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",i,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:a,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",o=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),o="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(o{!function(e){const[t]=a.focus.tabbable.find(e);t&&t.focus()}(e.current)},[]);Object(s.useShortcut)("core/block-editor/focus-toolbar",d),Object(r.useEffect)(()=>{l&&d()},[n,l,d]),Object(r.useEffect)(()=>{let t=0;return i&&!l&&(t=window.requestAnimationFrame(()=>{const t=u(e.current),n=i||0;var o;t[n]&&(o=e.current).contains(o.ownerDocument.activeElement)&&t[n].focus()})),()=>{if(window.cancelAnimationFrame(t),!c||!e.current)return;const n=u(e.current).findIndex(e=>0===e.tabIndex);c(n)}},[i,l])}t.a=function(e){let{children:t,focusOnMount:n,__experimentalInitialIndex:l,__experimentalOnIndexChange:s,...u}=e;const b=Object(r.useRef)(),p=function(e){const[t,n]=Object(r.useState)(!0),o=Object(r.useCallback)(()=>{const t=a.focus.tabbable.find(e.current),o=!t.some(e=>!("toolbarItem"in e.dataset));o||i()("Using custom components as toolbar controls",{since:"5.6",alternative:"ToolbarItem, ToolbarButton or ToolbarDropdownMenu components",link:"https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols"}),n(o)},[]);return Object(r.useLayoutEffect)(()=>{const t=new window.MutationObserver(o);return t.observe(e.current,{childList:!0,subtree:!0}),()=>t.disconnect()},[t]),t}(b);return d(b,n,p,l,s),p?Object(r.createElement)(c.Toolbar,Object(o.a)({label:u["aria-label"],ref:b},u),t):Object(r.createElement)(c.NavigableMenu,Object(o.a)({orientation:"horizontal",role:"toolbar",ref:b},u),t)}},GvwK:function(e,t,n){"use strict";var o=n("GRId"),r=n("NMb1"),c=n.n(r),l=n("7SSY");t.a=function(e){let{title:t,icon:n,description:r,blockType:i}=e;return i&&(c()("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),({title:t,icon:n,description:r}=i)),Object(o.createElement)("div",{className:"block-editor-block-card"},Object(o.createElement)(l.a,{icon:n,showColors:!0}),Object(o.createElement)("div",{className:"block-editor-block-card__content"},Object(o.createElement)("h2",{className:"block-editor-block-card__title"},t),Object(o.createElement)("span",{className:"block-editor-block-card__description"},r)))}},HC45:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("GOly");t.a=Object(r.forwardRef)((function(e,t){const n=Object(r.useContext)(l.a);return Object(r.createElement)(c.__unstableCompositeGroup,Object(o.a)({state:n,role:"presentation",ref:t},e))}))},HSyU:function(e,t){e.exports=window.wp.blocks},HgtZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("ur0x"),c=n("BhPs");function l(){const{isSelected:e,clientId:t,name:n}=Object(r.c)();return Object(o.useSelect)(o=>{if(e)return!0;const{getBlockName:r,isFirstMultiSelectedBlock:l,getMultiSelectedBlockClientIds:i}=o(c.a);return!!l(t)&&i().every(e=>r(e)===n)},[t,e,n])}},I5Hl:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("tI+e"),i=n("l3Sj"),a=n("iClF"),s=n("Q4Sy"),u=n("NMb1"),d=n.n(u),b=n("qrxh");function p(e,t){let{rootClientId:n,className:r,onFocus:u,tabIndex:d}=e;return Object(o.createElement)(b.a,{position:"bottom center",rootClientId:n,__experimentalIsQuick:!0,renderToggle:e=>{let n,{onToggle:b,disabled:p,isOpen:m,blockTitle:f,hasSingleBlockType:h}=e;n=h?Object(i.sprintf)(Object(i._x)("Add %s","directly add the only allowed block"),f):Object(i._x)("Add block","Generic label for block inserter button");const g=!h;let O=Object(o.createElement)(l.Button,{ref:t,onFocus:u,tabIndex:d,className:c()(r,"block-editor-button-block-appender"),onClick:b,"aria-haspopup":g?"true":void 0,"aria-expanded":g?m:void 0,disabled:p,label:n},!h&&Object(o.createElement)(l.VisuallyHidden,{as:"span"},n),Object(o.createElement)(a.a,{icon:s.a}));return(g||h)&&(O=Object(o.createElement)(l.Tooltip,{text:n},O)),O},isAppender:!0})}const m=Object(o.forwardRef)((e,t)=>(d()("wp.blockEditor.ButtonBlockerAppender",{alternative:"wp.blockEditor.ButtonBlockAppender"}),p(e,t)));t.b=Object(o.forwardRef)(p)},JDWi:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("1ZqX"),r=n("K9lf"),c=n("BhPs");function l(e){const{isNavigationMode:t,isBlockSelected:n}=Object(o.useSelect)(c.a),{setNavigationMode:l,selectBlock:i}=Object(o.useDispatch)(c.a);return Object(r.useRefEffect)(o=>{function r(o){t()&&!o.defaultPrevented&&(o.preventDefault(),n(e)?l(!1):i(e))}return o.addEventListener("mousedown",r),()=>{o.addEventListener("mousedown",r)}},[e,t,n,l])}},JGYp:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("YLtl"),r=n("GRId"),c=n("1ZqX"),l=n("HSyU"),i=n("BhPs");function a(e){let{clientId:t=null,value:n,selection:a,onChange:s=o.noop,onInput:u=o.noop}=e;const d=Object(c.useRegistry)(),{resetBlocks:b,resetSelection:p,replaceInnerBlocks:m,setHasControlledInnerBlocks:f,__unstableMarkNextChangeAsNotPersistent:h}=d.dispatch(i.a),{getBlockName:g,getBlocks:O}=d.select(i.a),v=Object(c.useSelect)(e=>!t||e(i.a).areInnerBlocksControlled(t),[t]),j=Object(r.useRef)({incoming:null,outgoing:[]}),k=Object(r.useRef)(!1),_=()=>{n&&(h(),t?d.batch(()=>{f(t,!0);const e=n.map(e=>Object(l.cloneBlock)(e));k.current&&(j.current.incoming=e),h(),m(t,e)}):(k.current&&(j.current.incoming=n),b(n)))},y=Object(r.useRef)(u),E=Object(r.useRef)(s);Object(r.useEffect)(()=>{y.current=u,E.current=s},[u,s]),Object(r.useEffect)(()=>{j.current.outgoing.includes(n)?Object(o.last)(j.current.outgoing)===n&&(j.current.outgoing=[]):O(t)!==n&&(j.current.outgoing=[],_(),a&&p(a.selectionStart,a.selectionEnd,a.initialPosition))},[n,t]),Object(r.useEffect)(()=>{v||(j.current.outgoing=[],_())},[v]),Object(r.useEffect)(()=>{const{getSelectionStart:e,getSelectionEnd:n,getSelectedBlocksInitialCaretPosition:o,isLastBlockChangePersistent:r,__unstableIsLastBlockChangeIgnored:c,areInnerBlocksControlled:l}=d.select(i.a);let a=O(t),s=r(),u=!1;k.current=!0;const b=d.subscribe(()=>{if(null!==t&&null===g(t))return;if(!(!t||l(t)))return;const i=r(),d=O(t),b=d!==a;if(a=d,b&&(j.current.incoming||c()))return j.current.incoming=null,void(s=i);if(b||u&&!b&&i&&!s){s=i,j.current.outgoing.push(a);(s?E.current:y.current)(a,{selection:{selectionStart:e(),selectionEnd:n(),initialPosition:o()}})}u=b});return()=>b()},[d,t])}},JRTi:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("GRId"),r=n("wx14"),c=n("TSYQ"),l=n.n(c),i=n("YLtl"),a=n("tI+e"),s=n("HSyU"),u=n("uoCR");const d={};var b=Object(a.withFilters)("editor.BlockEdit")(e=>{const{attributes:t={},name:n}=e,c=Object(s.getBlockType)(n),a=Object(o.useContext)(u.b),b=Object(o.useMemo)(()=>c&&c.usesContext?Object(i.pick)(a,c.usesContext):d,[c,a]);if(!c)return null;const p=c.edit||c.save;if(c.apiVersion>1)return Object(o.createElement)(p,Object(r.a)({},e,{context:b}));const m=Object(s.hasBlockSupport)(c,"className",!0)?Object(s.getBlockDefaultClassName)(n):null,f=l()(m,t.className);return Object(o.createElement)(p,Object(r.a)({},e,{context:b,className:f}))}),p=n("ur0x");function m(e){const{name:t,isSelected:n,clientId:r}=e,c={name:t,isSelected:n,clientId:r};return Object(o.createElement)(p.a,{value:Object(o.useMemo)(()=>c,Object.values(c))},Object(o.createElement)(b,e))}},JUfZ:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("TSYQ"),l=n.n(c),i=n("l3Sj"),a=n("HSyU"),s=n("1ZqX"),u=n("GkEL"),d=n("+gtr"),b=n("BhPs");t.a=function(e){let{focusOnMount:t,isFixed:n,...c}=e;const{blockType:p,hasParents:m,showParentSelector:f}=Object(s.useSelect)(e=>{const{getBlockName:t,getBlockParents:n,getSelectedBlockClientIds:o}=e(b.a),{getBlockType:r}=e(a.store),c=o(),l=c[0],i=n(l),s=r(t(i[i.length-1]));return{blockType:l&&r(t(l)),hasParents:i.length,showParentSelector:Object(a.hasBlockSupport)(s,"__experimentalParentSelector",!0)&&c.length<=1}},[]);if(p&&!Object(a.hasBlockSupport)(p,"__experimentalToolbar",!0))return null;const h=l()("block-editor-block-contextual-toolbar",{"has-parent":m&&f,"is-fixed":n});return Object(r.createElement)(u.a,Object(o.a)({focusOnMount:t,className:h,"aria-label":Object(i.__)("Block tools")},c),Object(r.createElement)(d.a,{hideDragHandle:n}))}},JygI:function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("YLtl"),l=n("TSYQ"),i=n.n(l),a=n("xN+R"),s=n("tI+e"),u=n("HSyU"),d=n("1ZqX"),b=n("l3Sj"),p=n("ZAjO"),m=n("9Ma0"),f=n("BhPs");t.a=Object(d.withSelect)((e,t)=>{var n;let{clientIds:o}=t;const{getBlock:r,getBlockIndex:l,getBlockListSettings:i,canMoveBlocks:a,getBlockOrder:s,getBlockRootClientId:d}=e(f.a),b=Object(c.castArray)(o),p=Object(c.first)(b),m=r(p),h=d(Object(c.first)(b)),g=l(p),O=0===g,v=l(Object(c.last)(b))===s(h).length-1;return{blockType:m?Object(u.getBlockType)(m.name):null,canMove:a(o,h),rootClientId:h,firstIndex:g,isFirst:O,isLast:v,orientation:null===(n=i(h))||void 0===n?void 0:n.orientation}})((function(e){let{isFirst:t,isLast:n,clientIds:c,canMove:l,isHidden:u,rootClientId:d,orientation:f,hideDragHandle:h}=e;const[g,O]=Object(r.useState)(!1),v=()=>O(!0),j=()=>O(!1);if(!l||t&&n&&!d)return null;const k=Object(b.__)("Drag");return Object(r.createElement)("div",{className:i()("block-editor-block-mover",{"is-visible":g||!u,"is-horizontal":"horizontal"===f})},!h&&Object(r.createElement)(p.a,{clientIds:c,cloneClassname:"block-editor-block-mover__drag-clone"},e=>Object(r.createElement)(s.Button,Object(o.a)({icon:a.a,className:"block-editor-block-mover__drag-handle","aria-hidden":"true",label:k,tabIndex:"-1"},e))),Object(r.createElement)(s.ToolbarGroup,{className:"block-editor-block-mover__move-button-container"},Object(r.createElement)(s.ToolbarItem,{onFocus:v,onBlur:j},e=>Object(r.createElement)(m.b,Object(o.a)({clientIds:c},e))),Object(r.createElement)(s.ToolbarItem,{onFocus:v,onBlur:j},e=>Object(r.createElement)(m.a,Object(o.a)({clientIds:c},e)))))}))},Jyyd:function(e,t,n){"use strict";var o=n("tI+e");const{Fill:r,Slot:c}=Object(o.createSlotFill)("__unstableBlockSettingsMenuFirstItem");r.Slot=c,t.a=r},"K/rC":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("1ZqX"),r=n("w8sn"),c=n("BhPs"),l=n("PPMp");const i=["none","left","center","right","wide","full"],a=["wide","full"];function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;e.includes("none")||(e=["none",...e]);const{wideControlsEnabled:t=!1,themeSupportsLayout:n}=Object(o.useSelect)(e=>{const{getSettings:t}=e(c.a),n=t();return{wideControlsEnabled:n.alignWide,themeSupportsLayout:n.supportsLayout}},[]),s=Object(r.d)(),u=Object(l.a)(null==s?void 0:s.type),d=u.getAlignments(s);if(n){const t=d.filter(t=>{let{name:n}=t;return e.includes(n)});return 1===t.length&&"none"===t[0].name?[]:t}if("default"!==u.name)return[];const{alignments:b=i}=s,p=e.filter(e=>(s.alignments||t||!a.includes(e))&&b.includes(e)).map(e=>({name:e}));return 1===p.length&&"none"===p[0].name?[]:p}},K9lf:function(e,t){e.exports=window.wp.compose},KyyN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("GRId"),r=n("fHnH"),c=n("abaT"),l=n("7bKH"),i=n("vSu0");function a(e){return Object(o.useCallback)(e=>{if(!e)return;const{ownerDocument:t}=e,{defaultView:n,body:o}=t,c=t.querySelector(".editor-styles-wrapper");let l;if(c)l=n.getComputedStyle(c,null).getPropertyValue("background-color");else{const e=t.createElement("div");e.classList.add("editor-styles-wrapper"),o.appendChild(e),l=n.getComputedStyle(e,null).getPropertyValue("background-color"),o.removeChild(e)}const i=Object(r.a)(l);i.luminance()>.5||0===i.alpha()?o.classList.remove("is-dark-theme"):o.classList.add("is-dark-theme")},[e])}function s(e){let{styles:t}=e;const n=Object(o.useMemo)(()=>Object(i.a)(t,".editor-styles-wrapper"),[t]);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("style",{ref:a(t)}),n.map((e,t)=>Object(o.createElement)("style",{key:t},e)))}Object(r.b)([c.a,l.a])},LolH:function(e,t,n){"use strict";var o=n("GRId"),r=n("l3Sj"),c=n("iClF"),l=n("//Lo");t.a=function(){return Object(o.createElement)("div",{className:"block-editor-inserter__no-results"},Object(o.createElement)(c.a,{className:"block-editor-inserter__no-results-icon",icon:l.a}),Object(o.createElement)("p",null,Object(r.__)("No results found.")))}},"M+co":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("GOly");t.a=Object(r.forwardRef)((function(e,t){let{isFirst:n,as:i,children:a,...s}=e;const u=Object(r.useContext)(l.a);return Object(r.createElement)(c.__unstableCompositeItem,Object(o.a)({ref:t,state:u,role:"option",focusable:!0},s),e=>{const t={...e,tabIndex:n?0:e.tabIndex};return i?Object(r.createElement)(i,t,a):"function"==typeof a?a(t):Object(r.createElement)(c.Button,t,a)})}))},Mmq9:function(e,t){e.exports=window.wp.url},Mp0b:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"}));t.a=c},NMUH:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return l}));var o=n("YLtl");const r=(e,t,n)=>{if(t){const n=Object(o.find)(e,{slug:t});if(n)return n}return{size:n}};function c(e,t){const n=Object(o.find)(e,{size:t});return n||{size:t}}function l(e){if(e)return`has-${Object(o.kebabCase)(e)}-font-size`}},NMb1:function(e,t){e.exports=window.wp.deprecated},NTP4:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=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 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},NWDH:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=c},NtoT:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("YLtl"),c=n("tI+e"),l=(n("Z23Y"),n("HgtZ")),i=n("VrEk");function a(t){var n;let{__experimentalGroup:a="default",children:s}=t;const u=Object(l.a)(),d=null===(n=i.a[a])||void 0===n?void 0:n.Fill;return d?u?Object(o.createElement)(c.__experimentalStyleProvider,{document:document},Object(o.createElement)(d,null,e=>{const t=Object(r.isEmpty)(e)?null:e;return Object(o.createElement)(c.__experimentalToolsPanelContext.Provider,{value:t},s)})):null:(void 0!==e&&e.env,null)}}).call(this,n("8oxB"))},O6Fj:function(e,t,n){"use strict";t.__esModule=!0;var o=n("CNgt");t.default=o.TextareaAutosize},OL6h:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return i}));const o=".block-editor-block-list__block",r=".block-list-appender";function c(e,t){return e.closest(o)===t.closest(o)}function l(e,t){return t.closest([o,r].join(","))===e}function i(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;const t=e.closest(o);return t?t.id.slice("block-".length):void 0}},OzlF:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(r.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"}));t.a=c},P7XM:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},PKbb:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var o=n("GRId"),r=n("K9lf"),c=n("cDhi");function l(e){const{refs:t,callbacks:n}=Object(o.useContext)(c.a),l=Object(o.useRef)();return Object(o.useLayoutEffect)(()=>(t.set(l,e),()=>{t.delete(l)}),[e]),Object(r.useRefEffect)(t=>{l.current=t,n.forEach((n,o)=>{e===n&&o(t)})},[e])}function i(e){const{refs:t}=Object(o.useContext)(c.a),n=Object(o.useRef)();return n.current=e,Object(o.useMemo)(()=>({get current(){let e=null;for(const[o,r]of t.entries())r===n.current&&o.current&&(e=o.current);return e}}),[])}function a(e){const{callbacks:t}=Object(o.useContext)(c.a),n=i(e),[r,l]=Object(o.useState)(null);return Object(o.useLayoutEffect)(()=>{if(e)return t.set(l,e),()=>{t.delete(l)}},[e]),n.current||r}},PPMp:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return x}));var o=n("GRId"),r=n("l3Sj"),c=n("kWXm"),l=n("DmX/"),i=n("suLj"),a=n("bTSr"),s=n("Tqx9");var u=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M14.3 6.7l-1.1 1.1 4 4H4v1.5h13.3l-4.1 4.4 1.1 1.1 5.8-6.3z"}));var d=Object(o.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(s.Path,{d:"M16.2 13.2l-4 4V4h-1.5v13.3l-4.5-4.1-1 1.1 6.2 5.8 5.8-5.8-1-1.1z"})),b=n("tI+e");function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.split(",").map(e=>`.editor-styles-wrapper ${e} ${t}`).join(",")}var m=n("v5LD"),f=n("fOYa"),h=n("0E5u");const g={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},O={left:"flex-start",right:"flex-end",center:"center"},v=["wrap","nowrap"];var j={name:"flex",label:Object(r.__)("Flex"),inspectorControls:function(e){let{layout:t={},onChange:n}=e;const{allowOrientation:r=!0}=t;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(b.Flex,null,Object(o.createElement)(b.FlexItem,null,Object(o.createElement)(k,{layout:t,onChange:n})),Object(o.createElement)(b.FlexItem,null,r&&Object(o.createElement)(y,{layout:t,onChange:n}))),Object(o.createElement)(_,{layout:t,onChange:n}))},toolBarControls:function(e){let{layout:t={},onChange:n,layoutBlockSupport:r}=e;return null!=r&&r.allowSwitching?null:Object(o.createElement)(f.b,{group:"block",__experimentalShareWithChildBlocks:!0},Object(o.createElement)(k,{layout:t,onChange:n,isToolbar:!0}))},save:function(e){var t,n;let{selector:r,layout:c,style:l}=e;const{orientation:i="horizontal"}=c,a=null!==Object(m.a)("spacing.blockGap"),s=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap, 0.5em )",u=g[c.justifyContent]||g.left,d=v.includes(c.flexWrap)?c.flexWrap:"wrap",b=`\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tjustify-content: ${u};\n\t\t`,f=`\n\t\tflex-direction: column;\n\t\talign-items: ${O[c.justifyContent]||O.left};\n\t\t`;return Object(o.createElement)("style",null,`\n\t\t\t\t${p(r)} {\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tgap: ${a?s:"0.5em"};\n\t\t\t\t\tflex-wrap: ${d};\n\t\t\t\t\t${"horizontal"===i?b:f}\n\t\t\t\t}\n\n\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t}\n\t\t\t`)},getOrientation(e){const{orientation:t="horizontal"}=e;return t},getAlignments:()=>[]};function k(e){let{layout:t,onChange:n,isToolbar:s=!1}=e;const{justifyContent:u="left",orientation:d="horizontal"}=t,p=e=>{n({...t,justifyContent:e})},m=["left","center","right"];if("horizontal"===d&&m.push("space-between"),s)return Object(o.createElement)(h.a,{allowedControls:m,value:u,onChange:p,popoverProps:{position:"bottom right",isAlternate:!0}});const f=[{value:"left",icon:c.a,label:Object(r.__)("Justify items left")},{value:"center",icon:l.a,label:Object(r.__)("Justify items center")},{value:"right",icon:i.a,label:Object(r.__)("Justify items right")}];return"horizontal"===d&&f.push({value:"space-between",icon:a.a,label:Object(r.__)("Space between items")}),Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-justification-controls"},Object(o.createElement)("legend",null,Object(r.__)("Justification")),Object(o.createElement)("div",null,f.map(e=>{let{value:t,icon:n,label:r}=e;return Object(o.createElement)(b.Button,{key:t,label:r,icon:n,isPressed:u===t,onClick:()=>p(t)})})))}function _(e){let{layout:t,onChange:n}=e;const{flexWrap:c="wrap"}=t;return Object(o.createElement)(b.ToggleControl,{label:Object(r.__)("Allow to wrap to multiple lines"),onChange:e=>{n({...t,flexWrap:e?"wrap":"nowrap"})},checked:"wrap"===c})}function y(e){let{layout:t,onChange:n}=e;const{orientation:c="horizontal"}=t;return Object(o.createElement)("fieldset",{className:"block-editor-hooks__flex-layout-orientation-controls"},Object(o.createElement)("legend",null,Object(r.__)("Orientation")),Object(o.createElement)(b.Button,{label:"horizontal",icon:u,isPressed:"horizontal"===c,onClick:()=>n({...t,orientation:"horizontal"})}),Object(o.createElement)(b.Button,{label:"vertical",icon:d,isPressed:"vertical"===c,onClick:()=>n({...t,orientation:"vertical"})}))}var E=n("iClF"),C=n("EpZT"),S=n("beZb");const w=[{name:"default",label:Object(r.__)("Flow"),inspectorControls:function(e){let{layout:t,onChange:n}=e;const{wideSize:c,contentSize:l}=t,i=Object(b.__experimentalUseCustomUnits)({availableUnits:Object(m.a)("spacing.units")||["%","px","em","rem","vw"]});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls"},Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Content"),labelPosition:"top",__unstableInputWidth:"80px",value:l||c||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,contentSize:e})},units:i}),Object(o.createElement)(E.a,{icon:C.a})),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-unit"},Object(o.createElement)(b.__experimentalUnitControl,{label:Object(r.__)("Wide"),labelPosition:"top",__unstableInputWidth:"80px",value:c||l||"",onChange:e=>{e=0>parseFloat(e)?"0":e,n({...t,wideSize:e})},units:i}),Object(o.createElement)(E.a,{icon:S.a}))),Object(o.createElement)("div",{className:"block-editor-hooks__layout-controls-reset"},Object(o.createElement)(b.Button,{variant:"secondary",isSmall:!0,disabled:!l&&!c,onClick:()=>n({contentSize:void 0,wideSize:void 0,inherit:!1})},Object(r.__)("Reset"))),Object(o.createElement)("p",{className:"block-editor-hooks__layout-controls-helptext"},Object(r.__)("Customize the width for all elements that are assigned to the center or wide columns.")))},toolBarControls:function(){return null},save:function(e){var t,n;let{selector:r,layout:c={},style:l}=e;const{contentSize:i,wideSize:a}=c,s=null!==Object(m.a)("spacing.blockGap"),u=null!==(t=null==l||null===(n=l.spacing)||void 0===n?void 0:n.blockGap)&&void 0!==t?t:"var( --wp--style--block-gap )";let d=i||a?`\n\t\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\t\tmax-width: ${null!=i?i:a};\n\t\t\t\t\t\tmargin-left: auto !important;\n\t\t\t\t\t\tmargin-right: auto !important;\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(r,'> [data-align="wide"]')} {\n\t\t\t\t\t\tmax-width: ${null!=a?a:i};\n\t\t\t\t\t}\n\n\t\t\t\t\t${p(r,'> [data-align="full"]')} {\n\t\t\t\t\t\tmax-width: none;\n\t\t\t\t\t}\n\t\t\t\t`:"";return d+=`\n\t\t\t${p(r,'> [data-align="left"]')} {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-right: 2em;\n\t\t\t}\n\n\t\t\t${p(r,'> [data-align="right"]')} {\n\t\t\t\tfloat: right;\n\t\t\t\tmargin-left: 2em;\n\t\t\t}\n\n\t\t`,s&&(d+=`\n\t\t\t\t${p(r,"> *")} {\n\t\t\t\t\tmargin-top: 0;\n\t\t\t\t\tmargin-bottom: 0;\n\t\t\t\t}\n\t\t\t\t${p(r,"> * + *")} {\n\t\t\t\t\tmargin-top: ${u};\n\t\t\t\t}\n\t\t\t`),Object(o.createElement)("style",null,d)},getOrientation:()=>"vertical",getAlignments(e){const t=function(e){const{contentSize:t,wideSize:n}=e,o={},c=/^(?!0)\d+(px|em|rem|vw|vh|%)?$/i;c.test(t)&&(o.none=Object(r.sprintf)(Object(r.__)("Max %s wide"),t));c.test(n)&&(o.wide=Object(r.sprintf)(Object(r.__)("Max %s wide"),n));return o}(e);if(void 0!==e.alignments)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(e=>({name:e,info:t[e]}));const{contentSize:n,wideSize:o}=e,c=[{name:"left"},{name:"center"},{name:"right"}];return n&&c.unshift({name:"full"}),o&&c.unshift({name:"wide",info:t.wide}),c.unshift({name:"none",info:t.none}),c}},j];function I(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return w.find(t=>t.name===e)}function x(){return w}},"PS/H":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return h}));var o=n("GRId"),r=n("TSYQ"),c=n.n(r),l=n("1ZqX"),i=n("tI+e"),a=n("K9lf"),s=n("l3Sj"),u=n("qrxh"),d=n("BhPs"),b=n("PKbb"),p=n("2z9l");const m=Object(o.createContext)();function f(e){let{__unstablePopoverSlot:t,__unstableContentRef:n}=e;const{selectBlock:r}=Object(l.useDispatch)(d.a),f=Object(o.useContext)(m),h=Object(o.useRef)(),{orientation:g,previousClientId:O,nextClientId:v,rootClientId:j,isInserterShown:k}=Object(l.useSelect)(e=>{var t;const{getBlockOrder:n,getBlockListSettings:o,getBlockInsertionPoint:r,isBlockBeingDragged:c,getPreviousBlockClientId:l,getNextBlockClientId:i}=e(d.a),a=r(),s=n(a.rootClientId);if(!s.length)return{};let u=s[a.index-1],b=s[a.index];for(;c(u);)u=l(u);for(;c(b);)b=i(b);return{previousClientId:u,nextClientId:b,orientation:(null===(t=o(a.rootClientId))||void 0===t?void 0:t.orientation)||"vertical",rootClientId:a.rootClientId,isInserterShown:null==a?void 0:a.__unstableWithInserter}},[]),_=Object(b.a)(O),y=Object(b.a)(v),E="vertical"===g,C=Object(o.useMemo)(()=>{if(!_&&!y)return{};const e=_?_.getBoundingClientRect():null,t=y?y.getBoundingClientRect():null;if(E)return{width:_?_.offsetWidth:y.offsetWidth,height:t&&e?t.top-e.bottom:0};let n=0;return e&&t&&(n=Object(s.isRTL)()?e.left-t.right:t.left-e.right),{width:n,height:_?_.offsetHeight:y.offsetHeight}},[_,y]),S=Object(o.useCallback)(()=>{if(!_&&!y)return{};const{ownerDocument:e}=_||y,t=_?_.getBoundingClientRect():null,n=y?y.getBoundingClientRect():null;return E?Object(s.isRTL)()?{top:t?t.bottom:n.top,left:t?t.right:n.right,right:t?t.left:n.left,bottom:n?n.top:t.bottom,ownerDocument:e}:{top:t?t.bottom:n.top,left:t?t.left:n.left,right:t?t.right:n.right,bottom:n?n.top:t.bottom,ownerDocument:e}:Object(s.isRTL)()?{top:t?t.top:n.top,left:t?t.left:n.right,right:n?n.right:t.left,bottom:t?t.bottom:n.bottom,ownerDocument:e}:{top:t?t.top:n.top,left:t?t.right:n.left,right:n?n.left:t.right,bottom:t?t.bottom:n.bottom,ownerDocument:e}},[_,y]),w=Object(p.a)(n),I=Object(a.useReducedMotion)(),x=c()("block-editor-block-list__insertion-point","is-"+g);const B=_&&y&&k,T={start:{...E?{height:0,left:"50%",right:"50%",y:0}:{width:0,top:"50%",bottom:"50%",x:0},opacity:0},rest:{...E?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:B?.4:0}},hover:{...E?{height:4,left:0,right:0,y:-2}:{width:4,top:0,bottom:0,x:-2},opacity:1,borderRadius:"2px",transition:{delay:.4}}},P={start:{scale:I?1:0},rest:{scale:1,transition:{delay:.2}}};return Object(o.createElement)(i.Popover,{ref:w,noArrow:!0,animate:!1,getAnchorRect:S,focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:t||null,key:v+"--"+j},Object(o.createElement)(i.__unstableMotion.div,{layout:!I,initial:I?"rest":"start",animate:"rest",whileHover:"hover",whileTap:"pressed",exit:"start",ref:h,tabIndex:-1,onClick:function(e){e.target===h.current&&v&&r(v,-1)},onFocus:function(e){e.target!==h.current&&(f.current=!0)},className:c()(x,{"is-with-inserter":B}),style:C},Object(o.createElement)(i.__unstableMotion.div,{variants:T,className:"block-editor-block-list__insertion-point-indicator"}),B&&Object(o.createElement)(i.__unstableMotion.div,{variants:P,className:c()("block-editor-block-list__insertion-point-inserter")},Object(o.createElement)(u.a,{position:"bottom center",clientId:v,rootClientId:j,__experimentalIsQuick:!0,onToggle:e=>{f.current=e},onSelectOrClose:()=>{f.current=!1}}))))}function h(e){let{children:t,__unstablePopoverSlot:n,__unstableContentRef:r}=e;const c=Object(l.useSelect)(e=>e(d.a).isBlockInsertionPointVisible(),[]);return Object(o.createElement)(m.Provider,{value:Object(o.useRef)(!1)},c&&Object(o.createElement)(f,{__unstablePopoverSlot:n,__unstableContentRef:r}),t)}},Q2Xw:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("TSYQ"),r=n.n(o),c=n("1ZqX"),l=n("HSyU"),i=n("BhPs");function a(e){return Object(c.useSelect)(t=>{const{isBlockBeingDragged:n,isBlockHighlighted:o,isBlockSelected:c,isBlockMultiSelected:a,getBlockName:s,getSettings:u,hasSelectedInnerBlock:d,isTyping:b,__experimentalGetActiveBlockIdByBlockNames:p}=t(i.a),{__experimentalSpotlightEntityBlocks:m,outlineMode:f}=u(),h=n(e),g=c(e),O=s(e),v=d(e,!0),j=p(m);return r()({"is-selected":g,"is-highlighted":o(e),"is-multi-selected":a(e),"is-reusable":Object(l.isReusableBlock)(Object(l.getBlockType)(O)),"is-dragging":h,"has-child-selected":v,"has-active-entity":j,"is-active-entity":j===e,"remove-outline":g&&f&&b()})},[e])}},Q4Sy:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},"QP/w":function(e,t,n){"use strict";var o=n("wx14"),r=n("GRId"),c=n("tI+e"),l=n("v5LD");t.a=function(e){const t=Object(l.a)("typography.fontSizes"),n=!Object(l.a)("typography.customFontSize");return Object(r.createElement)(c.FontSizePicker,Object(o.a)({},e,{fontSizes:t,disableCustomFontSizes:n}))}},REKd:function(e,t,n){"use strict";n.d(t,"b",(function(){return O}));var o=n("GRId"),r=n("YLtl"),c=n("TSYQ"),l=n.n(c),i=n("K9lf"),a=n("1ZqX"),s=n("/QNa"),u=n("tI+e"),d=n("VyCT");function b(e){let{onClick:t}=e;return Object(o.createElement)("div",{tabIndex:0,role:"button",onClick:t,onKeyPress:t},Object(o.createElement)(u.Disabled,null,Object(o.createElement)(d.c,null)))}var p=n("hHnB"),m=n("KyyN"),f=n("BhPs");let h;var g=function(e){let{viewportWidth:t,__experimentalPadding:n}=e;const[r,{width:c}]=Object(i.useResizeObserver)(),[l,{height:s}]=Object(i.useResizeObserver)(),b=Object(a.useSelect)(e=>e(f.a).getSettings().styles,[]),g=Object(o.useMemo)(()=>b?[...b,{css:"body{height:auto;overflow:hidden;}",__unstableType:"presets"}]:b,[b]);h=h||Object(i.pure)(d.c);const O=c/t;return Object(o.createElement)("div",{className:"block-editor-block-preview__container"},r,Object(o.createElement)(u.Disabled,{className:"block-editor-block-preview__content",style:{transform:`scale(${O})`,height:s*O,maxHeight:s>2e3?2e3*O:void 0}},Object(o.createElement)(p.a,{head:Object(o.createElement)(m.a,{styles:g}),contentRef:Object(i.useRefEffect)(e=>{const{ownerDocument:{documentElement:t}}=e;t.classList.add("block-editor-block-preview__content-iframe"),t.style.position="absolute",t.style.width="100%",e.style.padding=n+"px"},[]),"aria-hidden":!0,tabIndex:-1,style:{position:"absolute",width:t,height:s,pointerEvents:"none",maxHeight:2e3}},l,Object(o.createElement)(h,{renderAppender:!1}))))};t.a=Object(o.memo)((function(e){let{blocks:t,__experimentalPadding:n=0,viewportWidth:c=1200,__experimentalLive:l=!1,__experimentalOnClick:i}=e;const u=Object(a.useSelect)(e=>e(f.a).getSettings(),[]),d=Object(o.useMemo)(()=>{const e={...u};return e.__experimentalBlockPatterns=[],e},[u]),p=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]);return t&&0!==t.length?Object(o.createElement)(s.a,{value:p,settings:d},l?Object(o.createElement)(b,{onClick:i}):Object(o.createElement)(g,{viewportWidth:c,__experimentalPadding:n})):null}));function O(e){let{blocks:t,props:n={},__experimentalLayout:c}=e;const u=Object(a.useSelect)(e=>e(f.a).getSettings(),[]),b=Object(i.__experimentalUseDisabled)(),p=Object(i.useMergeRefs)([n.ref,b]),m=Object(o.useMemo)(()=>({...u,__experimentalBlockPatterns:[]}),[u]),h=Object(o.useMemo)(()=>Object(r.castArray)(t),[t]),g=Object(o.createElement)(s.a,{value:h,settings:m},Object(o.createElement)(d.a,{renderAppender:!1,__experimentalLayout:c}));return{...n,ref:p,className:l()(n.className,"block-editor-block-preview__live-content","components-disabled"),children:null!=t&&t.length?g:null}}},RMJe:function(e,t,n){"use strict";var o=n("GRId"),r=n("Tqx9");const c=Object(o.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));t.a=c},Rk8H:function(e,t,n){var o=n("jTPX");e.exports=function(e){var t=o(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=o(e,"line-height"),n=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var c=e.nodeName,l=document.createElement(c);l.innerHTML=" ","TEXTAREA"===c.toUpperCase()&&l.setAttribute("rows","1");var i=o(e,"font-size");l.style.fontSize=i,l.style.padding="0px",l.style.border="0px";var a=document.body;a.appendChild(l),n=l.offsetHeight,a.removeChild(l)}return n}},RxS6:function(e,t){e.exports=window.wp.keycodes},SVSp:function(e,t){e.exports=window.wp.shortcode},TSYQ:function(e,t,n){var o; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see diff --git a/wp-includes/version.php b/wp-includes/version.php index e5f22dff1a..4d310051bf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52631'; +$wp_version = '6.0-alpha-52633'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.